1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

close socket.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-15 11:04:30 +00:00
parent f2bd108d8d
commit 49f00d5d2d

View file

@ -25,9 +25,15 @@ class HTTPSProxyTest < Test::Unit::TestCase
"\r\n",
proxy_request,
"[ruby-dev:25673]")
sock.close
}
ensure
t.join if t
if t
begin
t.join
rescue EOFError
end
end
end
end if defined?(OpenSSL)