ibrowse bug

Chandru chandrashekhar.mullaparthi@REDACTED
Thu Jun 1 00:08:36 CEST 2006


Sean Hinde reported a bug in ibrowse. The response for the first
request was never returned when asynchronous requests were pipelined.
I have patched the code in jungerl. A diff is included below. The fix
has been tested by sending a number of requests to google.com in a
tight loop :-)


Chandrus-Mac:$ cvs diff -r1.5 ibrowse_http_client.erl
Index: ibrowse_http_client.erl
RCS file: /cvsroot/jungerl/jungerl/lib/ibrowse/src/ibrowse_http_client.erl,v
retrieving revision 1.5
retrieving revision 1.6
diff -r1.5 -r1.6
< -vsn('$Id: ibrowse_http_client.erl,v 1.5 2006/03/17 10:05:18
chandrusf Exp $ ').
> -vsn('$Id: ibrowse_http_client.erl,v 1.6 2006/05/31 22:02:06 chandrusf Exp $ ').
<                             State_1#state{cur_req = NewReq}
>                             State_1

More information about the erlang-questions mailing list