- 04 Jan, 2011 11 commits
-
-
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
-
- 03 Jan, 2011 9 commits
-
-
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
-
- 02 Jan, 2011 1 commit
-
-
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
-
- 01 Jan, 2011 2 commits
-
-
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.
-
- 30 Dec, 2010 2 commits
-
-
Daniel Stenberg authored
-
Luke Amery authored
-
- 28 Dec, 2010 2 commits
-
-
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.
-
- 27 Dec, 2010 1 commit
-
-
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
-
- 25 Dec, 2010 3 commits
-
-
Brad Hards authored
-
Brad Hards authored
Also spelling fix for RECIPIENT #define.
-
Brad Hards authored
-
- 23 Dec, 2010 4 commits
-
-
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.
-
Daniel Stenberg authored
When using the multi interface and connecting to a host name that resolves to multiple IP addresses, there was no logic that made it continue to the next IP if connecting to the first address times out. This is now corrected.
-
Daniel Stenberg authored
Even if libcurl might to do it for us, it is more correct.
-
Daniel Stenberg authored
RAND_screen() is slow, not thread-safe and not needed anymore since OpenSSL uses the thread-safe win32 CryptoAPI nowadays.
-
- 22 Dec, 2010 5 commits
-
-
Daniel Stenberg authored
The info about pipe status and expire cleared are clearly debug-related and not anything mere mortals will or should care about so they are now ifdef'ed DEBUGBUILD
-
Daniel Stenberg authored
They were all wrong previously since none used the <brackets> they should for MAIL FROM. Now libcurl adds them itself if the app doesn't so they end up wrong less easy.
-
Daniel Stenberg authored
-
Brad Hards authored
Similar to what is done already for RCPT TO, the code now checks for and adds angle brackets (<>) around the email address that is provided for CURLOPT_MAIL_RCPT unless the app has done so itself.
-
Guenter Knauf authored
-