Steve Holme [Sun, 7 Dec 2014 18:58:17 +0000 (18:58 +0000)]
RELEASE-NOTES: Synced with
526603ff05
Bill Nagel [Tue, 2 Dec 2014 18:36:40 +0000 (13:36 -0500)]
smb: Build with SSPI enabled
Build SMB/CIFS protocol support when SSPI is enabled.
Bill Nagel [Tue, 2 Dec 2014 18:21:52 +0000 (13:21 -0500)]
ntlm: Use Windows Crypt API
Allow the use of the Windows Crypt API for NTLMv1 functions.
Dan Fandrich [Sun, 7 Dec 2014 11:22:52 +0000 (12:22 +0100)]
cookie.c: Refactored cleanup code to simplify
Also, fixed the outdated comments on the cookie API.
Dan Fandrich [Sun, 7 Dec 2014 10:08:10 +0000 (11:08 +0100)]
get_url_file_name: Fixed crash on OOM on debug build
This caused a null-pointer dereference which caused a few dozen
torture tests to fail.
Steve Holme [Sat, 6 Dec 2014 22:18:42 +0000 (22:18 +0000)]
sws.c: Fixed compilation warning
sws.c:2191 warning: 'rc' may be used uninitialized in this function
Steve Holme [Sat, 6 Dec 2014 22:14:50 +0000 (22:14 +0000)]
ftp.c: Fixed compilation warnings when proxy support disabled
ftp.c:1827 warning: unused parameter 'newhost'
ftp.c:1827 warning: unused parameter 'newport'
Steve Holme [Sat, 6 Dec 2014 21:44:00 +0000 (21:44 +0000)]
smb: Fixed a problem with large file transfers
Fixed an issue with the message size calculation where the raw bytes
from the buffer were interpreted as signed values rather than unsigned
values.
Reported-by: Gisle Vanem
Assisted-by: Bill Nagel
Steve Holme [Sat, 6 Dec 2014 21:02:06 +0000 (21:02 +0000)]
smb: Moved the URL decoding into a separate function
Steve Holme [Sat, 6 Dec 2014 20:46:54 +0000 (20:46 +0000)]
smb: Fixed URL encoded URLs not working
Steve Holme [Sat, 6 Dec 2014 19:51:32 +0000 (19:51 +0000)]
Makefile.inc: Added our standard header and updated file formatting
Steve Holme [Sat, 6 Dec 2014 19:44:29 +0000 (19:44 +0000)]
Makefile.inc: Updated file formatting
Aligned continuation character and used space as the separator
character as per other makefile files.
Steve Holme [Sat, 6 Dec 2014 19:36:27 +0000 (19:36 +0000)]
curl_md4.h: Updated copyright year following recent edit
...and minor layout adjustment.
Patrick Monnerat [Fri, 5 Dec 2014 17:37:35 +0000 (18:37 +0100)]
SMB: Fix big endian problems. Make it OS/400 aware.
Patrick Monnerat [Fri, 5 Dec 2014 15:11:07 +0000 (16:11 +0100)]
OS400: enable NTLM authentication
Steve Holme [Fri, 5 Dec 2014 14:04:57 +0000 (14:04 +0000)]
multi.c: Fixed compilation warning
multi.c:2695: warning: declaration of `exp' shadows a global declaration
Guenter Knauf [Fri, 5 Dec 2014 13:54:25 +0000 (14:54 +0100)]
build: updated dependencies in makefiles.
Steve Holme [Fri, 5 Dec 2014 07:48:16 +0000 (07:48 +0000)]
sasl: Corrected formatting of function descriptions
Steve Holme [Fri, 5 Dec 2014 00:36:27 +0000 (00:36 +0000)]
sasl_gssapi: Added missing function description
Steve Holme [Fri, 5 Dec 2014 00:31:41 +0000 (00:31 +0000)]
RELEASE-NOTES: Provided better descriptions
As it is often difficult to choose the best description for a single
feature when it spans many commits, updated the descriptions for the
recent SMB/CIFS protocol and GSS-API additions.
Steve Holme [Fri, 5 Dec 2014 00:24:11 +0000 (00:24 +0000)]
sasl_sspi: Corrected some typos
Steve Holme [Fri, 5 Dec 2014 00:22:34 +0000 (00:22 +0000)]
sasl_sspi: Don't use hard coded sizes in Kerberos V5 security data
Don't use a hard coded size of 4 for the security layer and buffer size
in Curl_sasl_create_gssapi_security_message(), instead, use sizeof() as
we have done in the sasl_gssapi module.
Steve Holme [Fri, 5 Dec 2014 00:18:13 +0000 (00:18 +0000)]
sasl_sspi: Free the Kerberos V5 challenge as soon as we're done with it
Reduced the amount of free's required for the decoded challenge message
in Curl_sasl_create_gssapi_security_message() as a result of coding it
differently in the sasl_gssapi module.
Steve Holme [Fri, 5 Dec 2014 00:09:06 +0000 (00:09 +0000)]
gssapi: Corrected typo in comments
Steve Holme [Fri, 5 Dec 2014 00:04:42 +0000 (00:04 +0000)]
sasl_gssapi: Added body to Curl_sasl_create_gssapi_security_message()
Stefan Bühler [Mon, 24 Nov 2014 09:42:01 +0000 (10:42 +0100)]
http_perhapsrewind: don't abort CONNECT requests
...they never have a body
Stefan Bühler [Mon, 24 Nov 2014 08:23:07 +0000 (09:23 +0100)]
HTTP: Free (proxy)userpwd for NTLM/Negotiate after sending a request
Sending NTLM/Negotiate header again after successful authentication
breaks the connection with certain Proxies and request types (POST to MS
Forefront).
Stefan Bühler [Mon, 24 Nov 2014 08:18:55 +0000 (09:18 +0100)]
HTTP: don't abort connections with pending Negotiate authentication
... similarly to how NTLM works as Negotiate is in fact often NTLM with
another name.
Stefan Bühler [Thu, 27 Nov 2014 13:08:31 +0000 (14:08 +0100)]
fix gdb libtool invocation path
Steve Holme [Thu, 4 Dec 2014 22:29:41 +0000 (22:29 +0000)]
sasl_gssapi: Fixed missing include from commit
d3cca934ee
Jay Satiro [Thu, 20 Nov 2014 17:46:49 +0000 (12:46 -0500)]
examples: remove sony.com from 10-at-a-time
Prior to this change the 10-at-a-time example showed CURLE_RECV_ERROR
for the sony website because it ends the connection when the request is
missing a user agent.
Steve Holme [Thu, 4 Dec 2014 22:19:24 +0000 (22:19 +0000)]
sasl_gssapi: Fixed missing decoding debug failure message
Steve Holme [Thu, 4 Dec 2014 21:59:20 +0000 (21:59 +0000)]
sasl_gssapi: Fixed honouring of no mutual authentication
Steve Holme [Thu, 4 Dec 2014 21:04:01 +0000 (21:04 +0000)]
sasl_sspi: Added more Kerberos V5 decoding debug failure messages
Anthon Pang [Thu, 4 Dec 2014 19:51:06 +0000 (14:51 -0500)]
docs: Fix FAILONERROR typos
It returns error for >= 400 HTTP responses.
Bug: https://github.com/bagder/curl/pull/129
Peter Wu [Thu, 4 Dec 2014 19:01:41 +0000 (11:01 -0800)]
tool: fix CURLOPT_UNIX_SOCKET_PATH in --libcurl output
Mark CURLOPT_UNIX_SOCKET_PATH as string to ensure that it ends up as
option in the file generated by --libcurl.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 4 Dec 2014 22:46:51 +0000 (14:46 -0800)]
opts: fix CURLOPT_UNIX_SOCKET_PATH formatting
Add .nf and .fi such that the code gets wrapped in a pre on the web.
Fixed grammar, fixed formatting of the "See also" items.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Patrick Monnerat [Thu, 4 Dec 2014 14:34:03 +0000 (15:34 +0100)]
OS400: enable Unix sockets.
Daniel Stenberg [Thu, 4 Dec 2014 05:15:41 +0000 (21:15 -0800)]
RELEASE-NOTES: synced with
b216427e73b5e9
Daniel Stenberg [Thu, 4 Dec 2014 02:42:24 +0000 (18:42 -0800)]
opts: added CURLOPT_UNIX_SOCKET_PATH to Makefile.am
Daniel Stenberg [Thu, 4 Dec 2014 01:46:15 +0000 (02:46 +0100)]
updateconninfo: clear destination struct before getsockname()
Otherwise we may read uninitialized bytes later in the unix-domain
sockets case.
Daniel Stenberg [Wed, 3 Dec 2014 01:35:12 +0000 (02:35 +0100)]
curl.1: added --unix-socket
Peter Wu [Thu, 27 Nov 2014 22:59:26 +0000 (23:59 +0100)]
tool: add --unix-socket option
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 27 Nov 2014 22:59:25 +0000 (23:59 +0100)]
libcurl: add UNIX domain sockets support
The ability to do HTTP requests over a UNIX domain socket has been
requested before, in Apr 2008 [0][1] and Sep 2010 [2]. While a
discussion happened, no patch seems to get through. I decided to give it
a go since I need to test a nginx HTTP server which listens on a UNIX
domain socket.
One patch [3] seems to make it possible to use the
CURLOPT_OPENSOCKETFUNCTION function to gain a UNIX domain socket.
Another person wrote a Go program which can do HTTP over a UNIX socket
for Docker[4] which uses a special URL scheme (though the name contains
cURL, it has no relation to the cURL library).
This patch considers support for UNIX domain sockets at the same level
as HTTP proxies / IPv6, it acts as an intermediate socket provider and
not as a separate protocol. Since this feature affects network
operations, a new feature flag was added ("unix-sockets") with a
corresponding CURL_VERSION_UNIX_SOCKETS macro.
A new CURLOPT_UNIX_SOCKET_PATH option is added and documented. This
option enables UNIX domain sockets support for all requests on the
handle (replacing IP sockets and skipping proxies).
A new configure option (--enable-unix-sockets) and CMake option
(ENABLE_UNIX_SOCKETS) can disable this optional feature. Note that I
deliberately did not mark this feature as advanced, this is a
feature/component that should easily be available.
[0]: http://curl.haxx.se/mail/lib-2008-04/0279.html
[1]: http://daniel.haxx.se/blog/2008/04/14/http-over-unix-domain-sockets/
[2]: http://sourceforge.net/p/curl/feature-requests/53/
[3]: http://curl.haxx.se/mail/lib-2008-04/0361.html
[4]: https://github.com/Soulou/curl-unix-socket
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 27 Nov 2014 22:59:24 +0000 (23:59 +0100)]
tests: add two HTTP over UNIX socket tests
test1435: a simple test that checks whether a HTTP request can be
performed over the UNIX socket. The hostname/port are interpreted
by sws and should be ignored by cURL.
test1436: test for the ability to do two requests to the same host,
interleaved with one to a different hostname.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 27 Nov 2014 22:59:23 +0000 (23:59 +0100)]
tests: add HTTP UNIX socket server testing support
The variable `$ipvnum` can now contain "unix" besides the integers 4
and 6 since the variable. Functions which receive this parameter
have their `$port` parameter renamed to `$port_or_path` to support a
path to the UNIX domain socket (as a "port" is only meaningful for TCP).
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 27 Nov 2014 22:59:22 +0000 (23:59 +0100)]
sws: try to remove socket and retry bind
If sws is killed it might leave a stale socket file on the filesystem
which would cause an EADDRINUSE error. After this patch, it is checked
whether the socket is really stale and if so, the socket file gets
removed and another bind is executed.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Wed, 3 Dec 2014 01:20:00 +0000 (02:20 +0100)]
sws: add UNIX domain socket support
This extends sws with a --unix-socket option which causes the port to
be ignored (as the server now listens on the path specified by
--unix-socket). This feature will be available in the following patch
that enables checking for UNIX domain socket support.
Proxy support (CONNECT) is not considered nor tested. It does not make
sense anyway, first connecting through a TCP proxy, then let that TCP
proxy connect to a UNIX socket.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 27 Nov 2014 22:59:20 +0000 (23:59 +0100)]
sws: restrict TCP_NODELAY to IP sockets
TCP_NODELAY does not make sense for Unix sockets, so enable it only if
the socket is using IP.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Dave Reisner [Wed, 3 Dec 2014 19:56:34 +0000 (14:56 -0500)]
curl.1: fix trivial typo
Steve Holme [Wed, 3 Dec 2014 19:51:32 +0000 (19:51 +0000)]
sasl_gssapi: Added body to Curl_sasl_create_gssapi_user_message()
Steve Holme [Wed, 3 Dec 2014 18:57:48 +0000 (18:57 +0000)]
sasl_gssapi: Added body to Curl_sasl_gssapi_cleanup()
Steve Holme [Wed, 3 Dec 2014 18:38:43 +0000 (18:38 +0000)]
sasl_gssapi: Added Curl_sasl_build_gssapi_spn() function
Added helper function for returning a GSS-API compatible SPN.
Daniel Stenberg [Wed, 3 Dec 2014 14:20:40 +0000 (06:20 -0800)]
NSS: enable the CAPATH option
Bug: http://curl.haxx.se/bug/view.cgi?id=1457
Patch-by: Tomasz Kojm
Steve Holme [Wed, 3 Dec 2014 07:13:30 +0000 (07:13 +0000)]
sasl_gssapi: Enable USE_KERBEROS5 for GSS-API based builds
Steve Holme [Wed, 3 Dec 2014 06:59:41 +0000 (06:59 +0000)]
sasl_gssapi: Added GSS-API based Kerberos V5 variables
Steve Holme [Wed, 3 Dec 2014 00:00:40 +0000 (00:00 +0000)]
sws.c: Fixed compilation warning when IPv6 is disabled
sws.c:69: warning: comma at end of enumerator list
Steve Holme [Tue, 2 Dec 2014 22:21:58 +0000 (22:21 +0000)]
sasl_gssapi: Made log_gss_error() a common GSS-API function
Made log_gss_error() a common function so that it can be used in both
the http_negotiate code as well as the curl_sasl_gssapi code.
Steve Holme [Tue, 2 Dec 2014 21:52:38 +0000 (21:52 +0000)]
sasl_gssapi: Introduced GSS-API based SASL module
Added the initial version of curl_sasl_gssapi.c and updated the project
files in preparation for adding GSS-API based Kerberos V5 support.
Steve Holme [Tue, 2 Dec 2014 21:04:23 +0000 (21:04 +0000)]
smb: Don't try to connect with empty credentials
On some platforms curl would crash if no credentials were used. As such
added detection of such a use case to prevent this from happening.
Reported-by: Gisle Vanem
Steve Holme [Tue, 2 Dec 2014 20:50:49 +0000 (20:50 +0000)]
smb.c: Coding policing of pointer usage
Steve Holme [Tue, 2 Dec 2014 18:36:24 +0000 (18:36 +0000)]
configure: Fixed inclusion of SMB when no crypto engines available
Guenter Knauf [Mon, 1 Dec 2014 15:37:19 +0000 (16:37 +0100)]
build: in Makefile.m32 simplified autodetection.
Peter Wu [Thu, 27 Nov 2014 22:59:19 +0000 (23:59 +0100)]
sws: move away from IPv4/IPv4-only assumption
Instead of depending the socket domain type on use_ipv6, specify the
domain type (AF_INET / AF_INET6) as variable. An enum is used here with
switch to avoid compiler warnings in connect_to, complaining that rc
is possibly undefined (which is not possible as socket_domain is
always set).
Besides abstracting the socket type, make the debugging messages be
independent on IP (introduce location_str which points to "port XXXXX").
Rename "ipv_inuse" to "socket_type" and tighten the scope (main).
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 27 Nov 2014 22:59:18 +0000 (23:59 +0100)]
lib/connect: restrict IP/TCP options to said sockets
This patch prepares for adding UNIX domain sockets support.
TCP_NODELAY and TCP_KEEPALIVE are specific to TCP/IP sockets, so do not
apply these to other socket types. bindlocal only works for IP sockets
(independent of TCP/UDP), so filter that out too for other types.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Daniel Stenberg [Sun, 30 Nov 2014 22:11:44 +0000 (23:11 +0100)]
smb.c: use size_t as input argument types for msg sizes
This fixes warnings about conversions to int
Steve Holme [Sun, 30 Nov 2014 22:01:13 +0000 (22:01 +0000)]
version: The next release will become 7.40.0
Bill Nagel [Sun, 30 Nov 2014 21:51:26 +0000 (16:51 -0500)]
docs: Updated for the SMB protocol
This patch updates the documentation for the SMB/CIFS protocol.
Steve Holme [Sun, 30 Nov 2014 21:28:22 +0000 (21:28 +0000)]
curl tool: Exclude SMB from the protocol redirect
As local files could be accessed through \\localhost\c$.
Bill Nagel [Sun, 30 Nov 2014 16:27:03 +0000 (11:27 -0500)]
curl tool: Enable support for the SMB protocol
This patch enables SMB/CIFS support in the curl command-line tool.
Steve Holme [Sun, 30 Nov 2014 21:14:42 +0000 (21:14 +0000)]
smb.c: Fixed compilation warnings
smb.c:398: warning: comparison of integers of different signs:
'ssize_t' (aka 'long') and 'unsigned long'
smb.c:443: warning: comparison of integers of different signs:
'ssize_t' (aka 'long') and 'unsigned long'
Steve Holme [Sun, 30 Nov 2014 20:56:01 +0000 (20:56 +0000)]
libcurl: Exclude SMB from the protocol redirect
As local files could be accessed through \\localhost\c$.
Bill Nagel [Sun, 30 Nov 2014 16:18:46 +0000 (11:18 -0500)]
libcurl: Enable support for the SMB protocol
This patch enables SMB/CIFS support in libcurl.
Steve Holme [Sun, 30 Nov 2014 20:10:23 +0000 (20:10 +0000)]
smb.c: Fixed compilation warnings
smb.c:322: warning: conversion to 'short unsigned int' from 'unsigned
int' may alter its value
smb.c:323: warning: conversion to 'short unsigned int' from 'unsigned
int' may alter its value
smb.c:482: warning: conversion to 'short unsigned int' from 'int' may
alter its value
smb.c:521: warning: conversion to 'unsigned int' from 'curl_off_t' may
alter its value
smb.c:549: warning: conversion to 'unsigned int' from 'curl_off_t' may
alter its value
smb.c:550: warning: conversion to 'short unsigned int' from 'int' may
alter its value
Steve Holme [Sun, 30 Nov 2014 18:56:36 +0000 (18:56 +0000)]
smb.c: Renamed SMB command message variables to avoid compiler warnings
smb.c:489: warning: declaration of 'close' shadows a global declaration
smb.c:511: warning: declaration of 'read' shadows a global declaration
smb.c:528: warning: declaration of 'write' shadows a global declaration
Steve Holme [Sun, 30 Nov 2014 18:29:23 +0000 (18:29 +0000)]
smb.c: Fixed compilation warnings
smb.c:212: warning: unused parameter 'done'
smb.c:380: warning: ISO C does not allow extra ';' outside of a function
smb.c:812: warning: unused parameter 'premature'
smb.c:822: warning: unused parameter 'dead'
Steve Holme [Sun, 30 Nov 2014 18:11:16 +0000 (18:11 +0000)]
smb.c: Fixed compilation warnings
smb.c:311: warning: conversion from 'unsigned __int64' to 'u_short',
possible loss of data
smb.c:425: warning: conversion from '__int64' to 'unsigned short',
possible loss of data
smb.c:452: warning: conversion from '__int64' to 'unsigned short',
possible loss of data
Steve Holme [Sun, 30 Nov 2014 18:07:24 +0000 (18:07 +0000)]
smb.c: Fixed compilation warnings
smb.c:162: error: comma at end of enumerator list
smb.c:469: warning: conversion from 'size_t' to 'unsigned short',
possible loss of data
smb.c:517: warning: conversion from 'curl_off_t' to 'unsigned int',
possible loss of data
smb.c:545: warning: conversion from 'curl_off_t' to 'unsigned int',
possible loss of data
Bill Nagel [Sun, 30 Nov 2014 16:09:41 +0000 (11:09 -0500)]
smb: Added initial SMB functionality
Initial implementation of the SMB/CIFS protocol.
Bill Nagel [Sun, 30 Nov 2014 15:39:14 +0000 (10:39 -0500)]
smb: Added SMB handler interfaces
Added the SMB and SMBS handler interface structures and associated
functions required for SMB/CIFS operation.
Steve Holme [Sun, 30 Nov 2014 14:48:01 +0000 (14:48 +0000)]
transfer: Code style policing
Prefer ! rather than NULL in if statements, added comments and updated
function spacing, argument spacing and line spacing to be more readble.
Steve Holme [Sun, 30 Nov 2014 14:45:20 +0000 (14:45 +0000)]
transfer: Fixed existing scratch buffer being checked for NULL twice
If the scratch buffer already existed when the CRLF conversion was
performed then the buffer pointer would be checked twice for NULL. This
second check is only necessary if the call to malloc() was performed by
the first check.
Steve Holme [Sun, 30 Nov 2014 14:24:35 +0000 (14:24 +0000)]
smtp: Fixed dot stuffing being performed when no new data read
Whilst I had moved the dot stuffing code from being performed before
CRLF conversion takes place to after it, in commit
4bd860a001, I had
moved it outside the 'when something read' block of code when meant
it could perform the dot stuffing twice on partial send if nread
happened to contain the right values. It also meant the function could
potentially read past the end of buffer. This was highlighted by the
following warning:
warning: `nread' might be used uninitialized in this function
Daniel Stenberg [Sat, 29 Nov 2014 22:06:04 +0000 (23:06 +0100)]
smb.h: fixed picky compiler warning
smb.h:30:16: error: comma at end of enumerator list [-Werror=pedantic]
Steve Holme [Sat, 29 Nov 2014 21:32:02 +0000 (21:32 +0000)]
tests: Disable test 1013 until SMB is fully added
Bill Nagel [Sat, 29 Nov 2014 19:19:23 +0000 (14:19 -0500)]
smb: Added SMB protocol and port definitions
Added the necessary protocol and port definitions in order to support
SMB/CIFS.
Bill Nagel [Sat, 29 Nov 2014 19:03:53 +0000 (14:03 -0500)]
smb: Added internal SMB definitions and structures
Added the internal definitions and structures necessary for SMB/CIFS
support.
Bill Nagel [Sat, 29 Nov 2014 18:33:52 +0000 (13:33 -0500)]
smb: Added SMB connection structure
Added the connection structure that will be required in urldata.h for
SMB/CIFS based connections.
Bill Nagel [Sat, 29 Nov 2014 18:12:44 +0000 (13:12 -0500)]
smb: Added initial source files for SMB
Added the initial source files and updated the relevant project files in
order to support SMB/CIFS.
Bill Nagel [Sat, 29 Nov 2014 17:59:29 +0000 (12:59 -0500)]
smb: Added configuration options for SMB
Added --enable-smb and --disable-smb configuration options for the
upcoming SMB/CIFS protocol support.
Peter Wu [Thu, 27 Nov 2014 22:59:17 +0000 (23:59 +0100)]
runtests.pl: fix startup of IPv6 servers
Commit curl-7_23_1
-143-g8218064 changed the parameter of
responsive_http_server to accept types other than IPv6 (converting
from a boolean to a string), but only considered the lower-case "ipv6"
and not the "IPv6" variant. This caused all servers to start in IPv4
mode instead.
This patch converts the remaining cases to "ipv6". While not strictly
necessary for the run*server variants, these got also converted for
consistency and to prevent future errors.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Peter Wu [Thu, 27 Nov 2014 22:59:16 +0000 (23:59 +0100)]
runtests.pl: fix warning message, remove duplicate value
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Steve Holme [Thu, 27 Nov 2014 22:11:23 +0000 (22:11 +0000)]
http.c: Fixed compilation warnings from features being disabled
warning: unused variable 'data'
warning: variable 'addcookies' set but not used
...and some very minor coding style policing.
Steve Holme [Thu, 27 Nov 2014 21:03:20 +0000 (21:03 +0000)]
RELEASE-NOTES: Synced with
c5399c827d
Steve Holme [Wed, 26 Nov 2014 23:23:31 +0000 (23:23 +0000)]
tests: Added SMTP with --crlf test case
Steve Holme [Wed, 26 Nov 2014 23:04:32 +0000 (23:04 +0000)]
docs: Updated for commit
4bd860a001 and SMTP Unix line ending conversion
Steve Holme [Wed, 26 Nov 2014 22:58:39 +0000 (22:58 +0000)]
smtp: Fixed const'ness of nread parameter in Curl_smtp_escape_eob()
...and some comment typos!
Steve Holme [Wed, 26 Nov 2014 22:44:28 +0000 (22:44 +0000)]
smtp: Added support for the conversion of Unix newlines during mail send
Added support for the automatic conversion of Unix newlines to CRLF
during mail uploads.
Feature: http://curl.haxx.se/bug/view.cgi?id=1456
Steve Holme [Tue, 25 Nov 2014 23:23:42 +0000 (23:23 +0000)]
CURLOPT_CRLF.3: Fixed inclusion of SMTP in listed protocols
Daniel Stenberg [Tue, 25 Nov 2014 13:25:02 +0000 (14:25 +0100)]
curl*3: added small examples
and some minor edits