Project

General

Profile

Actions

Bug #4037

closed

Net/http keep alive bug

Added by manveru (Michael Fellinger) over 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
Backport:
[ruby-core:33108]

Description

=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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0