summaryrefslogtreecommitdiffstats
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
commitb423a08482a5dd0c83055bcecbdf81f85ab27f74 (patch)
tree27147019d670dcb0cc22bb3694ddd14fd7745974
parentc3f72fb7a549789b0736e6dff3b022d38d990a34 (diff)
downloadruby-b423a08482a5dd0c83055bcecbdf81f85ab27f74.tar.gz
ruby-b423a08482a5dd0c83055bcecbdf81f85ab27f74.tar.xz
ruby-b423a08482a5dd0c83055bcecbdf81f85ab27f74.zip
fix another IPv6 issue.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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')