1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 03:25:04 -05:00
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 test: remove test 580 2010-11-05 11:26:26 +01:00
chkhostname.c sources: update source headers 2011-03-10 12:04:33 +01:00
CMakeLists.txt Converted tests 558 & 559 to use the unit test framework as 1305 2011-03-04 14:32:58 -08:00
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 sources: update source headers 2011-03-10 12:04:33 +01:00
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 sources: update source headers 2011-03-10 12:04:33 +01:00
lib510.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib511.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib512.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib513.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib514.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib515.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib516.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib517.c Added a leap second test to test517 2011-06-23 21:20:29 -07:00
lib518.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib519.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib520.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib521.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib523.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib524.c sources: update source headers 2011-03-10 12:04:33 +01:00
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 sources: update source headers 2011-03-10 12:04:33 +01:00
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 sources: update source headers 2011-03-10 12:04:33 +01:00
lib544.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib547.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib549.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib552.c fix several compiler warnings 2012-03-22 04:54:04 +01:00
lib553.c sources: update source headers 2011-03-10 12:04:33 +01:00
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 write: add return code checks when used 2011-06-11 23:01:09 +02:00
lib557.c sources: update source headers 2011-03-10 12:04:33 +01:00
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 test: remove test 580 2010-11-05 11:26:26 +01:00
Makefile.inc HTTP: reset expected DL/UL sizes on redirects 2012-04-01 00:07:24 +02:00
sethostname.c sources: update source headers 2011-03-10 12:04:33 +01:00
sethostname.h sources: update source headers 2011-03-10 12:04:33 +01:00
test75.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test307.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test610.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test613.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test1013.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test1022.pl Fixed test 1023 when using daily snapshots 2011-04-21 14:47:35 -07:00
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 remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00