summaryrefslogtreecommitdiffstats
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
commit42f1880a64efc02b76b8a97fc5d1007982a0882e (patch)
tree8d42e43a53a19d6dd74c4de45c24b5d1c39d1c15 /test
parent6e755dd85662662876020430374d3ddfad7fa829 (diff)
downloadruby-42f1880a64efc02b76b8a97fc5d1007982a0882e.tar.gz
ruby-42f1880a64efc02b76b8a97fc5d1007982a0882e.tar.xz
ruby-42f1880a64efc02b76b8a97fc5d1007982a0882e.zip
fix another IPv6 issue.
git-svn-id: http://svn.ruby-lang.org/repos/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 41e6ca0e5..5b237216f 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')