Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch REE install with better net/http lib.
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: lib/net/http.rb | ||
=================================================================== | ||
--- lib/net/http.rb (revision 26550) | ||
+++ lib/net/http.rb (working copy) | ||
@@ -1057,7 +1057,7 @@ | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters