Project

General

Profile

Bug #3955 ยป diff.http.rb

e4t (Egbert Eich), 10/17/2010 10:11 PM

 
--- http.rb.bak 2010-07-05 16:50:28.000000000 +0200
+++ http.rb 2010-10-17 15:01:23.000000000 +0200
@@ -1057,7 +1057,7 @@
res
rescue => exception
D "Conn close because of error #{exception}"
- @socket.close unless @socket.closed?
+ @socket.close unless (@socket.nil? || @socket.closed?)
raise exception
end
    (1-1/1)