Sergei Nikulov [Tue, 2 Aug 2016 10:43:23 +0000 (13:43 +0300)]
travis: removed option to rebuild autotool from source
Fixes #943
Daniel Stenberg [Wed, 3 Aug 2016 07:36:27 +0000 (09:36 +0200)]
bump: start working toward 7.50.2
Daniel Stenberg [Wed, 3 Aug 2016 06:37:16 +0000 (08:37 +0200)]
THANKS: 7 new contributors from the 7.50.1 release
Daniel Stenberg [Tue, 2 Aug 2016 09:30:41 +0000 (11:30 +0200)]
RELEASE-NOTES: 7.50.1
Daniel Stenberg [Sat, 30 Jul 2016 22:51:48 +0000 (00:51 +0200)]
TLS: only reuse connections with the same client cert
CVE-2016-5420
Bug: https://curl.haxx.se/docs/adv_20160803B.html
Daniel Stenberg [Fri, 1 Jul 2016 11:32:31 +0000 (13:32 +0200)]
TLS: switch off SSL session id when client cert is used
CVE-2016-5419
Bug: https://curl.haxx.se/docs/adv_20160803A.html
Reported-by: Bru Rom
Contributions-by: Eric Rescorla and Ray Satiro
Daniel Stenberg [Sat, 30 Jul 2016 23:09:04 +0000 (01:09 +0200)]
curl_multi_cleanup: clear connection pointer for easy handles
CVE-2016-5421
Bug: https://curl.haxx.se/docs/adv_20160803C.html
Reported-by: Marcelo Echeverria and Fernando Muñoz
Daniel Stenberg [Tue, 2 Aug 2016 22:24:08 +0000 (00:24 +0200)]
KNOWN_BUGS: SOCKS proxy not working via IPv6
Closes #835
Daniel Stenberg [Tue, 2 Aug 2016 22:21:42 +0000 (00:21 +0200)]
KNOWN_BUGS: CURLOPT_SEEKFUNCTION not called with CURLFORM_STREAM
Closes #768
Daniel Stenberg [Tue, 2 Aug 2016 22:19:53 +0000 (00:19 +0200)]
KNOWN_BUGS: transfer-encoding: chunked in HTTP/2
Closes #662
Daniel Stenberg [Tue, 2 Aug 2016 22:15:58 +0000 (00:15 +0200)]
TODO: Provide cmake config-file
Closes #885
Patrick Monnerat [Tue, 2 Aug 2016 12:21:31 +0000 (14:21 +0200)]
os400: define BUILDING_LIBCURL in make script.
Daniel Stenberg [Mon, 1 Aug 2016 21:40:27 +0000 (23:40 +0200)]
RELEASE-NOTES: synced with
aa9f536a18b
Thomas Glanzmann [Mon, 1 Aug 2016 17:16:42 +0000 (13:16 -0400)]
mbedtls: Fix debug function name
This patch is necessary so that curl compiles if MBEDTLS_DEBUG is
defined.
Bug: https://curl.haxx.se/mail/lib-2016-08/0001.html
Sergei Nikulov [Mon, 1 Aug 2016 12:42:15 +0000 (15:42 +0300)]
travis: fix OSX build by re-installing libtool
Apparently due to a broken homebrew install
fixes #934
Closes #939
Martin Vejnár [Mon, 1 Aug 2016 08:18:55 +0000 (10:18 +0200)]
win32: fix a potential memory leak in Curl_load_library
If a call to GetSystemDirectory fails, the `path` pointer that was
previously allocated would be leaked. This makes sure that `path` is
always freed.
Closes #938
Daniel Stenberg [Sun, 31 Jul 2016 09:48:44 +0000 (11:48 +0200)]
include: revert
9adf3c4 and make public types void * again
Many applications assume the actual contents of the public types and use
that do for example forward declarations (saving them from including our
public header) which then breaks when we switch from void * to a struct
*.
I'm not convinced we were wrong, but since this practise seems
widespread enough I'm willing to (partly) step down.
Now libcurl uses the struct itself when it is built and it allows
applications to use the struct type if CURL_STRICTER is defined at the
time of the #include.
Reported-by: Peter Frühberger
Fixes #926
Yonggang Luo [Thu, 14 Jul 2016 18:16:18 +0000 (02:16 +0800)]
cmake: Fix for schannel support
The check_library_exists_concat do not check crypt32 library properly.
So include it directly.
Bug: https://github.com/curl/curl/pull/917
Reported-by: Yonggang Luo
Bug: https://github.com/curl/curl/issues/935
Reported-by: Alain Danteny
Jay Satiro [Thu, 28 Jul 2016 04:52:44 +0000 (00:52 -0400)]
Revert "travis: Install libtool for OS X builds"
Didn't work.
This reverts commit
50723585ed380744358de054e2a55dccee65dfd7.
Jay Satiro [Thu, 28 Jul 2016 04:36:55 +0000 (00:36 -0400)]
travis: Install libtool for OS X builds
CI is failing due to missing libtoolize, so I'm trying this.
Viktor Szakats [Tue, 26 Jul 2016 14:36:29 +0000 (16:36 +0200)]
TODO: minor typo in last commit
merged #931
Daniel Stenberg [Tue, 26 Jul 2016 14:01:50 +0000 (16:01 +0200)]
TODO: Timeout idle connections from the pool
Patrick Monnerat [Mon, 25 Jul 2016 16:58:23 +0000 (18:58 +0200)]
os400: minimum supported OS version: V6R1M0.
Do not log compilation informational messages.
Jay Satiro [Sun, 24 Jul 2016 06:49:47 +0000 (02:49 -0400)]
tests: Fix for http/2 feature
Bug: https://curl.haxx.se/mail/lib-2016-07/0070.html
Reported-by: Paul Howarth
Steve Holme [Sat, 23 Jul 2016 20:34:46 +0000 (21:34 +0100)]
README: Mention wolfSSL in the 'Dependencies' section
Steve Holme [Fri, 22 Jul 2016 19:42:20 +0000 (20:42 +0100)]
vauth.h: No need to query HAVE_GSSAPI || USE_WINDOWS_SSPI for SPNEGO
As SPNEGO is only defined when these pre-processor variables are defined
there is no need to query them explicitly.
Steve Holme [Fri, 22 Jul 2016 19:38:32 +0000 (20:38 +0100)]
spnego: Corrected miss-placed * in Curl_auth_spnego_cleanup() declaration
Typo introduced in commit
ad5e9bfd5d.
Daniel Stenberg [Thu, 21 Jul 2016 23:47:13 +0000 (01:47 +0200)]
SECURITY: mention how to get windows-specific CVEs
... and make the distros link a proper link
Dan Fandrich [Thu, 21 Jul 2016 15:06:04 +0000 (17:06 +0200)]
test558: fix test by stripping file paths from FD lines
Kamil Dudka [Thu, 21 Jul 2016 11:03:16 +0000 (13:03 +0200)]
tests: distribute the http2-server.pl script, too
Kamil Dudka [Thu, 21 Jul 2016 10:49:43 +0000 (12:49 +0200)]
docs: distribute the CURLINFO_HTTP_VERSION(3) man page, too
Daniel Stenberg [Thu, 21 Jul 2016 09:16:08 +0000 (11:16 +0200)]
bump: start working on 7.50.1
Daniel Stenberg [Wed, 20 Jul 2016 23:53:01 +0000 (01:53 +0200)]
RELEASE-NOTES: version 7.50.0 ready
Daniel Stenberg [Wed, 20 Jul 2016 22:34:01 +0000 (00:34 +0200)]
THANKS: 13 new contributors from the 7.50.0 release
Jay Satiro [Thu, 21 Jul 2016 05:37:29 +0000 (01:37 -0400)]
winbuild: fix embedded manifest option
Embedded manifest option didn't work due to typo.
Reported-by: Stefan Kanthak
Jay Satiro [Thu, 21 Jul 2016 02:00:45 +0000 (22:00 -0400)]
vauth: Fix memleak by freeing credentials if out of memory
This is a follow up to the parent commit
dcdd4be which fixes one leak
but creates another by failing to free the credentials handle if out of
memory. Also there's a second location a few lines down where we fail to
do same. This commit fixes both of those issues.
Saurav Babu [Wed, 20 Jul 2016 09:08:02 +0000 (11:08 +0200)]
vauth: Fixed memory leak due to function returning without free
This patch allocates memory to "output_token" only when it is required
so that memory is not leaked if function returns.
Daniel Stenberg [Wed, 20 Jul 2016 21:04:06 +0000 (23:04 +0200)]
test558: updated after ipv6-check move
Follow-up commit to
c50980807c5 to make this test pass.
Jay Satiro [Wed, 20 Jul 2016 06:49:19 +0000 (02:49 -0400)]
connect: disable TFO on Linux when using SSL
- Linux TFO + TLS is not implemented yet.
Bug: https://github.com/curl/curl/issues/907
Daniel Stenberg [Tue, 19 Jul 2016 21:10:39 +0000 (23:10 +0200)]
ROADMAP: QUIC and TLS 1.3
Daniel Stenberg [Tue, 19 Jul 2016 21:04:26 +0000 (23:04 +0200)]
RELEASE-NOTES: synced with
c50980807c5
Brian Prodoehl [Fri, 15 Jul 2016 15:53:13 +0000 (11:53 -0400)]
curl_global_init: Check if IPv6 works
- Curl_ipv6works() is not thread-safe until after the first call, so
call it once during global init to avoid a possible race condition.
Bug: https://github.com/curl/curl/issues/915
PR: https://github.com/curl/curl/pull/918
Timothy Polich [Thu, 14 Jul 2016 01:45:32 +0000 (18:45 -0700)]
CURLMOPT_SOCKETFUNCTION.3: fix typo
Closes https://github.com/curl/curl/pull/914
Miroslav Franc [Wed, 13 Jul 2016 16:43:18 +0000 (18:43 +0200)]
library: Fix memory leaks found during static analysis
Closes https://github.com/curl/curl/pull/913
Viktor Szakats [Tue, 12 Jul 2016 20:44:31 +0000 (22:44 +0200)]
cookie.c: Fix misleading indentation
Closes https://github.com/curl/curl/pull/911
Jay Satiro [Sat, 9 Jul 2016 07:05:55 +0000 (03:05 -0400)]
FAQ: Update FTP directory listing section for MLSD command
Explain how some FTP servers support the machine readable listing
format MLSD from RFC 3659 and compare it to LIST.
Ref: https://github.com/curl/curl/issues/906
Sergei Nikulov [Wed, 22 Jun 2016 12:42:10 +0000 (15:42 +0300)]
Appveyor: Updates for options - CURL_STATICLIB/BUILD_TESTING
Closes #892
Daniel Stenberg [Thu, 30 Jun 2016 21:45:49 +0000 (23:45 +0200)]
TODO: 17.4 also brings more HTTP/2 support
Daniel Stenberg [Thu, 30 Jun 2016 21:42:06 +0000 (23:42 +0200)]
TODO: try next proxy if one doesn't work
Closes #896
Daniel Stenberg [Wed, 29 Jun 2016 21:11:43 +0000 (23:11 +0200)]
conn: don't free easy handle data in handler->disconnect
Reported-by: Gou Lingfeng
Bug: https://curl.haxx.se/mail/lib-2016-06/0139.html
Daniel Stenberg [Wed, 29 Jun 2016 21:06:32 +0000 (23:06 +0200)]
test1244: test different proxy ports same URL
Daniel Stenberg [Wed, 29 Jun 2016 14:00:46 +0000 (16:00 +0200)]
curl_global_init.3: improved formatting of the flags
Daniel Stenberg [Wed, 29 Jun 2016 13:57:44 +0000 (15:57 +0200)]
curl_global_init.3: expand on the SSL and WIN32 bits purpose
Reported-by: Richard Gray
Bug: https://curl.haxx.se/mail/lib-2016-06/0136.html
Michael Kaufmann [Tue, 21 Jun 2016 20:43:58 +0000 (22:43 +0200)]
cleanup: minor code cleanup in Curl_http_readwrite_headers()
- the expression of an 'if' was always true
- a 'while' contained a condition that was always true
- use 'if(k->exp100 > EXP100_SEND_DATA)' instead of 'if(k->exp100)'
- fixed a typo
Closes #889
Daniel Stenberg [Tue, 28 Jun 2016 13:28:04 +0000 (15:28 +0200)]
SFTP: set a generic error when no SFTP one exists...
... as otherwise we could get a 0 which would count as no error and we'd
wrongly continue and could end up segfaulting.
Bug: https://curl.haxx.se/mail/lib-2016-06/0052.html
Reported-by: 暖和的和暖
Daniel Stenberg [Tue, 28 Jun 2016 13:02:46 +0000 (15:02 +0200)]
ROADMAP: http2 tests are merged, mention http2 perf
Daniel Stenberg [Tue, 28 Jun 2016 12:09:08 +0000 (14:09 +0200)]
docs/README.md: to render nicer pages on github
... as previously the README.cmake would be picked and put at the bottom
of the docs page there and it wasn't very representative!
Daniel Stenberg [Tue, 28 Jun 2016 11:58:07 +0000 (13:58 +0200)]
README.md: change host name for the svg logo
rawgit.com asks to use the domain cdn.rawgit.com for production
See #900
Viktor Szakats [Tue, 28 Jun 2016 11:00:05 +0000 (13:00 +0200)]
README.md: use the SVG logo
Daniel Stenberg [Tue, 28 Jun 2016 08:41:22 +0000 (10:41 +0200)]
README.md: logo on top!
Daniel Stenberg [Tue, 28 Jun 2016 06:24:16 +0000 (08:24 +0200)]
KNOWN_BUGS: 3.4 POP3 expects "CRLF.CRLF" eob for some
Closes #740
Daniel Stenberg [Mon, 27 Jun 2016 15:06:52 +0000 (17:06 +0200)]
RELEASE-NOTES: synced with
d61c80515aa8
Michael Osipov [Fri, 24 Jun 2016 13:17:53 +0000 (15:17 +0200)]
acinclude.m4: improve autodetection of CA bundle on FreeBSD
The FreeBSD Port security/ca_root_nss installs the Mozilla NSS CA bundle
to /usr/local/share/certs/ca-root-nss.crt. Use this bundle in the
discovery process.
This change also removes the former FreeBSD path that has been obsolete
for 8 years since this FreeBSD ports commit:
https://svnweb.freebsd.org/ports/head/security/?view=revision&revision=215953
Closes #894
Daniel Stenberg [Wed, 22 Jun 2016 12:23:46 +0000 (14:23 +0200)]
configure: don't specify .lib for libs on windows
Another follow up for crypt32.lib linking with winssl
Daniel Stenberg [Wed, 22 Jun 2016 11:50:56 +0000 (13:50 +0200)]
configure: fix winssl LIBS change typo
follow-up from
120bf29e
Daniel Stenberg [Wed, 22 Jun 2016 10:06:47 +0000 (12:06 +0200)]
TODO: "TCP Fast Open" is done, add monitor pool connections
Daniel Stenberg [Wed, 22 Jun 2016 09:57:25 +0000 (11:57 +0200)]
configure: add crypt32.lib for winssl builds
Necessary since
6cabd78531f
Daniel Stenberg [Wed, 22 Jun 2016 09:07:05 +0000 (11:07 +0200)]
Makefile.vc: link with crypt32.lib for winssl builds
Necessary since
6cabd78531f
Fixes #853
Joel Depooter [Wed, 1 Jun 2016 23:29:32 +0000 (16:29 -0700)]
VC: Add crypt32.lib to Visual Sudio project template files
Closes #854
Daniel Stenberg [Wed, 22 Jun 2016 08:53:28 +0000 (10:53 +0200)]
vc: fix the build for schannel certinfo support
Broken since
6cabd785, which adds use of the Curl_extract_certinfo
function from the x509asn1.c file.
Daniel Stenberg [Tue, 21 Jun 2016 17:31:24 +0000 (19:31 +0200)]
typedefs: use the full structs in internal code...
... and save the typedef'ed names for headers and external APIs.
Daniel Stenberg [Tue, 21 Jun 2016 13:47:12 +0000 (15:47 +0200)]
internals: rename the SessionHandle struct to Curl_easy
Daniel Stenberg [Tue, 21 Jun 2016 12:39:33 +0000 (14:39 +0200)]
headers: forward declare CURL, CURLM and CURLSH as structs
Instead of typedef'ing to void, typedef to their corresponding actual
struct names to allow compilers to type-check.
Assisted-by: Reinhard Max
Jay Satiro [Mon, 13 Jun 2016 03:47:12 +0000 (23:47 -0400)]
vtls: Only call add/getsession if session id is enabled
Prior to this change we called Curl_ssl_getsessionid and
Curl_ssl_addsessionid regardless of whether session ID reusing was
enabled. According to comments that is in case session ID reuse was
disabled but then later enabled.
The old way was not intuitive and probably not something users expected.
When a user disables session ID caching I'd guess they don't expect the
session ID to be cached anyway in case the caching is later enabled.
Daniel Stenberg [Tue, 21 Jun 2016 22:37:36 +0000 (00:37 +0200)]
curl.1: the used progress meter suffix is k in lower case
Closes #883
Sergei Nikulov [Thu, 16 Jun 2016 10:53:50 +0000 (13:53 +0300)]
cmake: now using BUILD_TESTING=ON/OFF
CMake build now using BUILD_TESTING=ON/OFF (default is OFF) to build
tests and enabling CTest integration. Options BUILD_CURL_TESTS and
BUILD_DASHBOARD_REPORTS was removed.
Closes #882
Reviewed-by: Brad King
Michael Kaufmann [Tue, 21 Jun 2016 07:47:34 +0000 (09:47 +0200)]
cleanup: fix method names in code comments
Closes #887
Kamil Dudka [Tue, 21 Jun 2016 10:40:26 +0000 (12:40 +0200)]
curl-compilers.m4: improve detection of GCC's -fvisibility= flag
Some builds of GCC produce output on both stdout and stderr when --help
--verbose is used. The 2>&1 redirection caused them to be arbitrarily
interleaved with each other because of stream buffering. Consequently,
grep failed to match the fvisibility= string in the mixed output, even
though the string was present in GCC's standard output.
This led to silently disabling symbol hiding in some builds of curl.
Daniel Stenberg [Sun, 19 Jun 2016 21:52:01 +0000 (23:52 +0200)]
tests: fix the HTTP/2 tests
The HTTP/2 tests brought with commit
bf05606ef1f were using the internal
name 'http2' for the HTTP/2 server, while in fact that name was already
used for the second instance of the HTTP server. This made tests using
the second instance (like test 2050) fail after a HTTP/2 test had run.
The server is now known as HTTP/2 internally and within the <server>
section in test cases. 1700, 1701 and 1702 were updated accordingly.
Daniel Stenberg [Sun, 19 Jun 2016 21:21:54 +0000 (23:21 +0200)]
openssl: use more 'const' to fix build warnings with 1.1.0 branch
Daniel Stenberg [Fri, 17 Jun 2016 08:40:20 +0000 (10:40 +0200)]
curl.1: missed 'T' in the progress unit suffixes
Daniel Stenberg [Thu, 16 Jun 2016 22:32:34 +0000 (00:32 +0200)]
curl.1: mention the unix for the progress meter
Patrick Monnerat [Thu, 16 Jun 2016 17:05:42 +0000 (19:05 +0200)]
os400: add new definitions to ILE/RPG binding.
Daniel Stenberg [Wed, 15 Jun 2016 13:36:40 +0000 (15:36 +0200)]
openssl: fix cert check with non-DNS name fields present
Regression introduced in
5f5b62635 (released in 7.48.0)
Reported-by: Fabian Ruff
Fixes #875
Dan Fandrich [Thu, 16 Jun 2016 06:44:08 +0000 (08:44 +0200)]
axtls: Use Curl_wait_ms instead of the less-portable usleep
Dan Fandrich [Thu, 16 Jun 2016 06:29:10 +0000 (08:29 +0200)]
axtls: Fixed compile after compile
31c521b0
Dan Fandrich [Wed, 15 Jun 2016 21:04:48 +0000 (23:04 +0200)]
tests: Added HTTP proxy keywords to tests 1141 & 1142
Sergei Nikulov [Tue, 14 Jun 2016 14:11:48 +0000 (17:11 +0300)]
cmake: Fix build with winldap
Bug: https://github.com/curl/curl/pull/874
Reported-by: Sergei Nikulov
Jay Satiro [Sat, 11 Jun 2016 21:33:16 +0000 (17:33 -0400)]
CURLOPT_POSTFIELDS.3: Clarify what happens when set empty
When CURLOPT_POSTFIELDS is set to an empty string libcurl will send a
zero-byte POST. Prior to this change it was documented as sending data
from the read callback.
This also changes the wording of what happens when empty or NULL so that
it's hopefully easier to understand for people whose primary language
isn't English.
Bug: https://github.com/curl/curl/issues/862
Reported-by: Askar Safin
Michael Wallner [Tue, 7 Jun 2016 05:51:34 +0000 (07:51 +0200)]
curl_multi_socket_action.3: Fix rewording
- Remove some erroneous text.
Closes https://github.com/curl/curl/pull/865
Luo Jinghua [Tue, 7 Jun 2016 23:23:54 +0000 (07:23 +0800)]
resolve: enable protocol family logic for synthesized IPv6
- Enable protocol family logic for IPv6 resolves even when support
for synthesized addresses is enabled.
This is a follow up to the parent commit that added support for
synthesized IPv6 addresses from IPv4 on iOS/OS X. The protocol family
logic needed for IPv6 was inadvertently excluded if support for
synthesized addresses was enabled.
Bug: https://github.com/curl/curl/issues/863
Ref: https://github.com/curl/curl/pull/866
Ref: https://github.com/curl/curl/pull/867
Luo Jinghua [Tue, 7 Jun 2016 10:11:37 +0000 (18:11 +0800)]
resolve: add support for IPv6 DNS64/NAT64 Networks on OS X + iOS
Use getaddrinfo() to resolve the IPv4 address literal on iOS/Mac OS X.
If the current network interface doesn’t support IPv4, but supports
IPv6, NAT64, and DNS64.
Closes #866
Fixes #863
Daniel Stenberg [Sun, 5 Jun 2016 09:28:31 +0000 (11:28 +0200)]
tests: two more HTTP/2 tests
1701 and 1702
Daniel Stenberg [Sun, 5 Jun 2016 09:17:29 +0000 (11:17 +0200)]
runtests: don't display logs when http2 server fails to start
Daniel Stenberg [Fri, 3 Jun 2016 21:54:06 +0000 (23:54 +0200)]
runtests: make stripfile work on stdout as well
... and have test 1700 use that to strip out the nghttpx server: headers
Daniel Stenberg [Fri, 3 Jun 2016 21:36:10 +0000 (23:36 +0200)]
http2-tests: test1700 is the first real HTTP/2 test
It requires that 'nghttpx' is in the PATH, and it will run the tests
using nghttpx as a front-end proxy in front of the standard HTTP/1 test
server. This uses HTTP/2 over plain TCP.
If you like me have nghttpx installed in a custom path, you can run test 1700
like this:
$ PATH=$PATH:$HOME/build-nghttp2/bin/ ./runtests.pl 1700
Daniel Stenberg [Mon, 6 Jun 2016 21:23:44 +0000 (23:23 +0200)]
RELEASE-NOTES: synced with
34855feeb4c299
Steve Holme [Mon, 6 Jun 2016 19:53:30 +0000 (20:53 +0100)]
schannel: Disable ALPN on Windows < 8.1
Calling QueryContextAttributes with SECPKG_ATTR_APPLICATION_PROTOCOL
fails on Windows < 8.1 so we need to disable ALPN on these OS versions.
Inspiration provide by: Daniel Seither
Closes #848
Fixes #840
Jay Satiro [Mon, 6 Jun 2016 01:07:03 +0000 (21:07 -0400)]
checksrc: Add LoadLibrary to the banned functions list
LoadLibrary was supplanted by Curl_load_library for security
reasons in
6df916d.
Jay Satiro [Sun, 5 Jun 2016 07:13:32 +0000 (03:13 -0400)]
http: Fix HTTP/2 connection reuse
- Change the parser to not require a minor version for HTTP/2.
HTTP/2 connection reuse broke when we changed from HTTP/2.0 to HTTP/2
in
8243a95 because the parser still expected a minor version.
Bug: https://github.com/curl/curl/issues/855
Reported-by: Andrew Robbins, Frank Gevaerts