- Oct 16, 2011
-
-
Daniel Stenberg authored
Elaborate what max_fd == -1 means Remove the reference to CURLM_CALL_MULTI_PERFORM as modern libcurl versions don't ever return that.
-
- Oct 15, 2011
-
-
Daniel Stenberg authored
When doing a multipart formpost with a read callback, and that callback returns CURL_READFUNC_ABORT, that return code must be properly propagated back and handled accordingly. Previously it would be handled as a zero byte read which would cause a hang! Added test case 587 to verify. It uses the lib554.c source code with a small ifdef. Reported by: Anton Bychkov Bug: http://curl.haxx.se/mail/lib-2011-10/0097.html
-
Daniel Stenberg authored
-
Dave Reisner authored
There might be situations where a user would want to unset this option. Avoid forcing him/her to cast the NULL argument to (char *) in order to get past the compile time typecheck.
-
Daniel Stenberg authored
Save the errno value immediately after a connect() failure so that it won't get reset to something else before we read it. Bug: http://curl.haxx.se/mail/lib-2011-10/0066.html Reported by: Frank Van Uffelen and Fabian Hiernaux
-
- Oct 14, 2011
-
-
Michal Marek authored
-
Yang Tse authored
-
Yang Tse authored
Jerry Wu detected and provided detailed info about this issue.
-
Yang Tse authored
When, for a given test, server is instructed to close connection after server reply we now wait a very small amount of time (50ms) before doing so. This is done to allow client to, at least partially, read server reply before getting an ECONNRESET. The above is required to make test cases 1070, 1200, 1201 and 1202 pass with Cygwin 1.5.X on W2K. GOPHER test server closes connection after _every_ server-reply, as such, at some point it could require a bigger time or using shutdown() before a server-side initiated disconnection.
-
- Oct 13, 2011
-
-
Yang Tse authored
-
Marcin Adamski authored
Set ACK timeout to 5 seconds. If we are waiting for block X and receive block Y that is the expected one, we should send ACK and increase X (which is already implemented). Otherwise drop the packet and don't increase retry counter.
-
Yang Tse authored
Prevent modification of easy handle being added with curl_multi_add_handle() unless this function actually suceeds. Run Curl_posttransfer() to allow restoring of SIGPIPE handler when Curl_connect() fails early in multi_runsingle().
- Oct 12, 2011
- Oct 11, 2011
-
-
Yang Tse authored
-
- Oct 10, 2011
-
-
Yang Tse authored
-
- Oct 09, 2011
-
-
Dan Fandrich authored
-
- Oct 07, 2011
- Oct 06, 2011
- Oct 05, 2011
- Oct 04, 2011
-
-
Yang Tse authored
-
Yang Tse authored
-
Daniel Stenberg authored
Move the variable declaration to within the #ifdef
-
Daniel Stenberg authored
It makes much nicer and less convuluted code everywhere if this struct member is always present even when libcurl is built without SSL support. This reverts parts of commit 15e3e451
-
Daniel Stenberg authored
-
- Oct 03, 2011
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
define away Curl_ntlm_sspi_cleanup() when no windows SSPI build
-
Steve Holme authored
Modified smtp_endofresp() to detect NTLM from the server specified list of supported authentication mechanisms. Modified smtp_authenticate() to start the sending of the NTLM data. Added smtp_auth_ntlm_type1_message() which creates a NTLM type-1 message. This function is used by authenticate() to start the sending of data and by smtp_state_auth_ntlm_resp() when the AUTH command doesn't contain the type-1 message as part of the initial response. This lack of initial response can happen if an OOM error occurs or the type-1 message is longer than 504 characters. As the main AUTH command is limited to 512 character the data has to be transmitted in two parts; one containing the AUTH NTLM and the second containing the type-1 message. Added smtp_state_auth_ntlm_type2msg_resp() which handles the incoming type-2 message and sends an outgoing type-3 message. This type-2 message is sent by the server in response to our type-1 message. Modified smtp_state_auth_resp() to handle the response to: the AUTH NTLM without the initial response and the type-2 response. Modified smtp_disconnect() to cleanup the NTLM SSPI stack.
-