|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2080222 ] race condition while POSTing to HTTP/1.0 servers
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 28 Aug 2008 11:00:50 +0000
Bugs item #2080222, was opened at 2008-08-28 10:45
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
The version used is:
It occurs rarely and only with HTTP/1.0 servers.
It has been mentioned that a change in socket behaviour in the kernel may be provoking this bug.
The link above provides a wireshark capture of the transaction.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
Here's my first shot. This is a diff against current CVS but I think it
--- lib/transfer.c 26 Aug 2008 21:28:57 -0000 1.404
} while(data_pending(conn));
+ if(((k->keepon & (KEEP_READ|KEEP_WRITE)) == KEEP_WRITE) &&
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
I've now (locally) modified the curl test suite so that I was possible to
----------------------------------------------------------------------
Comment By: vila-sf (vila-sf)
Message:
I can confirm that if curl wasn't trying to send the body when a 403
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
This looks related to the previous mentions of libcurl not properly
http://curl.haxx.se/mail/archive-2008-08/0138.html
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info