- After a bug reported by James Cheng I've made curl_easy_getinfo() for

CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD return
  -1 if the sizes aren't know. Previously these returned 0, make it impossible
  to detect the difference between actually zero and unknown.
This commit is contained in:
Daniel Stenberg
2009-02-23 18:45:00 +00:00
parent 735955282b
commit 6c9f37d263
5 changed files with 18 additions and 8 deletions

View File

@@ -41,6 +41,8 @@ This release includes the following bugfixes:
easily on transfer failures
o compilation halting when using VS2008 to build a Windows 2000 target
o ease creation of libcurl Mac OS X Framework
o CURLINFO_CONTENT_LENGTH_DOWNLOAD and CURLINFO_CONTENT_LENGTH_UPLOAD are -1
if unknown
This release includes the following known bugs:
@@ -53,6 +55,6 @@ advice from friends like these:
Peter Sylvester, Chad Monroe, Markus Moeller, Yang Tse, Scott Cantor,
Patrick Scott, Hidemoto Nakada, Jocelyn Jaubert, Andre Guibert de Bruet,
Kamil Dudka, Patrik Thunstrom, Linus Nielsen Feltzing, Mark Incley,
Daniel Johnson
Daniel Johnson, James Cheng
Thanks! (and sorry if I forgot to mention someone)