- Jan 04, 2011
-
-
Kamil Dudka authored
Bug: https://bugzilla.redhat.com/623663
-
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
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
We cannot assume that PATH_MAX will be enough for the remote path name so allocating room for it is the only sensible approach.
-
- 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
-
-
Luke Amery authored
-
- Dec 28, 2010
-
-
Pierre Joye authored
The functionality is provided in a new source file: lib/idn_win32.c
-
- 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 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.
-
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
RAND_screen() is slow, not thread-safe and not needed anymore since OpenSSL uses the thread-safe win32 CryptoAPI nowadays.
-
- Dec 22, 2010
-
-
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
-
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
-
Guenter Knauf authored
-
- Dec 21, 2010
-
-
Brad Hards authored
-
- Dec 20, 2010
-
-
Yang Tse authored
sorted to reflect same internal order as the one shown in the usage message.
-
Daniel Stenberg authored
Make sure that Curl_cache_addr() errors are propagated to callers of loadhostpairs(). (this loadhostpairs function caused a scan-build warning due to the 'dns' variable getting assigned but never used)
-
Yang Tse authored
Default libcurl's file names are kept equal to those used since Y2K.
-
- Dec 18, 2010
-
-
Daniel Stenberg authored
Doing curlx_strtoofft() on the size just to figure out the end of it causes a compiler warning since the result wasn't used, but is also a bit of a waste.
-
Pasha Kuznetsov authored
Since the original `conn' pointer was used after the `connectdata' it points to has been closed/cleaned up by Curl_reconnect_request it caused a crash. We must make sure to use the newly created connection instead! URL: http://curl.haxx.se/mail/lib-2010-12/0202.html
-
Tommie Gannert authored
Make the c-ares resolver code ask for both IPv4 and IPv6 addresses when IPv6 is enabled. This is a workaround for the missing ares_getaddrinfo() and is a lot easier to implement. Note that as long as c-ares returns IPv4 addresses when IPv6 addresses were requested but missing, this will cause a host's IPv4 addresses to occur twice in the DNS cache. URL: http://curl.haxx.se/mail/lib-2010-12/0041.html
-
Brad Hards authored
-
- Dec 15, 2010
-
-
Daniel Stenberg authored
The SSL_SERVER_VERIFY_LATER bit in the ssl_ctx_new() call allows the code to verify the peer certificate explicitly after the handshake and then the "data->set.ssl.verifypeer" option works.
-
Daniel Stenberg authored
When no explicit version is selected we should try to use whatever is best for us, and in the axTLS case that means TLSv1.
-
Daniel Stenberg authored
Removed trailing whitespace Removed several compiler warnings Removed odd backslashes at some line endings
-
Daniel Stenberg authored
The public axTLS header (at least as of 1.2.7) redefines the memory functions. We #undef those again immediately after the public header to limit the damage. This should be fixed in axTLS.
-
Eric Hu authored
-
Eric Hu authored
Failed HTTPS tests: 301, 306, 311, 312, 313, 560 311, 312 need more detailed error reporting from axTLS. 313 relates to CRL, which hasn't been implemented yet.
-
Eric Hu authored
Added axTLS to autotool files and glue code to misc other files. axtls.h maps SSL API functions, but may change. axtls.c is just a stub file and will definitely change.
-
- Dec 13, 2010
-
-
Daniel Stenberg authored
The function that checks if pipelining is possible now requires the HTTP bit to be set so that it doesn't mistakenly tries to do it for other protocols. Bug: http://curl.haxx.se/mail/lib-2010-12/0152.html Reported by: Dmitri Shubin
-
Daniel Stenberg authored
The generic timeout code must not check easy handles that are already completed. Going to completed (again) within there risked decreasing the number of alive handles again and thus it could go negative. This regression bug was added in 7.21.2 in commit ca10e28f
-
- Dec 07, 2010
-
-
Yang Tse authored
-
- Dec 06, 2010
-
-
Daniel Stenberg authored
Cleanup fix after Kamil's commit 5c7c9a76
-
Heinrich Ko authored
ossl_connect_common() now checks whether or not 'struct connectdata->state' is equal 'ssl_connection_complete' and if so, will return CURLE_OK with 'done' set to 'TRUE'. This check prevents ossl_connect_common() from creating a new ssl connection on an existing ssl session which causes openssl to fail when it tries to parse an encrypted TLS packet since the cipher data was effectively thrown away when the new ssl connection was created. Bug: http://curl.haxx.se/mail/lib-2010-11/0169.html
-
Kamil Dudka authored
It helps to prevent a hangup with some FTP servers in case idle session timeout has exceeded. But it may be useful also for other protocols that send any quit message on disconnect. Currently used by FTP, POP3, IMAP and SMTP.
-
Yang Tse authored
-
- Dec 05, 2010
-
-
Daniel Stenberg authored
When looping in this function and checking for the timeout being expired, it was not updating the reference time when calculating the timediff since previous round which made it think each subsequent loop to have taken longer than it actually did. I also modified the function to use the generic Curl_timeleft() function instead of the custom logic. Bug: http://curl.haxx.se/bug/view.cgi?id=3112579
-