- Dec 30, 2013
-
-
Steve Holme authored
Added support to the built-in printf() replacement functions, for these non-ANSI extensions when compiling under Visual Studio, Borland, Watcom and MinGW. This fixes problems when generating libcurl source code that contains curl_off_t variables.
-
- Dec 29, 2013
-
-
Steve Holme authored
Although added to CURLOPT_INFILESIZE in commit ee3d3adc it was never added to CURLOPT_INFILESIZE_LARGE.
-
- Dec 28, 2013
-
-
Steve Holme authored
-
Steve Holme authored
warning: 'res' may be used uninitialized in this function
-
Steve Holme authored
-
Björn Stenberg authored
Fixes a bug when all addresses in the first family fail immediately, due to "Network unreachable" for example, curl would hang and never try the next address family. Iterate through all address families when to trying establish the first connection attempt. Bug: http://curl.haxx.se/bug/view.cgi?id=1315 Reported-by: Michal Górny and Anthony G. Basile
-
Steve Holme authored
...to exclude not present features.
-
Steve Holme authored
-
- Dec 27, 2013
-
-
Steve Holme authored
Unmatched right curly bracket at line 758, at end of line
-
Steve Holme authored
Following the addition of informational commands to the SMTP protocol, the test server is no longer required to return the verified server information in responses that curl only outputs in verbose mode. Instead, a similar detection mechanism to that used by FTP, IMAP and POP3 can now be used.
-
Steve Holme authored
sendf.c:450:81: warning: Longer than 79 columns
-
Steve Holme authored
Introduced in commit 2a4ee0d2 sending of data via the FILE protocol would always return CURLE_WRITE_ERROR regardless of whether CURL_WRITEFUNC_PAUSE was returned from the callback function or not.
-
- Dec 26, 2013
-
-
Daniel Stenberg authored
Make sure that we detect such attempts and return a proper error code instead of silently handling this in problematic ways. Updated the documentation to mention this limitation. Bug: http://curl.haxx.se/bug/view.cgi?id=1286
-
Steve Holme authored
-
Steve Holme authored
-
- Dec 25, 2013
-
-
Daniel Stenberg authored
Previously this memdebug free() replacement didn't properly work with a NULL argument which has made us write code that avoids calling free(NULL) - which causes some extra nuisance and unnecessary code. Starting now, we should allow free(NULL) even when built with the memdebug system enabled. free(NULL) is permitted by POSIX
-
Steve Holme authored
-
- Dec 24, 2013
-
-
Daniel Stenberg authored
free() itself allows a NULL input but our memory debug system requires Curl_safefree() to be used instead when a "legitimate" NULL may be freed. Like in the code here. Pointed-out-by: Steve Holme
-
Luke Dashjr authored
... since pthread_t may be non-scalar and/or may represent a real thread with scalar 0. Bug: http://curl.haxx.se/bug/view.cgi?id=1314
-
Steve Holme authored
If a user indicated they preferred to authenticate using a SASL mechanism, but SASL authentication wasn't supported by the server, curl would always fall back to clear text when CAPABILITY wasn't supported, even though the user didn't want to use this.
-
Steve Holme authored
If a user indicated they preferred to authenticate using APOP or a SASL mechanism, but neither were supported by the server, curl would always fall back to clear text when CAPA wasn't supported, even though the user didn't want to use this. This also fixes the auto build failure caused by commit 6f2d5f05.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Fixes commit 1deac31e
-
Steve Holme authored
-
Steve Holme authored
This commit replaces that of 9f260b5d because according to RFC-2449, section 6, there is no APOP capability "...even though APOP is an optional command in [POP3]. Clients discover server support of APOP by the presence in the greeting banner of an initial challenge enclosed in angle brackets."
-
Steve Holme authored
-
- Dec 23, 2013
-
-
Steve Holme authored
-
Steve Holme authored
SASL downgrade tests: 833, 835, 879, 881, 935 and 937 would fail as they contained a minus sign in their authentication mechanism and this would be missed by the custom reply parser.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Dec 22, 2013
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The FILE:// code doesn't support this option - and it doesn't make sense to support it as long as it works as it does since then it'd only block even longer. But: setting CURLOPT_MAX_RECV_SPEED_LARGE would make the transfer first get done and then libcurl would wait until the average speed would get low enough. This happened because the transfer happens completely in the DO state for FILE:// but then it would still unconditionally continue in to the PERFORM state where the speed check is made. Starting now, the code will skip from DO_DONE to DONE immediately if no socket is set to be recv()ed or send()ed to. Bug: http://curl.haxx.se/bug/view.cgi?id=1312 Reported-by: Mohammad AlSaleh
-
Steve Holme authored
Use of uninitialized value $FTPARG in concatenation (.) or string at line 3255.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
Added SASL CANCELLATION keywords to differentiate these tests from the upcoming SASL downgrade tests.
-
Steve Holme authored
-