- Jan 11, 2011
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
- Jan 10, 2011
-
-
Daniel Stenberg authored
The idea that the protocol and socktype is part of name resolving in the libc functions is nuts. We keep the name resolver functions assume TCP/STREAM and we make sure that when we want to connect to a UDP service we use the correct UDP/DGRAM set instead. This bug was because the ->protocol field was not always set correctly. This bug was only affecting ipv6-disabled non-cares non-threaded builds. Bug: http://curl.haxx.se/bug/view.cgi?id=3154436 Reported by: "dperham"
-
Quinn Slack authored
In OOM situation. Follow-up fix to commit a9cd4f4e.
-
- Jan 08, 2011
-
-
Daniel Stenberg authored
Bug: http://curl.haxx.se/mail/lib-2011-01/0079.html Reported by: Quinn Slack
-
- Jan 07, 2011
-
-
Marcel Roelofs authored
Only under Windows
-
- 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
-