Joe Malicki filed bug report #1871269
(http://curl.haxx.se/bug/view.cgi?id=1871269) and we could fix his hang- problem that occurred when doing a large HTTP POST request with the response-body read from a callback.
This commit is contained in:
parent
1d620a3df4
commit
53108806af
6
CHANGES
6
CHANGES
@ -6,6 +6,12 @@
|
||||
|
||||
Changelog
|
||||
|
||||
Daniel S (14 Jan 2008)
|
||||
- Joe Malicki filed bug report #1871269
|
||||
(http://curl.haxx.se/bug/view.cgi?id=1871269) and we could fix his hang-
|
||||
problem that occurred when doing a large HTTP POST request with the
|
||||
response-body read from a callback.
|
||||
|
||||
Daniel S (12 Jan 2008)
|
||||
- I re-arranged the curl --help output. All the options are now sorted on
|
||||
their long option names and all descriptions are one-liners.
|
||||
|
@ -52,6 +52,7 @@ This release includes the following bugfixes:
|
||||
o allows more spaces in WWW/Proxy-Authenticate: headers
|
||||
o curl-config --libs skips /usr/lib64
|
||||
o range support for file:// transfers
|
||||
o libcurl hang with huge POST request and request-body read from callback
|
||||
|
||||
This release includes the following known bugs:
|
||||
|
||||
@ -74,6 +75,7 @@ advice from friends like these:
|
||||
Emil Romanus, Alessandro Vesely, Ray Pekowski, Spacen Jasset, Andrew Moise,
|
||||
Gilles Blanc, David Wright, Vikram Saxena, Mateusz Loskot, Gary Maxwell,
|
||||
Dmitry Kurochkin, Mohun Biswas, Richard Atterer, Maxim Perenesenko,
|
||||
Daniel Egger, Jeff Johnson, Nikitinskit Dmitriy, Georg Lippitsch, Eric Landes
|
||||
Daniel Egger, Jeff Johnson, Nikitinskit Dmitriy, Georg Lippitsch, Eric Landes,
|
||||
Joe Malicki
|
||||
|
||||
Thanks! (and sorry if I forgot to mention someone)
|
||||
|
@ -2705,8 +2705,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
||||
/* set the pointer to mark that we will send the post body using the
|
||||
read callback, but only if we're not in authenticate
|
||||
negotiation */
|
||||
if(!conn->bits.authneg)
|
||||
if(!conn->bits.authneg) {
|
||||
http->postdata = (char *)&http->postdata;
|
||||
http->postsize = postsize;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* issue the request */
|
||||
|
Loading…
Reference in New Issue
Block a user