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:
parent
f2bd108d8d
commit
49f00d5d2d
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue