aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-03-23 23:42:37 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-04-01 00:07:24 +0200
commitc44d45db86b880df5facd6b560491e03530f876e (patch)
tree97fd94273ca7a3666b720286d2470e3accd5d263 /tests/libtest/Makefile.inc
parent7a2647e16237a2771f564d432d96a6f198a0eeb5 (diff)
HTTP: reset expected DL/UL sizes on redirects
With FOLLOWLOCATION enabled. When a 3xx page is downloaded and the download size was known (like with a Content-Length header), but the subsequent URL (transfered after the 3xx page) was chunked encoded, then the previous "known download size" would linger and cause the progress meter to get incorrect information, ie the former value would remain being sent in. This could easily result in downloads that were WAY larger than "expected" and would cause >100% outputs with the curl command line tool. Test case 599 was created and it was used to repeat the bug and then verify the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3510057 Reported by: Michael Wallner
Diffstat (limited to 'tests/libtest/Makefile.inc')
-rw-r--r--tests/libtest/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
index e24d74226..4b79b93fe 100644
--- a/tests/libtest/Makefile.inc
+++ b/tests/libtest/Makefile.inc
@@ -19,7 +19,7 @@ noinst_PROGRAMS = chkhostname \
lib543 lib544 lib545 lib547 lib548 lib549 lib552 lib553 lib554 lib555 \
lib556 lib539 lib557 lib560 lib562 lib564 lib565 lib566 lib567 lib568 \
lib569 lib570 lib571 lib572 lib573 lib582 lib583 lib585 lib586 lib587 \
- lib590 lib591 lib597 lib598
+ lib590 lib591 lib597 lib598 lib599
chkhostname_SOURCES = chkhostname.c $(top_srcdir)/lib/curl_gethostname.c
chkhostname_LDADD = @CURL_NETWORK_LIBS@
@@ -183,3 +183,5 @@ lib591_SOURCES = lib591.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
lib597_SOURCES = lib597.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
lib598_SOURCES = lib598.c $(SUPPORTFILES)
+
+lib599_SOURCES = lib599.c $(SUPPORTFILES)