aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib524.c
diff options
context:
space:
mode:
authorBen Winslow <rain@bluecherry.net>2011-07-22 22:50:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-07-22 22:50:58 +0200
commit27b8814017a19009b22e4b51aea1ae711ec20459 (patch)
tree60e770b469d1d67a7167af27cbf094ccea93787d /tests/libtest/lib524.c
parentdcc8481a13adc64661cd942d9c4009743ffdd620 (diff)
progress: reset flags at transfer start
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. Bug: http://curl.haxx.se/bug/view.cgi?id=3370895
Diffstat (limited to 'tests/libtest/lib524.c')
0 files changed, 0 insertions, 0 deletions