|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3370895 ] curl will reuse old Content-Length if none received
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 20 Jul 2011 01:14:34 +0200
Bugs item #3370895, was opened at 2011-07-19 06:45
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
When an easy handle is used to download an URI which has no Content-Length header (or equivalent) after downloading an URI which does, the value from the previous transfer is reused and returned by CURLINFO_CONTENT_LENGTH_DOWNLOAD. This is because the progress flags (used to determine whether such a header was received) are not reset between transfers. The quick fix I used is attached.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
If you can provide me with an email address as well, I'll have you
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info