Steve Holme [Sun, 6 Apr 2014 00:22:47 +0000 (01:22 +0100)]
http_negotiate_sspi: Fixed compilation when USE_HTTP_NEGOTIATE not defined
Steve Holme [Sat, 5 Apr 2014 23:57:23 +0000 (00:57 +0100)]
Makefile.vc6: Added curl_sasl_sspi.c
Steve Holme [Sat, 5 Apr 2014 23:53:47 +0000 (00:53 +0100)]
Makefile.vc6: Follow up fix to commit
45d3f00803
Steve Holme [Wed, 2 Apr 2014 21:04:13 +0000 (22:04 +0100)]
ntlm: Moved the identity generation into shared SSPI code
Steve Holme [Sat, 5 Apr 2014 23:16:30 +0000 (00:16 +0100)]
sasl: Renamed SSPI module following short name clash
Steve Holme [Wed, 2 Apr 2014 20:21:12 +0000 (21:21 +0100)]
sasl: Added initial stub functions for SSPI DIGEST-MD support
Steve Holme [Wed, 2 Apr 2014 19:53:43 +0000 (20:53 +0100)]
sasl: Combined DIGEST-MD5 message decoding and generation
Marc Hoersken [Sat, 5 Apr 2014 19:45:39 +0000 (21:45 +0200)]
Makefile.vc6: added warnless.c to fix build
Steve Holme [Sat, 5 Apr 2014 17:48:48 +0000 (18:48 +0100)]
winbuild: Updated the VC++ make instructions following commit
11025613b9
* Added information regarding the February 2003 Platform SDK for VC6
* Updated the introduction to be similar to the IDE projects README
Tatsuhiro Tsujikawa [Sat, 5 Apr 2014 09:57:20 +0000 (18:57 +0900)]
http2: Compile with current nghttp2, which supports h2-11
Steve Holme [Sat, 5 Apr 2014 17:05:03 +0000 (18:05 +0100)]
winbuild: Added Visual Studio 2005 (VC8) project files
Added a more thorough version of the VC8 project files that exist in
the "vs" folder with the intention to add support for other versions of
Visual Studio. These files support side-by-side compilation, 32-bit and
64-bit builds as well as support for some of the third-party libraries
curl uses.
Daniel Stenberg [Fri, 4 Apr 2014 15:20:55 +0000 (17:20 +0200)]
curl_easy_setopt: fix wrong version number references
Daniel Stenberg [Fri, 4 Apr 2014 15:08:28 +0000 (17:08 +0200)]
docs: this is for 7.37.0
And clarify for curl that --proxy-header now must be used for headers
that are meant for a proxy, and they will not be included if the request
is not for a proxy.
Daniel Stenberg [Thu, 20 Feb 2014 16:10:00 +0000 (17:10 +0100)]
PROXYHEADER: send these headers in "normal" proxy requests too
Updated the docs to clarify and the code accordingly, with test 1528 to
verify:
When CURLHEADER_SEPARATE is set and libcurl is asked to send a request
to a proxy but it isn't CONNECT, then _both_ header lists
(CURLOPT_HTTPHEADER and CURLOPT_PROXYHEADER) will be used since the
single request is then made for both the proxy and the server.
Daniel Stenberg [Tue, 4 Feb 2014 22:59:30 +0000 (23:59 +0100)]
test1428: verify --proxy-header
Daniel Stenberg [Tue, 4 Feb 2014 22:54:39 +0000 (23:54 +0100)]
curl.1: documented --proxy-header
Maciej Puzio [Tue, 4 Feb 2014 22:48:16 +0000 (23:48 +0100)]
curl: add --proxy-header
Daniel Stenberg [Thu, 20 Feb 2014 16:23:59 +0000 (17:23 +0100)]
symbols-in-versions: Added CURLHEADER_*
... and sorted the list
Daniel Stenberg [Tue, 4 Feb 2014 22:37:29 +0000 (23:37 +0100)]
CURLOPT_HEADEROPT: added
Modified the logic so that CURLOPT_HEADEROPT now controls if PROXYHEADER
is actually used or not.
Daniel Stenberg [Fri, 31 Jan 2014 07:10:07 +0000 (08:10 +0100)]
CURLOPT_PROXYHEADER: set headers for proxy-only
Includes docs and new test cases: 1525, 1526 and 1527
Co-written-by: Vijay Panghal
Daniel Stenberg [Fri, 4 Apr 2014 12:50:18 +0000 (14:50 +0200)]
HTTP: don't send Content-Length: 0 _and_ Expect: 100-continue
Without request body there's no point in asking for 100-continue.
Bug: http://curl.haxx.se/bug/view.cgi?id=1349
Reported-by: JimS
Daniel Stenberg [Mon, 24 Mar 2014 22:21:10 +0000 (23:21 +0100)]
ftp: in passive data connect wait for happy eyeballs sockets
When doing passive FTP, the multi state function needs to extract and
use the happy eyeballs sockets to wait for to check for completion!
Bug: http://curl.haxx.se/mail/lib-2014-02/0135.html (ruined)
Reported-by: Alan
Daniel Stenberg [Thu, 3 Apr 2014 15:03:02 +0000 (17:03 +0200)]
http2+openssl: fix compiler warnings in ALPN using code
Dan Fandrich [Thu, 3 Apr 2014 09:46:13 +0000 (11:46 +0200)]
tests: unified use of some keywords
Dan Fandrich [Thu, 3 Apr 2014 09:45:19 +0000 (11:45 +0200)]
tests: added some missing closing tags
Daniel Stenberg [Thu, 3 Apr 2014 09:33:41 +0000 (11:33 +0200)]
runtests: insist on a <keywords> section
Since all present tests now have <keywords> listed, this script will now
refuse to run a given test case if no such section is provided.
Hopefully this will help us make sure new test cases get keywords added
at start.
Daniel Stenberg [Thu, 3 Apr 2014 09:06:24 +0000 (11:06 +0200)]
tests: add keywords to the last 7 tests lacking them
Steve Holme [Mon, 31 Mar 2014 21:59:46 +0000 (22:59 +0100)]
smtp: Fixed login denied with a RFC-821 based server
In addition to commit
fe260b75e7 fixed the same issue for RFC-821 based
SMTP servers and allow the credientials to be given to curl even though
they are not used with the server.
Steve Holme [Sun, 30 Mar 2014 16:53:13 +0000 (17:53 +0100)]
tests: Added SMTP with credientials test when not supported by server
Daniel Stenberg [Tue, 1 Apr 2014 06:00:13 +0000 (08:00 +0200)]
urldata: spellfix comment
Reported-by: Melissa
Steve Holme [Mon, 31 Mar 2014 20:22:42 +0000 (21:22 +0100)]
RELEASE-NOTES: Synced with
dd07e79023
Steve Holme [Sun, 30 Mar 2014 16:32:12 +0000 (17:32 +0100)]
tests: Added SMTP with credentials test for RFC-821 based server
Added SMTP (RFC-821 only) based test case as a reference for the fix
provided by commit
fe260b75e7.
Daniel Stenberg [Mon, 31 Mar 2014 07:35:32 +0000 (09:35 +0200)]
ipv6: strip off zone identifiers in redirects too
Follow up to
9317eced984 makes test 1056 work again.
Dan Fandrich [Mon, 31 Mar 2014 07:02:55 +0000 (09:02 +0200)]
docs: Removed mention of -g hack when using IPv6 literals
This limitation was removed in commit
0bc4938e
Daniel Stenberg [Mon, 31 Mar 2014 07:00:58 +0000 (09:00 +0200)]
http2: let openssl mention the exact protocol negotiated
Remove a superfluous "negotiated http2" info line
Daniel Stenberg [Mon, 31 Mar 2014 06:40:24 +0000 (08:40 +0200)]
http2: remove _DRAFT09 from the NPN_HTTP2 enum
We're progressing throught drafts so there's no point in having a fixed
one in a symbol that'll survive.
Till Maas [Sat, 15 Mar 2014 21:42:50 +0000 (22:42 +0100)]
URL parser: IPv6 zone identifiers are now supported
Paul Marks [Sun, 30 Mar 2014 05:50:37 +0000 (07:50 +0200)]
curl: stop interpreting IPv6 literals as glob patterns.
This makes it possible to fetch from an IPv6 literal without specifying
the -g option. Globbing remains available elsehwere in the URL.
For example:
curl http://[::1]/file[1-3].txt
This creates no ambiguity, because there is no overlap between the
syntax of valid globs and valid IPv6 literals. Globs contain hyphens
and at most 1 colon, while IPv6 literals have no hyphens, and at least 2
colons.
The peek_ipv6() parser simply whitelists a set of characters and counts
colons, because the real validation happens later on. The character set
includes A-Z, in case someone decides to implement support for scopes
like [fe80::1%25eth0] in the future.
Signed-off-by: Paul Marks <pmarks@google.com>
Steve Holme [Sun, 30 Mar 2014 21:32:09 +0000 (22:32 +0100)]
test938: Updated to use file input for upload
As the second URL won't be passed input from stdin.
Steve Holme [Sun, 30 Mar 2014 21:25:25 +0000 (22:25 +0100)]
test836: Fixed incorrect username in expected output
Daniel Stenberg [Sun, 30 Mar 2014 21:36:57 +0000 (23:36 +0200)]
DISABLED: 836, 882 and 938 hang
Daniel Stenberg [Sun, 30 Mar 2014 21:15:15 +0000 (23:15 +0200)]
runtests: check protocol before data
When the protocol part fails, the data usually does too but the protocol
part is often more fundamental and often provide the clues you need to
fix the test case.
Steve Holme [Sun, 30 Mar 2014 18:59:36 +0000 (19:59 +0100)]
ftpserver.pl: Extended the full text reply regular expression
Extended the regex to include other valid characters such as those used
in the reply text of Test 836.
Daniel Stenberg [Sun, 30 Mar 2014 15:09:11 +0000 (17:09 +0200)]
keywords: sort case insensitive
Daniel Stenberg [Sun, 30 Mar 2014 15:05:22 +0000 (17:05 +0200)]
tests: remove trailing CRs from keywords
Daniel Stenberg [Sun, 30 Mar 2014 15:04:56 +0000 (17:04 +0200)]
keywords: sort keywords alphabetically
Daniel Stenberg [Sun, 30 Mar 2014 15:00:05 +0000 (17:00 +0200)]
keywords: don't use STDERR for good info
Steve Holme [Sun, 30 Mar 2014 13:55:27 +0000 (14:55 +0100)]
tests: Added email unit tests to verify login credential connection re-use
Steve Holme [Sun, 30 Mar 2014 11:05:38 +0000 (12:05 +0100)]
tests: Corrected "APOP" authentication keyword
Steve Holme [Sun, 30 Mar 2014 11:01:15 +0000 (12:01 +0100)]
tests: Replaced email authentication keywords with SASL based keywords
As the email protocols implement SASL authentication rather than IMAP,
POP3 and SMTP specific authentication, updated the authentication
keywords to reflect this.
Steve Holme [Sun, 30 Mar 2014 10:40:50 +0000 (11:40 +0100)]
tests: Added "Clear Text" authentication keyword
Steve Holme [Sun, 30 Mar 2014 10:20:19 +0000 (11:20 +0100)]
tests: Added "SASL" authentication keyword
Steve Holme [Sun, 30 Mar 2014 09:56:51 +0000 (10:56 +0100)]
imap-append.c: Fixed compilation errors on some platforms
In the initializer for len, there is no prototype for "strlen".
In this statement, there is no prototype for "memcpy".
Steve Holme [Sat, 29 Mar 2014 23:45:58 +0000 (23:45 +0000)]
ftpserver.pl: Removed some unused variables
Steve Holme [Sat, 29 Mar 2014 23:30:58 +0000 (23:30 +0000)]
ftpserver.pl: Reworked some variable names to be more meaningful
Steve Holme [Sat, 29 Mar 2014 23:10:48 +0000 (23:10 +0000)]
ftpserver.pl: Corrected some indentation in senddata()
Daniel Stenberg [Fri, 28 Mar 2014 14:47:18 +0000 (15:47 +0100)]
lib1513: fix callback proto to silence warning
Steve Holme [Sat, 29 Mar 2014 11:30:01 +0000 (11:30 +0000)]
ftpserver.pl: Added fallback to <data> support when using multiple URLs
Added support for falling back to <data> when <data1>, <data2>, etc...
don't exist in the <reply> section of a unit test.
Steve Holme [Sat, 29 Mar 2014 11:20:00 +0000 (11:20 +0000)]
ftpserver.pl: Updated email based get reply data code to use new method
Steve Holme [Sat, 29 Mar 2014 12:32:03 +0000 (12:32 +0000)]
ftpserver.pl: Fixed syntax error from commit
3a29ee41
Steve Holme [Sat, 29 Mar 2014 11:00:25 +0000 (11:00 +0000)]
ftpserver.pl: Updated argument code in STATUS_imap() to be more meaningful
Steve Holme [Sat, 29 Mar 2014 10:29:03 +0000 (10:29 +0000)]
ftpserver.pl: Introduced common method for getting a test's reply data
Steve Holme [Fri, 28 Mar 2014 18:21:27 +0000 (18:21 +0000)]
smtp: Fixed login denied when server doesn't support AUTH capability
Specifying user credentials when the SMTP server doesn't support
authentication would cause curl to display "No known authentication
mechanisms supported!" and return CURLE_LOGIN_DENIED.
Reported-by: Tom Sparrow
Bug: http://curl.haxx.se/mail/lib-2014-03/0173.html
Cody Mack [Fri, 28 Mar 2014 14:12:12 +0000 (15:12 +0100)]
winbuild: added warnless.c to fix build
Dan Fandrich [Wed, 26 Mar 2014 21:27:34 +0000 (22:27 +0100)]
hostcheck: added a system include to define struct in_addr
Dan Fandrich [Wed, 26 Mar 2014 21:06:44 +0000 (22:06 +0100)]
test1397: Fixed compilation with some SSL backends
The test is only valid when one of four SSL backends is in use,
and must otherwise return success.
Dan Fandrich [Wed, 26 Mar 2014 21:02:31 +0000 (22:02 +0100)]
test815/816: Use authentication for both URLs
The improved connection reuse logic would otherwise create a new
connection for each one, which isn't supported by the test
server, nor expected by the test.
Daniel Stenberg [Wed, 26 Mar 2014 12:22:10 +0000 (13:22 +0100)]
mkhelp: generate code for --disable-manual as well
This allows configure --disable-manual to run and build without having
to regenerate the src/tool_hugehelp.c file which otherwise is necessary
since we ship tarballs with that file present.
Reported-by: Remi Gacogne
Bug: http://curl.haxx.se/bug/view.cgi?id=1350
Daniel Stenberg [Wed, 26 Mar 2014 07:29:29 +0000 (08:29 +0100)]
bump: start the 7.37.0 race
Daniel Stenberg [Tue, 25 Mar 2014 21:57:47 +0000 (22:57 +0100)]
RELEASE-NOTES: 7.36.0
Richard J. Moore [Sat, 22 Feb 2014 15:52:58 +0000 (15:52 +0000)]
test1397: unit test for certificate name wildcard handling
Daniel Stenberg [Mon, 3 Mar 2014 10:55:23 +0000 (11:55 +0100)]
Curl_cert_hostcheck: strip trailing dots in host name and wildcard
Reported-by: Richard Moore
Daniel Stenberg [Mon, 3 Mar 2014 10:46:36 +0000 (11:46 +0100)]
Curl_cert_hostcheck: reject IP address wildcard matches
There are server certificates used with IP address in the CN field, but
we MUST not allow wild cart certs for hostnames given as IP addresses
only. Therefore we must make Curl_cert_hostcheck() fail such attempts.
Bug: http://curl.haxx.se/docs/adv_20140326B.html
Reported-by: Richard Moore
Steve Holme [Thu, 20 Feb 2014 23:51:36 +0000 (23:51 +0000)]
url: Fixed connection re-use when using different log-in credentials
In addition to FTP, other connection based protocols such as IMAP, POP3,
SMTP, SCP, SFTP and LDAP require a new connection when different log-in
credentials are specified. Fixed the detection logic to include these
other protocols.
Bug: http://curl.haxx.se/docs/adv_20140326A.html
Daniel Stenberg [Tue, 25 Mar 2014 21:40:46 +0000 (22:40 +0100)]
THANKS: 14 new friends from the 7.36.0 announcement
Daniel Stenberg [Tue, 25 Mar 2014 13:54:11 +0000 (14:54 +0100)]
RELEASE-NOTES: synced with
3ebfaf6a0399b6a
Steve Holme [Sun, 23 Mar 2014 11:01:10 +0000 (11:01 +0000)]
tool_operate: Fixed uninitialised variable under some error situations
For example when a URL is not specified or the headers file fails to
open.
Steve Holme [Sat, 22 Mar 2014 16:50:47 +0000 (16:50 +0000)]
tool_parsecfg: Reworked error handling from commit
fc59a9e1
Steve Holme [Sat, 22 Mar 2014 16:31:13 +0000 (16:31 +0000)]
tool_getparam: Removed "dead assignment" code introduced in commit
1a9b58fc
Gisle Vanem [Sat, 22 Mar 2014 15:52:48 +0000 (16:52 +0100)]
polarssl: avoid extra newlines in debug messages
The debug messages printed inside PolarSSL always seems to end with a
newline. So 'infof()' should not add one. Besides the trace 'line'
should be 'const'.
Daniel Stenberg [Thu, 20 Mar 2014 10:52:27 +0000 (11:52 +0100)]
rtsp: parse "Session:" header properly
The parser skipped the initial letter, which presumably often is
whitespace but doesn't have to be.
Reported-by: Mike Hasselberg
Bug: http://curl.haxx.se/mail/lib-2014-03/0134.html
Daniel Stenberg [Wed, 19 Mar 2014 22:28:28 +0000 (23:28 +0100)]
runtests.pl: verify specified test cases
To better allow arguments like "1 to 9999" without flooding the terminal
with error messages, the given test cases range is now checked and only
test numbers with existing files are actually run.
Dan Fandrich [Wed, 19 Mar 2014 22:10:56 +0000 (23:10 +0100)]
RELEASE-NOTES: fixed typo
Daniel Stenberg [Tue, 18 Mar 2014 07:56:13 +0000 (08:56 +0100)]
trynextip: don't store 'ai' on failed connects...
It leads to the "next family" tries starting from the wrong point and thus
fails!
Bug: http://curl.haxx.se/bug/view.cgi?id=1337
Reported-by: ricker
Daniel Stenberg [Wed, 19 Mar 2014 15:18:21 +0000 (16:18 +0100)]
RELEASE-NOTES: synced with
47f8e99e78c
Gaël PORTAY [Wed, 19 Mar 2014 14:56:13 +0000 (15:56 +0100)]
polarssl: fix possible handshake timeout issue in multi.
Because of the socket is unblocking, PolarSSL does need call to getsock to
get the action to perform in multi environment.
In some cases, it might happen we have not received yet all data to perform
the handshake. ssh_handshake returns POLARSSL_ERR_NET_WANT_READ, the state
is updated but because of the getsock has not the proper #define macro to,
the library never prevents to select socket for input thus the socket will
never be awaken when last data is available. Thus it leads to timeout.
Gaël PORTAY [Tue, 18 Mar 2014 18:18:24 +0000 (19:18 +0100)]
polarssl: break compatibility with version older than 1.3.
Remove all #ifdef/else/endif macros that ensure compatibility with polarssl
version previous than 1.3.
Gaël PORTAY [Tue, 18 Mar 2014 18:18:23 +0000 (19:18 +0100)]
polarssl: drop use of 1.2 compatibility header.
API has changed since version 1.3. A compatibility header has been created
to ensure forward compatibility for code using old API:
* x509 certificate structure has been renamed to from x509_cert to
x509_crt
* new dedicated setter for RSA certificates ssl_set_own_cert_rsa,
ssl_set_own_cert is for generic keys
* ssl_default_ciphersuites has been replaced by function
ssl_list_ciphersuites()
This patch drops the use of the compatibly header.
Daniel Stenberg [Tue, 18 Mar 2014 07:03:45 +0000 (08:03 +0100)]
polarssl: added missing end-of-comment from previous commit
Daniel Stenberg [Mon, 17 Mar 2014 19:48:06 +0000 (20:48 +0100)]
polarssl: now require 1.3.0+
Also fixed a function name change in the version requirement bump
hasufell [Mon, 17 Mar 2014 18:03:29 +0000 (19:03 +0100)]
polarssl: fix compilation
Rename x509_cert to x509_crt and add "compat-1.2.h"
include.
This would still need some more thorough conversion
in order to drop "compat-1.2.h" include.
Kamil Dudka [Fri, 7 Mar 2014 12:14:08 +0000 (13:14 +0100)]
nss: allow to enable/disable new AES GCM cipher-suites
... if built against a new enough version of NSS
Kamil Dudka [Fri, 7 Mar 2014 12:10:54 +0000 (13:10 +0100)]
nss: allow to enable/disable new HMAC-SHA256 cipher-suites
... if built against a new enough version of NSS
Kamil Dudka [Fri, 7 Mar 2014 12:02:03 +0000 (13:02 +0100)]
nss: do not enable AES cipher-suites by default
... but allow them to be enabled/disabled explicitly. The default
policy should be maintained at the NSS level.
Dan Fandrich [Sat, 15 Mar 2014 10:13:13 +0000 (11:13 +0100)]
tests: made the SASL modes separate keywords
Dan Fandrich [Sat, 15 Mar 2014 09:54:49 +0000 (10:54 +0100)]
tests: added missing HTTP NTLM auth keywords
Also, removed an unneeded strippart
Dan Fandrich [Sat, 15 Mar 2014 09:24:50 +0000 (10:24 +0100)]
tests: disable valgrind on the remaining scp/sftp tests
Dan Fandrich [Sat, 15 Mar 2014 09:23:08 +0000 (10:23 +0100)]
valgrind.supp: added another test 165 suppression
This one seems to come and go as the optimizer decides how best
to inline some functions.
Dan Fandrich [Sat, 15 Mar 2014 08:57:41 +0000 (09:57 +0100)]
ssh: prevent a logic error that could result in an infinite loop
Dan Fandrich [Thu, 13 Mar 2014 03:48:38 +0000 (04:48 +0100)]
docs: fixed a bunch of typos