curl/tests/libtest
Daniel Stenberg 840eff44f2 formdata: ack read callback abort
When doing a multipart formpost with a read callback, and that callback
returns CURL_READFUNC_ABORT, that return code must be properly
propagated back and handled accordingly. Previously it would be handled
as a zero byte read which would cause a hang!

Added test case 587 to verify. It uses the lib554.c source code with a
small ifdef.

Reported by: Anton Bychkov
Bug: http://curl.haxx.se/mail/lib-2011-10/0097.html
2011-10-16 01:09:56 +02:00
..
.gitignore test: remove test 580 2010-11-05 11:26:26 +01:00
CMakeLists.txt Converted tests 558 & 559 to use the unit test framework as 1305 2011-03-04 14:32:58 -08:00
Makefile.am test: remove test 580 2010-11-05 11:26:26 +01:00
Makefile.inc formdata: ack read callback abort 2011-10-16 01:09:56 +02:00
chkhostname.c sources: update source headers 2011-03-10 12:04:33 +01:00
first.c fix a bunch of MSVC compiler warnings 2011-09-03 16:07:09 +02:00
lib500.c fix a bunch of MSVC compiler warnings 2011-09-03 16:07:09 +02:00
lib501.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib502.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib503.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib504.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +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 libtests: stop checking for CURLM_CALL_MULTI_PERFORM 2011-06-27 16:01:41 +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 test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib526.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib530.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib533.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib536.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +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 lib540.c: OOM handling fixes making test 540 pass torture testing 2011-10-10 12:27:17 +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 sources: update source headers 2011-03-10 12:04:33 +01:00
lib553.c sources: update source headers 2011-03-10 12:04:33 +01:00
lib554.c formdata: ack read callback abort 2011-10-16 01:09:56 +02:00
lib555.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +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 test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib562.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib564.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +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 test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib572.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib573.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib574.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +02:00
lib575.c test suite: libtest header inclusion cleanup 2011-09-06 17:47:54 +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 lib582.c: fix segfault triggered when torture testing test case 582 2011-09-08 01:22:47 +02:00
lib583.c test case 583: ensure that test failures don't go unnoticed - follow-up 2011-09-06 19:59:42 +02:00
lib586.c SSL session sharing support added 2011-09-28 23:06:34 +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
test.h errno.h inclusion conditionally done in setup_once.h 2011-07-24 04:39:43 +02: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
testutil.c remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
testutil.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00