]> granicus.if.org Git - curl/log
curl
8 years agotest1144: verify HEAD with body-only response
Daniel Stenberg [Thu, 18 Aug 2016 09:44:45 +0000 (11:44 +0200)]
test1144: verify HEAD with body-only response

8 years agoRELEASE-PROCEDURE: Added some more future release dates
Steve Holme [Wed, 17 Aug 2016 22:25:04 +0000 (23:25 +0100)]
RELEASE-PROCEDURE: Added some more future release dates

...and removed some old ones

8 years agocurl: allow "pkcs11:" prefix for client certificates
David Woodhouse [Wed, 17 Aug 2016 09:30:21 +0000 (11:30 +0200)]
curl: allow "pkcs11:" prefix for client certificates

RFC7512 provides a standard method to reference certificates in PKCS#11
tokens, by means of a URI starting 'pkcs11:'.

We're working on fixing various applications so that whenever they would
have been able to use certificates from a file, users can simply insert
a PKCS#11 URI instead and expect it to work. This expectation is now a
part of the Fedora packaging guidelines, for example.

This doesn't work with cURL because of the way that the colon is used
to separate the certificate argument from the passphrase. So instead of

   curl -E 'pkcs11:manufacturer=piv_II;id=%01' …

I instead need to invoke cURL with the colon escaped, like this:

   curl -E 'pkcs11\:manufacturer=piv_II;id=%01' …

This is suboptimal because we want *consistency* — the URI should be
usable in place of a filename anywhere, without having strange
differences for different applications.

This patch therefore disables the processing in parse_cert_parameter()
when the string starts with 'pkcs11:'. It means you can't pass a
passphrase with an unescaped PKCS#11 URI, but there's no need to do so
because RFC7512 allows a PIN to be given as a 'pin-value' attribute in
the URI itself.

Also, if users are already using RFC7512 URIs with the colon escaped as
in the above example — even providing a passphrase for cURL to handling
instead of using a pin-value attribute, that will continue to work
because their string will start 'pkcs11\:' and won't match the check.

What *does* break with this patch is the extremely unlikely case that a
user has a file which is in the local directory and literally named
just "pkcs11", and they have a passphrase on it. If that ever happened,
the user would need to refer to it as './pkcs11:<passphrase>' instead.

8 years agonss: make the global variables static
Daniel Stenberg [Wed, 17 Aug 2016 08:50:06 +0000 (10:50 +0200)]
nss: make the global variables static

8 years agoopenssl: use regular malloc instead of OPENSSL_malloc
Daniel Stenberg [Fri, 12 Aug 2016 08:06:07 +0000 (10:06 +0200)]
openssl: use regular malloc instead of OPENSSL_malloc

This allows for better memmory debugging and torture tests.

8 years agoproxy: fix tests as follow-up to 93b0d907d5
Daniel Stenberg [Tue, 16 Aug 2016 08:14:48 +0000 (10:14 +0200)]
proxy: fix tests as follow-up to 93b0d907d5

This fixes tests that were added after 113f04e664b as the tests would
fail otherwise.

We bring back "Proxy-Connection: Keep-Alive" now unconditionally to fix
regressions with old and stupid proxies, but we could possibly switch to
using it only for CONNECT or only for NTLM in a future if we want to
gradually reduce it.

Fixes #954

Reported-by: János Fekete
8 years agoRevert "Proxy-Connection: stop sending this header by default"
Daniel Stenberg [Tue, 16 Aug 2016 06:36:04 +0000 (08:36 +0200)]
Revert "Proxy-Connection: stop sending this header by default"

This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.

8 years agoCURLOPT_PROXY.3: unsupported schemes cause errors now
Daniel Stenberg [Mon, 15 Aug 2016 12:49:26 +0000 (14:49 +0200)]
CURLOPT_PROXY.3: unsupported schemes cause errors now

Follow-up to a96319ebb9 (document the new behavior)

8 years agotests/README: mention nghttpx for HTTP/2 tests
Daniel Stenberg [Mon, 15 Aug 2016 09:36:17 +0000 (11:36 +0200)]
tests/README: mention nghttpx for HTTP/2 tests

8 years agoREADME.md: add our CII Best Practices badge
Daniel Stenberg [Mon, 15 Aug 2016 09:15:01 +0000 (11:15 +0200)]
README.md: add our CII Best Practices badge

8 years agoproxy: polished the error message for unsupported schemes
Daniel Stenberg [Mon, 15 Aug 2016 09:11:46 +0000 (11:11 +0200)]
proxy: polished the error message for unsupported schemes

Follow up to a96319ebb93

8 years agotest219: verify unsupported scheme for proxies get rejected
Daniel Stenberg [Mon, 15 Aug 2016 09:09:59 +0000 (11:09 +0200)]
test219: verify unsupported scheme for proxies get rejected

8 years agoproxy: reject attempts to use unsupported proxy schemes
Daniel Stenberg [Mon, 15 Aug 2016 08:46:27 +0000 (10:46 +0200)]
proxy: reject attempts to use unsupported proxy schemes

I discovered some people have been using "https://example.com" style
strings as proxy and it "works" (curl doesn't complain) because curl
ignores unknown schemes and then assumes plain HTTP instead.

I think this misleads users into believing curl uses HTTPS to proxies
when it doesn't. Now curl rejects proxy strings using unsupported
schemes instead of just ignoring and defaulting to HTTP.

8 years agoRELEASE-NOTES: synced with b7ee5316c2fd5b
Daniel Stenberg [Mon, 15 Aug 2016 06:47:21 +0000 (08:47 +0200)]
RELEASE-NOTES: synced with b7ee5316c2fd5b

8 years agosocks.c: Correctly calculate position of port in response packet
Marc Hoersken [Sun, 14 Aug 2016 15:07:11 +0000 (17:07 +0200)]
socks.c: Correctly calculate position of port in response packet

Third commit to fix issue #944 regarding SOCKS5 error handling.

Reported-by: David Kalnischkies
8 years agosocks.c: Do not modify and invalidate calculated response length
Marc Hoersken [Sun, 14 Aug 2016 15:05:32 +0000 (17:05 +0200)]
socks.c: Do not modify and invalidate calculated response length

Second commit to fix issue #944 regarding SOCKS5 error handling.

Reported-by: David Kalnischkies
8 years agosocks.c: Move error output after reading the whole response packet
Marc Hoersken [Sun, 14 Aug 2016 15:01:13 +0000 (17:01 +0200)]
socks.c: Move error output after reading the whole response packet

First commit to fix issue #944 regarding SOCKS5 error handling.

Reported-by: David Kalnischkies
8 years agoMANUAL: Remove invalid link to LDAP documentation (#962)
Ronnie Mose [Sat, 13 Aug 2016 12:38:09 +0000 (14:38 +0200)]
MANUAL: Remove invalid link to LDAP documentation (#962)

The server developer.netscape.com does not resolve into any
ip address and can be removed.

8 years agoopenssl: accept subjectAltName iPAddress if no dNSName match
Jay Satiro [Fri, 12 Aug 2016 08:10:29 +0000 (04:10 -0400)]
openssl: accept subjectAltName iPAddress if no dNSName match

Undo change introduced in d4643d6 which caused iPAddress match to be
ignored if dNSName was present but did not match.

Also, if iPAddress is present but does not match, and dNSName is not
present, fail as no-match. Prior to this change in such a case the CN
would be checked for a match.

Bug: https://github.com/curl/curl/issues/959
Reported-by: wmsch@users.noreply.github.com
8 years agoconfigure.ac: add zlib search with pkg-config
Dambaev Alexander [Thu, 11 Aug 2016 15:49:48 +0000 (23:49 +0800)]
configure.ac: add zlib search with pkg-config

Closes #956

8 years agortsp: ignore whitespace in session id
Daniel Stenberg [Thu, 11 Aug 2016 09:37:00 +0000 (11:37 +0200)]
rtsp: ignore whitespace in session id

Follow-up to e577c43bb to fix test case 569 brekage: stop the parser at
whitespace as well.

Help-by: Erik Janssen
8 years agoHTTP: retry failed HEAD requests too
Daniel Stenberg [Thu, 11 Aug 2016 06:33:36 +0000 (08:33 +0200)]
HTTP: retry failed HEAD requests too

Mark's new document about HTTP Retries
(https://mnot.github.io/I-D/httpbis-retry/) made me check our code and I
spotted that we don't retry failed HEAD requests which seems totally
inconsistent and I can't see any reason for that separate treatment.

So, no separate treatment for HEAD starting now. A HTTP request sent
over a reused connection that gets cut off before a single byte is
received will be retried on a fresh connection.

Made-aware-by: Mark Nottingham
8 years agomk-ca-bundle.1: document -m, added in 1.26
Daniel Stenberg [Thu, 11 Aug 2016 06:21:33 +0000 (08:21 +0200)]
mk-ca-bundle.1: document -m, added in 1.26

8 years agoRELEASE-NOTES: synced with e577c43bb5
Daniel Stenberg [Wed, 10 Aug 2016 07:12:34 +0000 (09:12 +0200)]
RELEASE-NOTES: synced with e577c43bb5

8 years agortsp: accept any RTSP session id
Erik Janssen [Wed, 10 Aug 2016 06:58:10 +0000 (08:58 +0200)]
rtsp: accept any RTSP session id

Makes libcurl work in communication with gstreamer-based RTSP
servers. The original code validates the session id to be in accordance
with the RFC. I think it is better not to do that:

- For curl the actual content is a don't care.

- The clarity of the RFC is debatable, is $ allowed or only as \$, that
  is imho not clear

- Gstreamer seems to url-encode the session id but % is not allowed by
the RFC

- less code

With this patch curl will correctly handle real-life lines like:
Session: biTN4Kc.8%2B1w-AF.; timeout=60

Bug: https://curl.haxx.se/mail/lib-2016-08/0076.html

8 years agosymbols-in-versions: add CURL_STRICTER
Daniel Stenberg [Tue, 9 Aug 2016 19:34:47 +0000 (21:34 +0200)]
symbols-in-versions: add CURL_STRICTER

Added in 5fce88aa8c12564

8 years agowinbuild: Allow changing C compiler via environment variable CC (#952)
Simon Warta [Tue, 9 Aug 2016 19:27:36 +0000 (21:27 +0200)]
winbuild: Allow changing C compiler via environment variable CC (#952)

This makes it possible to use specific compilers or a cache.

Sample use for clcache:
set CC=clcache.bat
nmake /f Makefile.vc DEBUG=no MODE=static VC=14 GEN_PDB=no

8 years agoLICENSE-MIXING.md: switched to markdown
Daniel Stenberg [Tue, 9 Aug 2016 13:04:50 +0000 (15:04 +0200)]
LICENSE-MIXING.md: switched to markdown

8 years agodocs-make: have markdown files use .md
Daniel Stenberg [Tue, 9 Aug 2016 12:47:20 +0000 (14:47 +0200)]
docs-make: have markdown files use .md

8 years agocurl.h: make CURL_NO_OLDIES define CURL_STRICTER
Daniel Stenberg [Tue, 9 Aug 2016 12:46:51 +0000 (14:46 +0200)]
curl.h: make CURL_NO_OLDIES define CURL_STRICTER

8 years agoHISTORY.md: use markdown extension
Daniel Stenberg [Tue, 9 Aug 2016 10:05:43 +0000 (12:05 +0200)]
HISTORY.md: use markdown extension

8 years agoSSLCERTS.md: renamed to markdown extension
Daniel Stenberg [Tue, 9 Aug 2016 10:03:46 +0000 (12:03 +0200)]
SSLCERTS.md: renamed to markdown extension

8 years agoINTERNALS.md: use markdown extension for markdown content
Daniel Stenberg [Tue, 9 Aug 2016 10:01:47 +0000 (12:01 +0200)]
INTERNALS.md: use markdown extension for markdown content

8 years agoCONTRIBUTE.md: markdown extension
Daniel Stenberg [Tue, 9 Aug 2016 09:40:39 +0000 (11:40 +0200)]
CONTRIBUTE.md: markdown extension

8 years agoCONTRIBUTE: changed to markdown
Daniel Stenberg [Tue, 9 Aug 2016 09:39:58 +0000 (11:39 +0200)]
CONTRIBUTE: changed to markdown

8 years agoCONTRIBUTE: refreshed
Daniel Stenberg [Tue, 9 Aug 2016 08:53:42 +0000 (10:53 +0200)]
CONTRIBUTE: refreshed

8 years agoTODO: added an SSH section and two SFTP things to do
Daniel Stenberg [Tue, 9 Aug 2016 08:05:26 +0000 (10:05 +0200)]
TODO: added an SSH section and two SFTP things to do

8 years agoTODO: remove the 1.22 duplicated item
Daniel Stenberg [Tue, 9 Aug 2016 07:55:16 +0000 (09:55 +0200)]
TODO: remove the 1.22 duplicated item

8 years agoTODO: move "CURLOPT_MAIL_CLIENT" to SMTP section
Daniel Stenberg [Tue, 9 Aug 2016 07:53:06 +0000 (09:53 +0200)]
TODO: move "CURLOPT_MAIL_CLIENT" to SMTP section

8 years agoTODO: API for URL parsing/splitting
Daniel Stenberg [Tue, 9 Aug 2016 07:51:43 +0000 (09:51 +0200)]
TODO: API for URL parsing/splitting

8 years agoTODO: move QUIC to the HTTP section
Daniel Stenberg [Tue, 9 Aug 2016 07:43:52 +0000 (09:43 +0200)]
TODO: move QUIC to the HTTP section

8 years agowinbuild: Free name $(CC) in Makefile (#950)
Simon Warta [Tue, 9 Aug 2016 06:29:59 +0000 (08:29 +0200)]
winbuild: Free name $(CC) in Makefile (#950)

In the old line number 290, CC and CURL_CC had the same value. After
that, /DCURL_STATICLIB was added to CC but not CURL_CC (intended?).

This gets rid of the CC variable entirely. It is a first step to make it
possible to manualyl set a CC variable in order to be able to change the
compiler.

8 years agoTODO: Use huge HTTP/2 windows
Daniel Stenberg [Mon, 8 Aug 2016 21:46:11 +0000 (23:46 +0200)]
TODO: Use huge HTTP/2 windows

8 years agowinbuild: Avoid setting redundant CFLAGS to compile commands (#949)
Simon Warta [Mon, 8 Aug 2016 19:26:57 +0000 (21:26 +0200)]
winbuild: Avoid setting redundant CFLAGS to compile commands (#949)

$(CURL_CC) is always used with $(CURL_CFLAGS) appended, so before this,
all arguments in CURL_CFLAGS have been added twice.

8 years agocmake: Enable win32 threaded resolver by default
Jay Satiro [Mon, 8 Aug 2016 06:37:29 +0000 (02:37 -0400)]
cmake: Enable win32 threaded resolver by default

- Turn on USE_THREADS_WIN32 in Windows if ares isn't on

This change is similar to what we already do in the autotools build.

8 years agocmake: Enable win32 large file support by default
Jay Satiro [Mon, 8 Aug 2016 04:25:03 +0000 (00:25 -0400)]
cmake: Enable win32 large file support by default

All compilers used by cmake in Windows should support large files.

- Add test SIZEOF_OFF_T
- Remove outdated test SIZEOF_CURL_OFF_T
- Turn on USE_WIN32_LARGE_FILES in Windows
- Check for 'Largefile' during the features output

8 years agoTODO: added several ideas, removed SPDY
Daniel Stenberg [Sun, 7 Aug 2016 21:52:06 +0000 (23:52 +0200)]
TODO: added several ideas, removed SPDY

8 years agohttp2: always wait for readable socket
Daniel Stenberg [Thu, 4 Aug 2016 22:42:52 +0000 (00:42 +0200)]
http2: always wait for readable socket

Since the server can at any time send a HTTP/2 frame to us, we need to
wait for the socket to be readable during all transfers so that we can
act on incoming frames even when uploading etc.

Reminded-by: Tatsuhiro Tsujikawa
8 years agoRELEASE-NOTES: synced with 7b4bf37a44791
Daniel Stenberg [Thu, 4 Aug 2016 22:37:03 +0000 (00:37 +0200)]
RELEASE-NOTES: synced with 7b4bf37a44791

8 years agombedtls: set debug threshold to 4 (verbose) when MBEDTLS_DEBUG is defined
Thomas Glanzmann [Wed, 3 Aug 2016 06:20:16 +0000 (08:20 +0200)]
mbedtls: set debug threshold to 4 (verbose) when MBEDTLS_DEBUG is defined

In order to make MBEDTLS_DEBUG work, the debug threshold must be unequal
to 0.  This patch also adds a comment how mbedtls must be compiled in
order to make debugging work, and explains the possible debug levels.

8 years agoCURLOPT_TCP_NODELAY: now enabled by default
Daniel Stenberg [Thu, 30 Jun 2016 12:56:02 +0000 (14:56 +0200)]
CURLOPT_TCP_NODELAY: now enabled by default

After a few wasted hours hunting down the reason for slowness during a
TLS handshake that turned out to be because of TCP_NODELAY not being
set, I think we have enough motivation to toggle the default for this
option. We now enable TCP_NODELAY by default and allow applications to
switch it off.

This also makes --tcp-nodelay unnecessary, but --no-tcp-nodelay can be
used to disable it.

Thanks-to: Tim Rühsen
Bug: https://curl.haxx.se/mail/lib-2016-06/0143.html

8 years agoTFTP: Fix upload problem with piped input
Serj Kalichev [Tue, 2 Aug 2016 22:29:09 +0000 (00:29 +0200)]
TFTP: Fix upload problem with piped input

When input stream for curl is stdin and input stream is not a file but
generated by a script then curl can truncate data transfer to arbitrary
size since a partial packet is treated as end of transfer by TFTP.

Fixes #857

8 years agomk-ca-bundle.pl: -m keeps ca cert meta data in output
Daniel Stenberg [Tue, 2 Aug 2016 10:17:10 +0000 (12:17 +0200)]
mk-ca-bundle.pl: -m keeps ca cert meta data in output

Makes the script pass on comments holding meta data to the output
file. Like fingerprinters, issuer, date ranges etc.

Closes #937

8 years agomulti: make Curl_expire() work with 0 ms timeouts
Daniel Stenberg [Tue, 2 Aug 2016 08:57:30 +0000 (10:57 +0200)]
multi: make Curl_expire() work with 0 ms timeouts

Previously, passing a timeout of zero to Curl_expire() was a magic code
for clearing all timeouts for the handle. That is now instead made with
the new Curl_expire_clear() function and thus a 0 timeout is fine to set
and will trigger a timeout ASAP.

This will help removing short delays, in particular notable when doing
HTTP/2.

8 years agotransfer: return without select when the read loop reached maxcount
Daniel Stenberg [Mon, 1 Aug 2016 22:48:23 +0000 (00:48 +0200)]
transfer: return without select when the read loop reached maxcount

Regression added in 790d6de48515. The was then added to avoid one
particular transfer to starve out others. But when aborting due to
reading the maxcount, the connection must be marked to be read from
again without first doing a select as for some protocols (like SFTP/SCP)
the data may already have been read off the socket.

Reported-by: Dan Donahue
Bug: https://curl.haxx.se/mail/lib-2016-07/0057.html

8 years agombedtls: Added support for NTLM
Bill Nagel [Thu, 7 Jul 2016 15:40:45 +0000 (08:40 -0700)]
mbedtls: Added support for NTLM

8 years agotravis: removed option to rebuild autotool from source
Sergei Nikulov [Tue, 2 Aug 2016 10:43:23 +0000 (13:43 +0300)]
travis: removed option to rebuild autotool from source

Fixes #943

8 years agobump: start working toward 7.50.2
Daniel Stenberg [Wed, 3 Aug 2016 07:36:27 +0000 (09:36 +0200)]
bump: start working toward 7.50.2

8 years agoTHANKS: 7 new contributors from the 7.50.1 release curl-7_50_1
Daniel Stenberg [Wed, 3 Aug 2016 06:37:16 +0000 (08:37 +0200)]
THANKS: 7 new contributors from the 7.50.1 release

8 years agoRELEASE-NOTES: 7.50.1
Daniel Stenberg [Tue, 2 Aug 2016 09:30:41 +0000 (11:30 +0200)]
RELEASE-NOTES: 7.50.1

8 years agoTLS: only reuse connections with the same client cert
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

8 years agoTLS: switch off SSL session id when client cert is used
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
8 years agocurl_multi_cleanup: clear connection pointer for easy handles
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
8 years agoKNOWN_BUGS: SOCKS proxy not working via IPv6
Daniel Stenberg [Tue, 2 Aug 2016 22:24:08 +0000 (00:24 +0200)]
KNOWN_BUGS: SOCKS proxy not working via IPv6

Closes #835

8 years agoKNOWN_BUGS: CURLOPT_SEEKFUNCTION not called with CURLFORM_STREAM
Daniel Stenberg [Tue, 2 Aug 2016 22:21:42 +0000 (00:21 +0200)]
KNOWN_BUGS: CURLOPT_SEEKFUNCTION not called with CURLFORM_STREAM

Closes #768

8 years agoKNOWN_BUGS: transfer-encoding: chunked in HTTP/2
Daniel Stenberg [Tue, 2 Aug 2016 22:19:53 +0000 (00:19 +0200)]
KNOWN_BUGS: transfer-encoding: chunked in HTTP/2

Closes #662

8 years agoTODO: Provide cmake config-file
Daniel Stenberg [Tue, 2 Aug 2016 22:15:58 +0000 (00:15 +0200)]
TODO: Provide cmake config-file

Closes #885

8 years agoos400: define BUILDING_LIBCURL in make script.
Patrick Monnerat [Tue, 2 Aug 2016 12:21:31 +0000 (14:21 +0200)]
os400: define BUILDING_LIBCURL in make script.

8 years agoRELEASE-NOTES: synced with aa9f536a18b
Daniel Stenberg [Mon, 1 Aug 2016 21:40:27 +0000 (23:40 +0200)]
RELEASE-NOTES: synced with aa9f536a18b

8 years agombedtls: Fix debug function name
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

8 years agotravis: fix OSX build by re-installing libtool
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

8 years agowin32: fix a potential memory leak in Curl_load_library
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

8 years agoinclude: revert 9adf3c4 and make public types void * again
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

8 years agocmake: Fix for schannel support
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
8 years agoRevert "travis: Install libtool for OS X builds"
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.

8 years agotravis: Install libtool for OS X builds
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.

8 years agoTODO: minor typo in last commit
Viktor Szakats [Tue, 26 Jul 2016 14:36:29 +0000 (16:36 +0200)]
TODO: minor typo in last commit

merged #931

8 years agoTODO: Timeout idle connections from the pool
Daniel Stenberg [Tue, 26 Jul 2016 14:01:50 +0000 (16:01 +0200)]
TODO: Timeout idle connections from the pool

8 years agoos400: minimum supported OS version: V6R1M0.
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.

8 years agotests: Fix for http/2 feature
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
8 years agoREADME: Mention wolfSSL in the 'Dependencies' section
Steve Holme [Sat, 23 Jul 2016 20:34:46 +0000 (21:34 +0100)]
README: Mention wolfSSL in the 'Dependencies' section

8 years agovauth.h: No need to query HAVE_GSSAPI || USE_WINDOWS_SSPI for SPNEGO
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.

8 years agospnego: Corrected miss-placed * in Curl_auth_spnego_cleanup() declaration
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.

8 years agoSECURITY: mention how to get windows-specific CVEs
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

8 years agotest558: fix test by stripping file paths from FD lines
Dan Fandrich [Thu, 21 Jul 2016 15:06:04 +0000 (17:06 +0200)]
test558: fix test by stripping file paths from FD lines

8 years agotests: distribute the http2-server.pl script, too
Kamil Dudka [Thu, 21 Jul 2016 11:03:16 +0000 (13:03 +0200)]
tests: distribute the http2-server.pl script, too

8 years agodocs: distribute the CURLINFO_HTTP_VERSION(3) man page, too
Kamil Dudka [Thu, 21 Jul 2016 10:49:43 +0000 (12:49 +0200)]
docs: distribute the CURLINFO_HTTP_VERSION(3) man page, too

8 years agobump: start working on 7.50.1
Daniel Stenberg [Thu, 21 Jul 2016 09:16:08 +0000 (11:16 +0200)]
bump: start working on 7.50.1

8 years agoRELEASE-NOTES: version 7.50.0 ready curl-7_50_0
Daniel Stenberg [Wed, 20 Jul 2016 23:53:01 +0000 (01:53 +0200)]
RELEASE-NOTES: version 7.50.0 ready

8 years agoTHANKS: 13 new contributors from the 7.50.0 release
Daniel Stenberg [Wed, 20 Jul 2016 22:34:01 +0000 (00:34 +0200)]
THANKS: 13 new contributors from the 7.50.0 release

8 years agowinbuild: fix embedded manifest option
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
8 years agovauth: Fix memleak by freeing credentials if out of memory
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.

8 years agovauth: Fixed memory leak due to function returning without free
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.

8 years agotest558: updated after ipv6-check move
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.

8 years agoconnect: disable TFO on Linux when using SSL
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

8 years agoROADMAP: QUIC and TLS 1.3
Daniel Stenberg [Tue, 19 Jul 2016 21:10:39 +0000 (23:10 +0200)]
ROADMAP: QUIC and TLS 1.3

8 years agoRELEASE-NOTES: synced with c50980807c5
Daniel Stenberg [Tue, 19 Jul 2016 21:04:26 +0000 (23:04 +0200)]
RELEASE-NOTES: synced with c50980807c5

8 years agocurl_global_init: Check if IPv6 works
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

8 years agoCURLMOPT_SOCKETFUNCTION.3: fix typo
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

8 years agolibrary: Fix memory leaks found during static analysis
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