[erlang-bugs] httpc keep-alive bug

chris jugg@REDACTED
Sat Feb 8 03:48:43 CET 2014


jan_kowalski6669 <jan_kowalski6669 <at> onet.pl> writes:
> I have function:
> which sends two request to same Url with different command, one after another.
>  
> Screenshot from wireshark: http://tinypic.com/view.php?pic=9s8m03&s=8
>  
> As you can see, in last call of some_function, first request is ok, but
second is send to nowhere, and i got no response because first result was
without keep-alive header, so second request should open new connection, but
it didn't

Setting socket_opts keepalive does nothing explicitly for HTTP and will not
affect whether the HTTP 'Connection: keep-alive' header is set or not.

Chris




More information about the erlang-bugs mailing list