summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-03 20:40:39 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-03 20:40:39 +0000
commit7a6aeb35a0cdc7618a3a823ff60c8b0355731baa (patch)
tree8d42e43a53a19d6dd74c4de45c24b5d1c39d1c15 /test
parenteaf6326fbd96583749794ae4a12af600f53c9b3e (diff)
fix another IPv6 issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/net/http/test_https_proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb
index 41e6ca0..5b23721 100644
--- a/test/net/http/test_https_proxy.rb
+++ b/test/net/http/test_https_proxy.rb
@@ -3,7 +3,7 @@ require 'test/unit'
class HTTPSProxyTest < Test::Unit::TestCase
def test_https_proxy_authentication
- TCPServer.open(0) {|serv|
+ TCPServer.open("127.0.0.1", 0) {|serv|
_, port, _, _ = serv.addr
t = Thread.new {
proxy = Net::HTTP.Proxy("127.0.0.1", port, 'user', 'password')