Ates Goral identified a problem in http.c:add_buffer_send() when a debug

callback was used, as it could wrongly pass on a bad size for the outgoing
HTTP header. The bad size would be a very large value as it was a wrapped
size_t content. This happened when the whole HTTP request failed to get sent
in one single send.  http://curl.haxx.se/mail/lib-2007-11/0165.html
This commit is contained in:
Daniel Stenberg
2007-11-15 23:42:21 +00:00
parent 1125d45397
commit 22e52ddd6e
3 changed files with 33 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ Curl and libcurl 7.17.2
Command line options: 121
curl_easy_setopt() options: 147
Public functions in libcurl: 55
Public web site mirrors: 43
Public web site mirrors: 42
Known libcurl bindings: 36
Contributors: 597
@@ -21,6 +21,8 @@ This release includes the following bugfixes:
o SFTP and SCP use persistent connections
o segfault on bad URL
o variable wrapping when using absolutely huge send buffer sizes
o variable wrapping when using debug callback and the HTTP request wasn't sent
in one go
This release includes the following known bugs:
@@ -39,6 +41,6 @@ This release would not have looked like this without help, code, reports and
advice from friends like these:
Dan Fandrich, Gisle Vanem, Toby Peterson, Yang Tse, Daniel Black,
Robin Johnson
Robin Johnson, Michal Marek, Ates Goral
Thanks! (and sorry if I forgot to mention someone)