From: Koichi Sasada Date: 2011-06-11T15:26:48+09:00 Subject: [ruby-core:36985] [Ruby 1.9 - Bug #4037] Net/http keep alive bug Issue #4037 has been updated by Koichi Sasada. Can we close it? ---------------------------------------- Bug #4037: Net/http keep alive bug http://redmine.ruby-lang.org/issues/4037 Author: Michael Fellinger Status: Assigned Priority: Normal Assignee: Aaron Patterson Category: lib Target version: 1.9.x ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] =begin I've found a bug where if the target server sends an eof to the socket, net/http will raise an error. I've attached a sample script to prove the bug and a patch to fix it. I wrote the patch against 1.8, but I think it should apply to 1.9. -Aaron (This bug is from https://rubyforge.org/tracker/index.php?func=detail&aid=17778&group_id=426&atid=1700 - I simply copied it here to get attention and proper tracking) Some more information to reproduce the issue: http://pastie.org/1281626 =end -- http://redmine.ruby-lang.org