close socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f2bd108d8d
commit
49f00d5d2d
|
@ -25,9 +25,15 @@ class HTTPSProxyTest < Test::Unit::TestCase
|
||||||
"\r\n",
|
"\r\n",
|
||||||
proxy_request,
|
proxy_request,
|
||||||
"[ruby-dev:25673]")
|
"[ruby-dev:25673]")
|
||||||
|
sock.close
|
||||||
}
|
}
|
||||||
ensure
|
ensure
|
||||||
t.join if t
|
if t
|
||||||
|
begin
|
||||||
|
t.join
|
||||||
|
rescue EOFError
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end if defined?(OpenSSL)
|
end if defined?(OpenSSL)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue