https://redmine.ruby-lang.org/
https://redmine.ruby-lang.org/favicon.ico?1711330511
2012-07-17T17:41:23Z
Ruby Issue Tracking System
Ruby master - Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
https://redmine.ruby-lang.org/issues/6746?journal_id=28171
2012-07-17T17:41:23Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r36416.<br>
Shyouhei, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>Support IPv6 address. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: test_bind_to_local_host(TestNetHTTPLocalBind) fails. (Closed)" href="https://redmine.ruby-lang.org/issues/6746">#6746</a>]</p>
Ruby master - Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
https://redmine.ruby-lang.org/issues/6746?journal_id=28172
2012-07-17T17:46:13Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Assigned</i></li><li><strong>Assignee</strong> changed from <i>naruse (Yui NARUSE)</i> to <i>shyouhei (Shyouhei Urabe)</i></li></ul><p>このテストは [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Net::HTTP: Bind to a specific local IP/port (Closed)" href="https://redmine.ruby-lang.org/issues/6617">#6617</a>] に対するもので、HTTP 接続時にローカル側のホストとポートを指定するためのものです。<br>
r36416 で適切な IPv6 アドレスが CONFIG に設定されていればテストが通るようにしました。<br>
が、手元では ::1 ではダメなようなので、適切な IPv6 アドレスをポータブルにどうやって指定するかは卜部さんの方でお願いします。</p>
Ruby master - Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
https://redmine.ruby-lang.org/issues/6746?journal_id=28194
2012-07-18T16:33:38Z
shyouhei (Shyouhei Urabe)
shyouhei@ruby-lang.org
<ul></ul><p>それは困りましたね。手元の環境には::1しかありません。</p>
<p>% /usr/local/bin/ruby -rsocket -e'p Socket.ip_address_list'<br>
[#<Addrinfo: 127.0.0.1>, #<Addrinfo: ::1>]</p>
<p>::1ではダメなのは何か理由がありますか?</p>
Ruby master - Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
https://redmine.ruby-lang.org/issues/6746?journal_id=28198
2012-07-19T01:48:55Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>This issue was solved with changeset r36453.<br>
Shyouhei, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>use localhost for both local and remote. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: test_bind_to_local_host(TestNetHTTPLocalBind) fails. (Closed)" href="https://redmine.ruby-lang.org/issues/6746">#6746</a>]</p>
Ruby master - Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
https://redmine.ruby-lang.org/issues/6746?journal_id=28199
2012-07-19T01:50:03Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul></ul><p>serverを::1にしてクライアントを::1以外にすると経路がないから通信できないんですが、<br>
両方::1にすればいいだけの話でした。<br>
ちょっとひっかかりはするんですが。</p>