Test/net/http/test_https_proxy.rb

e$B!!$5$5$@$G$9!%e(B

e$B!!?\F#$5$s$K!$$3$&$9$k$Y$-!$$H65$($FLc$$$^$7$?!%C/$K8@$($P$$$$$+$o$+e(B
e$B$i$J$+$C$?$N$G!$e(B-dev e$B$K?6$j$^$9!%e(B

Index: test/net/http/test_https_proxy.rb

— test/net/http/test_https_proxy.rb (e$B%j%S%8%g%se(B 13902)
+++ test/net/http/test_https_proxy.rb (e$B:n6H%3%T!<e(B)
@@ -6,6 +6,7 @@

class HTTPSProxyTest < Test::Unit::TestCase
def test_https_proxy_authentication

  • t = nil
    TCPServer.open(“127.0.0.1”, 0) {|serv|
    _, port, _, _ = serv.addr
    t = Thread.new {
    @@ -25,6 +26,8 @@
    proxy_request,
    “[ruby-dev:25673]”)
    }
  • ensure
  • t.join if t
    end
    end if defined?(OpenSSL)