| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Broken CURLINFO_CONTENT_LENGTH_UPLOAD option?
From: Glen Nakamura <glen_at_imodulo.com>
Date: Mon, 22 Mar 2004 12:02:39 -1000
Aloha,
curl_easy_getinfo returns 0.0 for CURLINFO_CONTENT_LENGTH_DOWNLOAD
On line 491 of lib/transfer.c:
if(data->set.no_body)
... snipped comments ...
if(conn->bits.chunk)
if(-1 != conn->size) {
Notice Curl_pgrsSetDownloadSize is not called if data->set.no_body is true...
Version 7.10.8 calls Curl_pgrsSetDownloadSize when it parses the
I think the simple fix is just to remove the "else" and have the clause
- glen
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info