Steve Holme
517b8e2290
ftpserver.pl: Corrected SMTP QUIT response to be more realistic
2013-09-20 23:08:28 +01:00
Daniel Stenberg
af44da38d6
curl_easy_setopt.3: clarify that TIMEOUT and TIMEOUT_MS set the same value
2013-09-20 23:16:04 +02:00
Kim Vandry
fcfa26a7ee
Documented --dns-* options in curl manpage
2013-09-20 23:09:39 +02:00
Steve Holme
18db743851
pop3: Added basic SASL XOAUTH2 support
...
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-20 21:56:30 +01:00
Steve Holme
0e188e2dc3
curl: Added clarification to the --mail options in the --help output
...
... that these options apply to SMTP only.
2013-09-20 21:35:44 +01:00
Steve Holme
eecb0e969f
ftpserver.pl: Moved SMTP RCPT response text into command handler
2013-09-20 21:25:48 +01:00
Steve Holme
bd7d56ec71
tests: Added SMTP invalid --mail-from test
2013-09-20 07:09:39 +01:00
Nick Zitzmann
6f78aaad6f
darwinssl: enable BEAST workaround on iOS 7 & later
...
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-19 17:28:54 -05:00
Steve Holme
89d320c2fd
tests: Updated SMTP AUTH tests to use the new AUTH directive
...
...rather than specify a customised EHLO response.
2013-09-19 20:29:59 +01:00
Steve Holme
b809bafb0c
tests: Corrected test913 as the QUIT response is received
2013-09-19 20:13:08 +01:00
Steve Holme
3b6a1681dc
tests: Added SMTP large message SIZE test
2013-09-19 18:17:11 +01:00
Steve Holme
9300bb826d
ftpserver.pl: Updated email regex from commit 98f7ca7e97
...
...to not be as strict as it was rejecting valid numeric email
addresses.
2013-09-19 12:44:27 +01:00
Steve Holme
dfe7ee1429
tests: Fixed smtp mail from addresses
2013-09-19 07:19:25 +01:00
Steve Holme
841103c776
ftpserver.pl: Standardised CAPA and AUTH responses
2013-09-18 19:38:26 +01:00
Steve Holme
8d2335ca23
ftpserver.pl: Corrected POP3 QUIT reply to be more realistic
2013-09-18 19:37:03 +01:00
Steve Holme
04064e89c1
runtests.pl: Fixed syntax error in commit c873375123
...
Possible unintended interpolation in string at line 796
2013-09-18 19:32:20 +01:00
Steve Holme
c873375123
runtests.pl: Fixed smtp mail from address
...
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-18 18:04:26 +01:00
Steve Holme
62d232c131
ftpserver.pl: Fixed syntax error in commit 98f7ca7e97
...
Can't modify constant item in scalar assignment line 779, near "0;"
2013-09-18 12:58:34 +01:00
Steve Holme
98f7ca7e97
ftpserver.pl: Expanded the SMTP MAIL handler to validate messages
...
MAIl_smtp() will now check for a correctly formatted FROM address as
well as the optional SIZE parameter comparing it against the server
capability when specified.
2013-09-18 07:23:32 +01:00
YAMADA Yasuharu
4cfbb201c4
cookies: add expiration
...
Implement: Expired Cookies These following situation, curl removes
cookie(s) from struct CookieInfo if the cookie expired.
- Curl_cookie_add()
- Curl_cookie_getlist()
- cookie_output()
2013-09-17 23:25:56 +02:00
Steve Holme
dc016567ce
ftpserver.pl: Corrected response code for successful MAIL command
2013-09-17 22:10:17 +01:00
Steve Holme
96b68c57ce
ftpserver.pl: Moved SMTP MAIL handler into own function
2013-09-17 22:09:30 +01:00
Steve Holme
158dfe2c5c
dns: fix compilation with MinGW from commit df69440d05
...
Avoid 'interface' literal that some MinGW versions define as a macro
Additionally, corrected some very, very minor coding style errors.
2013-09-17 20:59:43 +01:00
Steve Holme
8f5336a2fa
tests: Fixed test 1406 following recent changes in ftpserver.pl
...
By default the mail server doesn't send the SIZE capability but instead
it has to be specified as a supported capability.
2013-09-16 00:24:46 +01:00
Steve Holme
f8a9dbd391
tests: Added test for SMTP SIZE capability
2013-09-16 00:24:30 +01:00
Steve Holme
016879d477
ftpserver.pl: Added the ability to include spaces in capabilities
...
For example:
CAPA "SIZE 1048576" 8BITMIME BINARYMIME
will populate the capabilities list with the following in:
SIZE 1048576
8BITMIME
BINARYMIME
2013-09-15 20:56:16 +01:00
Steve Holme
c03335ec68
ftpserver.pl: Corrected response code for successful SMTP QUIT command
2013-09-15 20:09:49 +01:00
Steve Holme
894585784c
ftpserver.pl: Fixed syntax error in commit 33c1f2876b
...
Can't modify constant item in postincrement line 727, near "i++"
2013-09-15 20:07:43 +01:00
Steve Holme
33c1f2876b
ftpserver.pl: Added CAPA & AUTH directive support to the SMTP EHLO handler
2013-09-15 16:53:20 +01:00
Steve Holme
00ee5c5cf1
ftpserver.pl: Fixed SMTP QUIT handler from dadc495540
2013-09-15 12:47:36 +01:00
Steve Holme
dadc495540
ftpserver.pl: Moved SMTP EHLO and QUIT handlers in own functions
2013-09-15 09:20:53 +01:00
Steve Holme
eae86ba62d
ftpserver.pl: Added support for SMTP HELO command
...
...and updated test902 as explicit HELO response is no longer required.
2013-09-15 09:10:11 +01:00
Steve Holme
e9cca79dd1
ftpserver.pl: Added mailbox check to IMAP SELECT handler
2013-09-15 09:00:13 +01:00
Steve Holme
4ba3b6c05a
ftpserver.pl: Corrected invalid user details check
...
...in both the IMAP LOGIN and POP3 PASS handlers introduced in commit
187ac69374
and 84ad1569e5
respectively.
2013-09-15 00:31:55 +01:00
Steve Holme
187ac69374
ftpserver.pl: Moved IMAP LOGIN handler into own function
2013-09-14 20:52:29 +01:00
Steve Holme
84ad1569e5
ftpserver.pl: Moved POP3 USER and PASS handlers into own functions
2013-09-14 20:46:45 +01:00
Steve Holme
45e0a661ce
ftpserver.pl: Corrected invalid argument check in POP3 TOP handler
...
...which was accidentally introduced in commit 4d6ef6297a
.
2013-09-14 16:18:47 +01:00
Steve Holme
4d6ef6297a
ftpserver.pl: Added capability prerequisite for extended POP3 commands
2013-09-14 15:04:26 +01:00
Steve Holme
b68c52704b
tests: Updated descriptions to be more meaningful
2013-09-14 15:04:25 +01:00
Steve Holme
4f4dc5832d
ftpserver.pl: Added support for IMAP NOOP command
2013-09-14 10:44:54 +01:00
Steve Holme
fbcefc0ce0
imap: Fixed response check for NOOP command
2013-09-14 10:44:28 +01:00
Steve Holme
83f6f58834
tests: Updated descriptions to be more meaningful
2013-09-14 10:41:17 +01:00
Daniel Stenberg
0a691f8935
curl.1: detail how short/long options work
...
URL: http://curl.haxx.se/bug/view.cgi?id=1279
Suggested-by: Jerry Krinock
2013-09-13 23:14:41 +02:00
Steve Holme
c243d45aad
curl: Fixed usage of DNS options when not using c-ares resolver
...
Commit 32352ed6ad
introduced various DNS options, however, these
would cause curl to exit with CURLE_NOT_BUILT_IN when c-ares wasn't
being used as the backend resolver even if the options weren't set
by the user.
Additionally corrected some minor coding style errors from the same
commit.
2013-09-13 18:50:11 +01:00
Daniel Stenberg
8a6dba520b
curl_easy_setopt.3: mention RTMP URL quirks
...
URL: http://curl.haxx.se/bug/view.cgi?id=1278
Reported-by: Gorilla Maguila
2013-09-13 14:06:20 +02:00
Ben Greear
32352ed6ad
curl: Add support for various DNS binding options.
...
(Passed on to c-ares.)
Allows something like this:
curl --dns-interface sta8 --dns-ipv4-addr 8.8.1.111 --interface sta8 \
--localaddr 8.8.1.111 --dns-servers 8.8.8.1 www.google.com
Signed-off-by: Ben Greear <greearb@candelatech.com>
2013-09-12 21:11:47 +02:00
Kim Vandry
df69440d05
libcurl: New options to bind DNS to local interfaces or IP addresses
2013-09-12 21:11:47 +02:00
Daniel Stenberg
345955e87e
libcurl.3: for multi interface connections are held in the multi handle
...
... and a few more cleanups/clarifications
2013-09-12 13:59:05 +02:00
Steve Holme
6f5b46855c
ftpserver.pl: Fixed missing comma from 7fd84b14d2
2013-09-12 11:52:19 +01:00
Steve Holme
5f93c5d658
ftpserver.pl: Fixed variable error introduced in 7fd84b14d2
...
Global symbol "$mailbox" requires explicit package name
2013-09-12 07:10:41 +01:00