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:
6
CHANGES
6
CHANGES
@@ -6,6 +6,12 @@
|
|||||||
|
|
||||||
Changelog
|
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)
|
Daniel S (12 Jan 2008)
|
||||||
- I re-arranged the curl --help output. All the options are now sorted on
|
- I re-arranged the curl --help output. All the options are now sorted on
|
||||||
their long option names and all descriptions are one-liners.
|
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 allows more spaces in WWW/Proxy-Authenticate: headers
|
||||||
o curl-config --libs skips /usr/lib64
|
o curl-config --libs skips /usr/lib64
|
||||||
o range support for file:// transfers
|
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:
|
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,
|
Emil Romanus, Alessandro Vesely, Ray Pekowski, Spacen Jasset, Andrew Moise,
|
||||||
Gilles Blanc, David Wright, Vikram Saxena, Mateusz Loskot, Gary Maxwell,
|
Gilles Blanc, David Wright, Vikram Saxena, Mateusz Loskot, Gary Maxwell,
|
||||||
Dmitry Kurochkin, Mohun Biswas, Richard Atterer, Maxim Perenesenko,
|
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)
|
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
|
/* set the pointer to mark that we will send the post body using the
|
||||||
read callback, but only if we're not in authenticate
|
read callback, but only if we're not in authenticate
|
||||||
negotiation */
|
negotiation */
|
||||||
if(!conn->bits.authneg)
|
if(!conn->bits.authneg) {
|
||||||
http->postdata = (char *)&http->postdata;
|
http->postdata = (char *)&http->postdata;
|
||||||
|
http->postsize = postsize;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* issue the request */
|
/* issue the request */
|
||||||
|
|||||||
Reference in New Issue
Block a user