- Nov 27, 2013
-
-
Jeff King authored
This is an extension to the fix in 7d80ed64 . We may call Curl_disconnect() while cleaning up the multi handle, which could lead to openssl sending packets, which could get a SIGPIPE. Signed-off-by: Jeff King <peff@peff.net>
-
Jeff King authored
Commit 7d80ed64 introduced some helpers to handle sigpipe in easy.c. However, that fix was incomplete, and we need to add more callers in other files. The first step is making the helpers globally accessible. Since the functions are small and should generally end up inlined anyway, we simply define them in the header as static functions. Signed-off-by: Jeff King <peff@peff.net>
-
Björn Stenberg authored
This fixes a rare Happy Eyeballs bug where if the first IP family runs out of addresses before the second-family-timer fires, and the second IP family's first connect fails immediately, no further IPs of the second family are attempted.
-
- Nov 24, 2013
-
-
Daniel Stenberg authored
When adding entries to the DNS cache with CURLOPT_RESOLVE, they are marked 'inuse' forever to prevent them from ever being removed in normal operations. Still, the code that pruned out-of-date DNS entries didn't care for the 'inuse' struct field and pruned it anyway! Reported-by: Romulo A. Ceccon Bug: http://curl.haxx.se/bug/view.cgi?id=1303
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
A failure during authentication, which is performed as part of the CONNECT phrase (for IMAP, POP3 and SMTP) is considered by the multi- interface as being closed prematurely (aka a dead connection). As such these protocols cannot issue the relevant QUIT or LOGOUT command. Temporarily fixed the test cases until we can fix this properly.
-
Steve Holme authored
-
Steve Holme authored
-
- Nov 23, 2013
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
Removed unnecessary SMTP_STOP state changes on failure. Removed hard return on failure in smtp_state_data_resp().
-
- Nov 22, 2013
-
-
Steve Holme authored
-
Steve Holme authored
-
- Nov 21, 2013
-
-
Christian Grothoff authored
Added new API for returning a SSL backend type and pointer, in order to allow access to the TLS internals, that may then be used to obtain X509 certificate information for example.
-
- Nov 17, 2013
-
-
Steve Holme authored
-
Steve Holme authored
Commands such as NOOP, RSET and HELP would be sent with a space at the end of the command, for example: "NOOP ".
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
Otherwise a NOOP operation would be performed which a) only returns a single line response and not a multiline response where -I needs to be used, and b) provides an inconsistent user experience compared to that of the POP3 and IMAP protocols.
-
Steve Holme authored
The buffer allocated by smtp_parse_custom_request() was not freed.
-
Steve Holme authored
singleipconnect() could return the file descriptor of an open socket even though the function returned a CURLE_COULDNT_CONNECT error code from commit ed1662c3 and 02fbc26d. This could cause tests 19, 704 and 1233 to fail on FreeBSD, AIX and Solaris.
-
Steve Holme authored
-
- Nov 16, 2013
-
-
Steve Holme authored
The error code should not be sent as data as it isn't passed onto the client as body data, so cannot be compared in the test suite against expected data.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Nov 15, 2013
-
-
Steve Holme authored
-
Daniel Stenberg authored
-
Steve Holme authored
* Added information about the verify and expand commands to CURLOPT_MAIL_RCPT. * Reworked CURLOPT_CUSTOMREQUEST section, adding information about IMAP and SMTP custom commands.
-
Steve Holme authored
* Added SMTP section to --request * Expanded --mail-rcpt to describe the usage when using the verify and expand commands.
-
Steve Holme authored
-
Steve Holme authored
Although this option should have already been set, the SMTP module can now download information from and send instructional commands to, an SMTP server, requiring the option to be set in order to perform a mail transfer.
-
Steve Holme authored
-