summaryrefslogtreecommitdiff
path: root/test/net
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
commit8a85b8bef1229c3774096c6b804b0210743fb720 (patch)
tree27147019d670dcb0cc22bb3694ddd14fd7745974 /test/net
parenta1782f4e6ab412b10b59dc0011252cc3e02b4de5 (diff)
fix another IPv6 issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-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 41e6ca0e59..5b237216f4 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')