- Jan 06, 2011
-
-
Daniel Stenberg authored
CMake/CheckTypeSize.c.in and CMake/CheckTypeSize.cmake were removed in the previous cmake commit
-
Dan Fandrich authored
This makes it possible to skip the call to unit_stop() in such cases. Also use Curl_safefree() in unit test 1302 so it will pass the memory torture test.
-
- Jan 05, 2011
-
-
Daniel Stenberg authored
The just added speedcheck must not ruin the error code if already set due to a problem.
-
Brad King authored
The CheckTypeSize module that comes with CMake 2.6.2 and above does everything we need and also supports cross-compiling. Avoid duplicating an older version of it here. This also fixes a cross-compiling error because the old line include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake") failed because CMAKE_MODULE_PATH is a search path and not a directory. Signed-off-by: Brad King <brad.king@kitware.com>
-
Daniel Stenberg authored
Check for speedcheck limits during the state machine traversals
-
- Jan 04, 2011
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
I came up with 33 different ways to call it and verify that it returns the correct return code.
-
Daniel Stenberg authored
fail is a new function/macro that a test case can use to indicate a test failure for cases when the standard macros are not sufficient.
-
Daniel Stenberg authored
As the function doesn't really use the connectdata struct but only the SessionHanadle struct I modified what argument it wants.
-
Dan Fandrich authored
-
Kamil Dudka authored
Bug: https://bugzilla.redhat.com/623663
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This check verifies that a pointer contains the correct data.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
512 bytes turned out too short for some data, so now we allocate a larger buffer instead Bug: http://curl.haxx.se/mail/archive-2011-01/0002.html
-
- Jan 03, 2011
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The UNITTEST_START and UNITTEST_STOP defines needed to do a new brace level so that test cases can declare variables fine and still remain fine C89 code.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The test runner script now knows if unittests can run and the unit test setup file says it is one. I also made runtests.pl deal with no <command> tag set, so that the description file can get even simpler.
-
Daniel Stenberg authored
When configure --enable-debug has been used, all files in lib/ are now built twice and a separate static library crafted for unit-testing will be linked. The unit tests in the tests/unit subdir will use that library.
-
Daniel Stenberg authored
This is the first approach at doing fairly clean and easy to write and debug unit tests.
-
Daniel Stenberg authored
We cannot assume that PATH_MAX will be enough for the remote path name so allocating room for it is the only sensible approach.
-
Daniel Stenberg authored
-
- Jan 02, 2011
-
-
Daniel Stenberg authored
Since some systems don't have PATH_MAX and it isn't that clever to assume a fixed maximum path length, the code now allocates buffer space instead of using stack. Reported by: Samuel Thibault Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608521
-
- Jan 01, 2011
-
-
Daniel Stenberg authored
Sending "pwd" as a QUOTE command only sent the reply to the DEBUGFUNCTION. Now it also sends an FTP-like header to the header callback to allow similar operations as with FTP, and apps can re-use the same parser.
-
Daniel Stenberg authored
The loop condition was wrong so keys larger than 340 bits would overflow the local stack-based buffer.
-
- Dec 30, 2010
-
-
Daniel Stenberg authored
-
Luke Amery authored
-
- Dec 28, 2010
-
-
Pierre Joye authored
The functionality is provided in a new source file: lib/idn_win32.c
-
Yang Tse authored
configure.ac: Test harness libhostname library will not be built for Windows. runtests.pl: LD_PRELOAD mechanism will not be used to load libhostname library on operating systems which lack LD_PRELOAD support.
-
- Dec 27, 2010
-
-
Daniel Stenberg authored
When built IPv6-enabled, we could do Curl_done() with one of the two resolves having returned already, so when ares_cancel() is called the resolve callback ends up doing funny things (sometimes resulting in a segfault) since it would try to actually store the previous resolve even though we're shutting down the resolve. This bug was introduced in commit 8ab137b2 so it hasn't been included in any public release. Bug: http://curl.haxx.se/bug/view.cgi?id=3145445 Reported by: Pedro Larroy
-
- Dec 25, 2010
-
-
Brad Hards authored
-
Brad Hards authored
Also spelling fix for RECIPIENT #define.
-
Brad Hards authored
-
- Dec 23, 2010
-
-
Daniel Stenberg authored
Providing multiple dots in a series in the domain field (domain=..com) could trick the cookie engine to wrongly accept the cookie believing it to be fine. Since the tailmatching would then match all .com sites, the cookie would then be sent to all of them. The code now requires at least one letter between each dot for them to be counted. Edited test case 61 to verify this.
-