- Jun 20, 2011
-
-
Daniel Stenberg authored
-
Dan Fandrich authored
-
- Jun 19, 2011
-
-
Amr Shahin authored
adding unit test for Curl_llist_move, documenting unit-tested functions in llist.c, changing unit-test to unittest, replacing assert calls with abort_unless calls
-
- Jun 17, 2011
-
-
Daniel Stenberg authored
The CURLFORM_STREAM is documented to only insert a file name (and thus look like a file upload) in the part if CURLFORM_FILENAME is set, but in reality it always inserted a filename="" and if CURLFORM_FILENAME wasn't set, it would insert insert rubbish (or possibly crash). This is now fixed to work as documented, and test 554 has been extended to verify this. Reported by: Sascha Swiercy Bug: http://curl.haxx.se/mail/lib-2011-06/0070.html
-
Yang Tse authored
-
Yang Tse authored
-
- Jun 14, 2011
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Jun 13, 2011
-
-
Daniel Stenberg authored
Properly deal with the fact that the last fread() call most probably is a short read, and when using callbacks in fact all calls can be short reads. No longer consider a file read done until it returns a 0 from the read function. Reported by: Aaron Orenstein Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html
-
Daniel Stenberg authored
If a piece is set to use a callback to get the data, it should not be treated as data. It unfortunately also requires that curl_easy_perform() or similar has been used as otherwise the callback function hasn't been figured out and curl_formget won't know how to get the content.
-
Daniel Stenberg authored
Due to a design flaw, the CURLFORM_STREAM option doesn't really work with curl_formget until after curl_easy_perform (or similar).
-
Daniel Stenberg authored
We don't author the bindings, they are created outside the main project.
-
- Jun 12, 2011
-
-
Dan Fandrich authored
-
- Jun 11, 2011
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
These were just warnings in test code but it still makes it nicer to not generate them.
-
Daniel Stenberg authored
Typecast when converting to int from long to avoid some compiler warnings
-
Yang Tse authored
-
Dan Fandrich authored
Removing dynamic allocations also simplifies the test.
-
- Jun 10, 2011
-
-
Daniel Stenberg authored
The test code that was #ifdef'ed in the code was converted into unit tests in test case 1309. I also removed the #if 0'ed code from splay.c
-
Daniel Stenberg authored
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This is a few first rather basic tests of curl_formadd() and curl_formget(). Should serve as building blocks to add more variations to the test.
-
- Jun 09, 2011
- Jun 08, 2011
- Jun 07, 2011
-
-
Kamil Dudka authored
When closing a connection, the speedchecker's timestamp is now deleted so that it cannot accidentally be used by a fresh connection on the same handle when examining the transfer speed. Bug: https://bugzilla.redhat.com/679709
-
Yang Tse authored
-
Daniel Stenberg authored
When a time condition isn't met, so that no body is delivered to the application even though a 2xx response is being read from the server, we must close the connection to avoid a re-use of the connection to be completely tricked. Added test 1128 to verify.
-
Daniel Stenberg authored
-
- Jun 06, 2011
-
-
Yang Tse authored
-
- Jun 05, 2011
-
-
Daniel Stenberg authored
Typecasts added since I changed more code to use long for timeouts
-
- Jun 04, 2011
-
-
Daniel Stenberg authored
It was mostly typecasted to int all over the code so switching to long instead all over should be a net gain.
-
Yang Tse authored
-
- Jun 03, 2011
-
-
Yang Tse authored
cross-compilation of unit tests static library/programs fails when libcurl shared library is also built. This might be due to a libtool or automake issue. In this case we disable unit tests.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-