cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Race condition if server responds during POST

From: Justin Karneges <justin_at_fanout.io>
Date: Fri, 21 Feb 2014 11:21:33 -0800

On 02/20/2014 02:49 PM, Daniel Stenberg wrote:
> On Thu, 20 Feb 2014, Justin Karneges wrote:
>> I am unable to reproduce the bug when connecting curl to this server!
>> Perhaps the mysterious 10 second delay is within the Apache stack.
>> Yikes.
>
> You should be able to tell fairly easy by wiresharking the connection
> and looking at exactly what the server does with the TCP connection
> and when it sends its response. I too get the feeling this could be a
> server-side thing.
>

Okay, confirmed with tcpdump that the final chunk (0\r\n\r\n) is sent
ten seconds later by the server. The problem is not curl then. Thanks
and sorry for the noise.

Justin

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-21