|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1871269 ] Curl hangs when sending large request-headers
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 14 Jan 2008 12:53:19 -0800
Bugs item #1871269, was opened at 2008-01-14 17:44
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
This patch is against 7.15.5, and works with patch "fuzz" against 7.13.2 as well (7.17.1 requires a slightly different patch, still haven't tested fix for 7.17.1):
Index: lib/http.c
- if(http->backup.postsize) {
http->sending++; /* move one step up */
+ http->backup.fread=NULL;
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
Sorry, I must be blind. I'll take it for a spin right away! Comments will
----------------------------------------------------------------------
Comment By: Joe Malicki (jmalicki)
Message:
If you notice, I attached a testcase that fails... does it not fail for
In this testcase, it is clearly posting data. The reason why
I provided a testcase (curl-large-header-bug.c) so it could be reproduced
Are you proposing that the attached patch is rather the correct one? (it
File Added: curl-large-headers2.diff
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Can you please be more specific on as exact details as possible on what
I don't understand the patch. If http->backup.postsize is zero, then what
Also, while the 'fread' is now 'fread_func' in recent libcurls, how come
----------------------------------------------------------------------
Comment By: Joe Malicki (jmalicki)
Message:
Above patch for 7.15.5 attached as a file.
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info