Bug #1428

Net/http issue

Added by manu (Emmanuel Pinault) about 3 years ago. Updated about 1 year ago.

[ruby-core:23346]
Status:Feedback Start date:05/02/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:core
Target version:-
ruby -v:1.8.7-p160 and ruby 1.8.7-p72

Description

I have been using Net/http on the same distro (ubuntu 9.04 and 8.04 with both version) with the most recent version of 1.8.6 and 1.8.7, but it seems that a regression has been introduced somehow.

I am using Net/Http to perfom POST against the same web server and it use to work fine with 1.8.6 any version. I have seen few post about improving the speed of it. I am wondering if those change could have affected the way POST are being sent.

In fact, the same interface I am doing POST against, slight change on some of the value passed to that Interface behave correctly on 1.8.6 but do not with 1.8.7

i.e:  http://myurl/PARENTAL=Off&USER=BILLY vs i.e:  http://myurl/PARENTAL=OFF&USER=BILLY

and on 1.8.6 I get the expected response on with both URL, but on 1.8.7, I get a different response while I should be getting the same response , like in 1.8.6..

I am wondering if the way socket have been optimized is causing some issues?

I have done a wireshark on it and could not see anything obvious on the HTTP level.. so it must be at a lower level I believe.

History

Updated by naruse (Yui NARUSE) over 2 years ago

  • Status changed from Open to Feedback
show more detailed example so that we can reproduce the problem.

Also available in: Atom PDF