curl/tests/libtest
Daniel Stenberg c44d45db86 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
2012-04-01 00:07:24 +02:00
..
.gitignore
chkhostname.c
CMakeLists.txt
first.c removed trailing whitespace 2011-12-30 03:36:18 +01:00
lib500.c tests: enable time tracing on tests 500, 573 and 585 2012-01-17 21:33:17 +01:00
lib501.c
lib502.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib503.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib504.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib505.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib506.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib507.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib508.c
lib510.c
lib511.c
lib512.c
lib513.c
lib514.c
lib515.c
lib516.c
lib517.c
lib518.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib519.c
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib526.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib530.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib533.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib536.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib537.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib539.c
lib540.c multi tests: OOM handling fixes - commit 629d2e34 follow-up 2011-10-26 18:57:14 +02:00
lib541.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib542.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib543.c
lib544.c
lib547.c
lib549.c
lib552.c fix several compiler warnings 2012-03-22 04:54:04 +01:00
lib553.c
lib554.c Silenced a compiler warning about an unused variable 2011-10-19 21:18:52 -07:00
lib555.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib556.c
lib557.c
lib560.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib562.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib564.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib566.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib567.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib568.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib569.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib570.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib571.c fix several compiler warnings 2012-03-22 04:54:04 +01:00
lib572.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib573.c tests: enable time tracing on tests 500, 573 and 585 2012-01-17 21:33:17 +01:00
lib574.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib575.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib576.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib578.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib579.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib582.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib583.c multi tests: OOM handling fixes 2011-10-21 16:52:14 +02:00
lib586.c SSL session sharing support added 2011-09-28 23:06:34 +02:00
lib590.c test 590: verify the bug fix in 4851dafcf1 2011-11-06 17:28:28 +01:00
lib591.c FTP: perform active connections non-blocking 2011-12-20 20:30:02 +01:00
lib597.c multi interface: fix block when CONNECT_ONLY option is used 2011-12-07 15:37:05 +01:00
lib598.c test #598: OOM handling fixes 2012-03-22 04:58:38 +01:00
lib599.c HTTP: reset expected DL/UL sizes on redirects 2012-04-01 00:07:24 +02:00
Makefile.am
Makefile.inc HTTP: reset expected DL/UL sizes on redirects 2012-04-01 00:07:24 +02:00
sethostname.c
sethostname.h
test75.pl
test307.pl
test610.pl
test613.pl
test1013.pl
test1022.pl
test.h multi interface: fix block when CONNECT_ONLY option is used 2011-12-07 15:37:05 +01:00
testtrace.c fix several compiler warnings 2012-03-22 04:54:04 +01:00
testtrace.h tests: testtrace.[ch] provides debug callback for libtest usage 2012-01-17 21:32:05 +01:00
testutil.c tvdiff_secs(): sub-zero time difference adjustment 2011-11-25 13:51:55 +01:00
testutil.h