aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-29ftpserver.pl: Moved specifying the test number from the RCPT addressSteve Holme
...to the client address as this frees the RCPT strings to contain just an email address and by passing the test number into curl as the client address remains consistent with POP3 and IMAP tests as they are specified in the URL.
2013-09-29ftpserver.pl: Added unwanted argument check to SMTP DATA command handlerSteve Holme
2013-09-29getinmemory: remove a commentDaniel Stenberg
The comment mentioned the need to free the data, but the example already does that free
2013-09-29postinmemory: new exampleDaniel Stenberg
This is similar to getinmemory.c but with an initial POST. Combined-by: Ulf Samuelsson
2013-09-28win32: fix Visual Studio 2010 build with WINVER >= 0x600Daniel Stenberg
If no WINVER and/or _WIN32_IWNNT define was set, the Windows platform SDK often defaults to high value, e.g. 0x601 (whoch may probably depend on the Windows version being used, in my case Windows 7). If WINVER >= 0x600 then winsock2.h includes some defines for WSAPoll(), e.g. POLLIN, POLLPRI, POLLOUT etc. These defines clash with cURL's lib/select.h. Make sure HAVE_STRUCT_POLLFD is defined then. Bug: http://curl.haxx.se/bug/view.cgi?id=1282 Reported-by: "kdekker" Patch-by: Marcel Raad
2013-09-28ssluse.c: Fixed compilation warnings when ENGINE not supportedSteve Holme
The function "ssl_ui_reader" was declared but never referenced The function "ssl_ui_writer" was declared but never referenced
2013-09-27configure: use icc options without spaceDaniel Stenberg
The latest version(s) of the icc compiler no longer accept the extra space in the -we (warning enable), -wd (warning disable), etc. Reported-by: Elmira A Semenova Bug: http://curl.haxx.se/mail/lib-2013-09/0182.html
2013-09-25imap: Added clarification to the code about odd continuation responsesSteve Holme
2013-09-25ftp.c: Fixed compilation warningSteve Holme
There is an implicit conversion from "unsigned long" to "long"
2013-09-24sasl: Centralised the authentication mechanism stringsSteve Holme
Moved the standard SASL mechanism strings into curl_sasl.h rather than hard coding the same values over and over again in the protocols that use SASL authentication. For more information about the mechanism strings see: http://www.iana.org/assignments/sasl-mechanisms
2013-09-23RELEASE-NOTES: added recent contributors missingDaniel Stenberg
2013-09-23test906: Fixed type-2 responseSteve Holme
2013-09-23test915: Corrected test number from commit 22bccb0edaf041Steve Holme
2013-09-23test906: Fixed type-1 message not handled errorSteve Holme
...from commit f81d1e16664976 due to copy paste error.
2013-09-22tests: Added SMTP AUTH NTLM testSteve Holme
2013-09-22tests: Added SMTP multiple and invalid --mail-rcpt testSteve Holme
2013-09-22tests: Added SMTP multiple --mail-rcpt testSteve Holme
2013-09-22tests: Added SMTP invalid --mail-rcpt testSteve Holme
2013-09-22tests: Regrouping of SMTP testsSteve Holme
2013-09-22test1112: Increase the timeout from 7s to 16sBenoit Sigoure
As someone reported on the mailing list a while back, the hard-coded arbitrary timeout of 7s in test 1112 is not sufficient in some build environments. At Arista Networks we build and test curl as part of our automated build system, and we've run into this timeout 170 times so far. Our build servers are typically quite busy building and testing a lot of code in parallel, so despite being beefy machines with 32 cores and 128GB of RAM we still hit this 7s timeout regularly. URL: http://curl.haxx.se/mail/lib-2010-02/0200.html
2013-09-22tests: Fixed smtp rcpt to addressesSteve Holme
2013-09-22ftpserver.pl: Expanded the SMTP RCPT handler to validate TO addressesSteve Holme
RCPT_smtp() will now check for a correctly formatted TO address which allows for invalid recipient addresses to be added.
2013-09-22ftpserver.pl: Added cURL SMTP server detection to HELO command handlerSteve Holme
As curl will send a HELO command after an negative EHLO response, added the same detection from commit b07709f7417c3e to the HELO handler to ensure the test server is identified correctly and an upload isn't performed.
2013-09-22ftpserver.pl: Corrected response code for successful RCPT commandSteve Holme
2013-09-22ftpserver.pl: Moved invalid RCPT TO: address detection to RCPT handlerSteve Holme
Rather than detecting the TO address as missing in the DATA handler, moved the detection to the RCPT command handler where an error response can be generated.
2013-09-21RELEASE-NOTES: Corrected missed additionSteve Holme
Somehow commit 60a20461629fda missed the last item in the sync list even though I'm sure I added it during editing.
2013-09-21RELEASE-NOTES: Synced with 6dd8bd8d2f9729Steve Holme
2013-09-21curl.1: Added information about optional login options to --user in manpageSteve Holme
Added missing information, from curl 7.31.0, regarding the use of the optional login options that may be specified as part of --user. For example: --user 'user:password;auth=NTLM' in IMAP, POP3 and SMTP protocols.
2013-09-21ftpserver.pl: Moved cURL SMTP server detection into EHLO command handlerSteve Holme
Moved the special SMTP server detection code from the DATA command handler, which happens further down the operation chain after EHLO, MAIL and RCPT commands, to the EHLO command as it is the first command to be generated by a SMTP operation as well as containing the special "verifiedserver" string from the URL. This not only makes it easier and quicker to detect but also means that cURL doesn't need to specify "verifiedserver" as --mail-from and --mail-rcpt arguments. More importantly, this also makes the upcoming verification changes to the RCPT handler easier to implement.
2013-09-21openssl: use correct port number in error messageDaniel Stenberg
In ossl_connect_step2() when the "Unknown SSL protocol error" occurs, it would output the local port number instead of the remote one which showed when doing SSL over a proxy (but with the correct remote host name). As libcurl only speaks SSL to the remote we know it is the remote port. Bug: http://curl.haxx.se/bug/view.cgi?id=1281 Reported-by: Gordon Marler
2013-09-21test1415: adjusted to work for 32bit time_tDaniel Stenberg
The libcurl date parser returns INT_MAX for all dates > 2037 so this test is now made to use 2037 instead of 2038 to work the same for both 32bit and 64bit time_t systems.
2013-09-21tests: Reworked existing SMTP tests to be single recipient basedSteve Holme
...in preparation of upcoming multiple recipient tests.
2013-09-20ftpserver.pl: Corrected SMTP QUIT response to be more realisticSteve Holme
2013-09-20curl_easy_setopt.3: clarify that TIMEOUT and TIMEOUT_MS set the same valueDaniel Stenberg
2013-09-20Documented --dns-* options in curl manpageKim Vandry
2013-09-20pop3: Added basic SASL XOAUTH2 supportSteve Holme
Added the ability to use an XOAUTH2 bearer token [RFC6750] with POP3 for authentication using RFC6749 "OAuth 2.0 Authorization Framework". The bearer token is expected to be valid for the user specified in conn->user. If CURLOPT_XOAUTH2_BEARER is defined and the connection has an advertised auth mechanism of "XOAUTH2", the user and access token are formatted as a base64 encoded string and sent to the server as "AUTH XOAUTH2 <bearer token>".
2013-09-20curl: Added clarification to the --mail options in the --help outputSteve Holme
... that these options apply to SMTP only.
2013-09-20ftpserver.pl: Moved SMTP RCPT response text into command handlerSteve Holme
2013-09-20tests: Added SMTP invalid --mail-from testSteve Holme
2013-09-19darwinssl: enable BEAST workaround on iOS 7 & laterNick Zitzmann
iOS 7 finally added the option to enable 1/n-1 when using TLS 1.0 and a CBC cipher, so we now always turn that on unless the user manually turns it off using CURLSSLOPT_ALLOW_BEAST. It appears Apple also added some new PSK ciphers, but no interface to use them yet, so we at least support printing them if we find them.
2013-09-19tests: Updated SMTP AUTH tests to use the new AUTH directiveSteve Holme
...rather than specify a customised EHLO response.
2013-09-19tests: Corrected test913 as the QUIT response is receivedSteve Holme
2013-09-19tests: Added SMTP large message SIZE testSteve Holme
2013-09-19ftpserver.pl: Updated email regex from commit 98f7ca7e971006Steve Holme
...to not be as strict as it was rejecting valid numeric email addresses.
2013-09-19tests: Fixed smtp mail from addressesSteve Holme
2013-09-18ftpserver.pl: Standardised CAPA and AUTH responsesSteve Holme
2013-09-18ftpserver.pl: Corrected POP3 QUIT reply to be more realisticSteve Holme
2013-09-18runtests.pl: Fixed syntax error in commit c873375123343eSteve Holme
Possible unintended interpolation in string at line 796
2013-09-18runtests.pl: Fixed smtp mail from addressSteve Holme
Following changes to ftpserver.pl fixed the mail from address to be a correctly formatted address otherwise the server response will be 501 Invalid address.
2013-09-18ftpserver.pl: Fixed syntax error in commit 98f7ca7e971006Steve Holme
Can't modify constant item in scalar assignment line 779, near "0;"