# Test/net/http/test\_https\_proxy.rb

**URL:** <https://www.ruby-forum.com/t/test-net-http-test-https-proxy-rb/120026>\
**Category:** Development\
**Created:** [November 13, 2007, 3:45am UTC](https://www.ruby-forum.com/t/test-net-http-test-https-proxy-rb/120026 "2007-11-13T03:45:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SASADA\_Koichi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f1d935/32.png) [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Post date:** [November 13, 2007, 3:45am UTC](https://www.ruby-forum.com/t/test-net-http-test-https-proxy-rb/120026/1 "2007-11-13T03:45:02Z")

</div>

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)
