зеркало из https://github.com/github/ruby.git
fix another IPv6 issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a1782f4e6a
Коммит
8a85b8bef1
|
@ -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')
|
||||
|
|
Загрузка…
Ссылка в новой задаче