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
Steve Holme
7fd84b14d2
ftpserver.pl: Added support for UID command
2013-09-11 20:27:13 +01:00
Steve Holme
f2403140f9
ftpserver.pl: Added support for LSUB command
2013-09-11 20:25:48 +01:00
Steve Holme
f3c9749a40
imap: Fixed response check for LSUB and UID commands
2013-09-11 20:15:21 +01:00
Steve Holme
3f6991766f
ftpserver.pl: Added support for IMAP COPY command
2013-09-11 19:57:29 +01:00
Steve Holme
cfe5f7dbf4
ftpserver.pl: Added support for IMAP CLOSE and EXPUNGE commands
2013-09-11 18:19:38 +01:00
Steve Holme
5840c918d5
ftpserver.pl: Added support for POP3 RSET command
2013-09-11 18:11:33 +01:00
Steve Holme
b0afb00000
ftpserver.pl: Added the ability to remember what messages are deleted
...
...as this will be required for IMAP CLOSE and EXPUNGE commands as well
as the POP3 RSET command.
2013-09-11 18:10:28 +01:00
Daniel Stenberg
0b5ae7c80e
NI_MAXSERV: remove all use of it
...
Solaris with the SunStudio Compiler is reportedly missing this define,
but as we're using it without any good reason on all the places it was
used I've now instead switched to just use sensible buffer sizes that
fit a 32 bit decimal number. Which also happens to be smaller than the
common NI_MAXSERV value which is 32 on most machines.
Bug: http://curl.haxx.se/bug/view.cgi?id=1277
Reported-by: D.Flinkmann
2013-09-10 23:18:43 +02:00
Daniel Stenberg
0d55f4e1bc
http2: use the support HTTP2 draft version in the upgrade header
...
... instead of HTTP/2.0 to work fine with the nghttpx proxy/server.
2013-09-10 23:06:20 +02:00
Steve Holme
86d340af27
ldap.c: Fix compilation warning
...
warning: comparison between signed and unsigned integer expressions
2013-09-10 20:27:52 +01:00
Jiri Hruska
5c14a7f068
imap/pop3/smtp: Speed up SSL connection initialization
...
Don't wait for the next callback call (usually 1 second) before
continuing with protocol specific connection initialization.
2013-09-10 19:47:54 +01:00
Steve Holme
2879ffacfa
ldap.c: Corrected build error from commit 857f999353
2013-09-10 19:30:07 +01:00
Steve Holme
d89eb55906
RELEASE-NOTES: Corrected duplicate in bfefe2400a
2013-09-10 15:35:20 +01:00
Steve Holme
4a85e60cfe
RELEASE-NOTES: Corrected typo from bfefe2400a
2013-09-10 14:06:50 +01:00
Steve Holme
bfefe2400a
RELEASE-NOTES: synced with 25c6890375
2013-09-10 13:12:56 +01:00
Daniel Stenberg
25c6890375
README.http2: explain nghttp2 a little
2013-09-10 00:21:27 +02:00
Steve Holme
eb6314260d
tests: Added test for POP3 TOP command
2013-09-09 17:13:28 +01:00
Steve Holme
313c38c9de
ftpserver.pl: Added support for POP3 TOP command
2013-09-09 17:13:25 +01:00
Steve Holme
ae6096471a
tests: Added test for POP3 UIDL command
2013-09-09 17:10:40 +01:00
Steve Holme
66ea5c415b
ftpserver.pl: Added support for POP3 UIDL command
2013-09-09 17:10:38 +01:00
Daniel Stenberg
2481ac358c
http2: adjust to new nghttp2_pack_settings_payload proto
...
This function was modified in nghttp2 git commit a1c3f89c72e51
2013-09-09 15:18:09 +02:00
Kamil Dudka
c639d725a3
url: handle abortion by read/write callbacks, too
...
Otherwise, the FTP protocol would unnecessarily hang 60 seconds if
aborted in the CURLOPT_HEADERFUNCTION callback.
Reported by: Tomas Mlcoch
Bug: https://bugzilla.redhat.com/1005686
2013-09-09 13:23:04 +02:00
Daniel Stenberg
857f999353
ldap: fix the build for systems with ldap_url_parse()
...
Make sure that the custom struct fields are only used by code that
doesn't use a struct defintion from the outside.
Attempts to fix the problem introduced in 3dc6fc42bf
2013-09-09 09:39:08 +02:00
Jiri Hruska
6d9cddc513
pingpong: Check SSL library buffers for already read data
...
Otherwise the connection can get stuck during various phases, waiting
for new data on the socket using select() etc., but it will never be
received as the data has already been read into SSL library.
2013-09-09 07:40:40 +01:00
Steve Holme
e20e48cbf2
imap: Fixed calculation of transfer when partial FETCH received
...
The transfer size would be calculated incorrectly if the email contained
within the FETCH response, had been partially received by the pingpong
layer. As such the following, example output, would be seen if the
amount remaining was smaller than the amount received:
* Excess found in a non pipelined read: excess = 1394, size = 262,
maxdownload = 262, bytecount = 1374
* transfer closed with -1112 bytes remaining to read
Bug: http://curl.haxx.se/mail/lib-2013-08/0170.html
Reported-by: John Dunn
2013-09-09 07:40:38 +01:00
Steve Holme
ee5e2cf6cb
ftpserver.pl: Fixed empty array checks
...
...from commits 28427b4083
and e8313697b6
.
2013-09-08 23:59:49 +01:00
Steve Holme
e8313697b6
ftpserver: Reworked AUTH support to allow for specifying the mechanisms
...
Renamed SUPPORTAUTH to AUTH and added support for specifying a list of
supported SASL mechanisms to return to the client.
Additionally added the directive to the FILEFORMAT document.
2013-09-08 21:47:56 +01:00
Steve Holme
28427b4083
ftpserver: Reworked CAPA support to allow for specifying the capabilities
...
Renamed SUPPORTCAPA to CAPA and added support for specifying a list of
supported capabilities to return to the client.
Additionally added the directive to the FILEFORMAT document.
2013-09-08 21:45:36 +01:00