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
1 changed files with 7 additions and 1 deletions

View File

@ -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)