Project

General

Profile

Backport #2708 ยป net_http_socket_close.patch

jingoro (John Nishinaga), 02/03/2010 06:26 PM

View differences:

lib/net/http.rb (working copy)
res
rescue => exception
D "Conn close because of error #{exception}"
@socket.close unless @socket.closed?
@socket.close if @socket and not @socket.closed?
raise exception
end
    (1-1/1)