History log of /external/curl/lib/vtls/openssl.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0128fe4043cdbb72cc0c5b8f817749e3f89a7b36 27-Feb-2018 Elliott Hughes <enh@google.com> Update to 7.58.0 - January 24 2018.

Changes:
new libssh-powered SSH SCP/SFTP back-end
curl-config: add --ssl-backends

Bugfixes:
http2: fix incorrect trailer buffer size
http: prevent custom Authorization headers in redirects
travis: add boringssl build
examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL
SSL: Avoid magic allocation of SSL backend specific data
lib: don't export all symbols, just everything curl_*
libssh2: send the correct CURLE error code on scp file not found
libssh2: return CURLE_UPLOAD_FAILED on failure to upload
openssl: enable pkcs12 in boringssl builds
libssh2: remove dead code from SSH_SFTP_QUOTE
sasl_getmesssage: make sure we have a long enough string to pass
conncache: fix several lock issues
threaded-shared-conn.c: new example
conncache: only allow multiplexing within same multi handle
configure: check for netinet/in6.h
URL: tolerate backslash after drive letter for FILE:
openldap: add commented out debug possibilities
include: get netinet/in.h before linux/tcp.h
CONNECT: keep close connection flag in http_connect_state struct
BINDINGS: another PostgreSQL client
curl: limit -# update frequency for unknown total size
configure: add AX_CODE_COVERAGE only if using gcc
curl.h: remove incorrect comment about ERRORBUFFER
openssl: improve data-pending check for https proxy
curl: remove __EMX__ #ifdefs
CURLOPT_PRIVATE.3: fix grammar
sftp: allow quoted commands to use relative paths
CURLOPT_DNS_CACHE_TIMEOUT.3: see also CURLOPT_RESOLVE
RESOLVE: output verbose text when trying to set a duplicate name
openssl: Disable file buffering for Win32 SSLKEYLOGFILE
multi_done: prune DNS cache
tests: update .gitignore for libtests
tests: mark data files as non-executable in git
CURLOPT_DNS_LOCAL_IP4.3: fixed the "SEE ALSO" to not self-reference
curl.1: documented two missing valid exit codes
curl.1: mention http:// and https:// as valid proxy prefixes
vtls: replaced getenv() with curl_getenv()
setopt: less *or equal* than INT_MAX/1000 should be fine
examples/smtp-mail.c: use separate defines for options and mail
curl: support >256 bytes warning messsages
conncache: fix a return code
krb5: fix a potential access of uninitialized memory
rand: add a clang-analyzer work-around
CURLOPT_READFUNCTION.3: refer to argument with correct name
brotli: allow compiling with version 0.6.0
content_encoding: rework zlib_inflate
curl_easy_reset: release mime-related data
examples/rtsp: fix error handling macros
build-openssl.bat: Added support for VC15
build-wolfssl.bat: Added support for VC15
build: Added Visual Studio 2017 project files
winbuild: Added support for VC15
curl: Support size modifiers for --max-filesize
examples/cacertinmem: ignore cert-already-exists error
brotli: data at the end of content can be lost
curl_version_info.3: call the argument 'age'
openssl: fix memory leak of SSLKEYLOGFILE filename
build: remove HAVE_LIMITS_H check
--mail-rcpt: fix short-text description
scripts: allow all perl scripts to be run directly
progress: calculate transfer speed on milliseconds if possible
system.h: check __LONG_MAX__ for defining curl_off_t
easy: fix connection ownership in curl_easy_pause
setopt: reintroduce non-static Curl_vsetopt() for OS400 support
setopt: fix SSLVERSION to allow CURL_SSLVERSION_MAX_ values
configure.ac: append extra linker flags instead of prepending them
HTTP: bail out on negative Content-Length: values
docs: comment about CURLE_READ_ERROR returned by curl_mime_filedata
mime: clone mime tree upon easy handle duplication
openssl: enable SSLKEYLOGFILE support by default
smtp/pop3/imap_get_message: decrease the data length too...
CURLOPT_TCP_NODELAY.3: fix typo
SMB: fix numeric constant suffix and variable types
ftp-wildcard: fix matching an empty string with "*[^a]"
curl_fnmatch: only allow 5 '*' sections in a single pattern
openssl: fix potential memory leak in SSLKEYLOGFILE logic
SSH: Fix state machine for ssh-agent authentication
examples/url2file.c: add missing curl_global_cleanup() call
http2: don't close connection when single transfer is stopped
libcurl-env.3: first version
curl: progress bar refresh, get width using ioctl()
CONNECT_TO: fail attempt to set an IPv6 numerical without IPv6 support

Bug: N/A
Test: builds, boots, `vendor/google/tools/fake-ota on streaming` works
Change-Id: I91e0837f7b34a785f5bddb173262038dcaabdcda
/external/curl/lib/vtls/openssl.c
486467e11b5904b3e04adc2f5fdb96fcfe65da84 19-Dec-2017 Alex Deymo <deymo@google.com> Update from 7.55.1 to 7.57.0

Update the local patch to match the new config. Removed the
packages/Android/Android.mk file added by upstream (outdated Android.mk
version which will confuse people). Updated Android.bp with the new files.

Bug: http://b/70741465
Test: builds, boots, `vendor/google/tools/fake-ota on streaming` works
Change-Id: Ib2411f5e64db4e11ffd916dc81cd23b46888b900
/external/curl/lib/vtls/openssl.c
82be86df6ec7baa34d6169c053fd1dfe56fa858e 21-Sep-2017 Elliott Hughes <enh@google.com> Update libcurl from 7.54.1 to 7.55.1.

Bug: http://b/64610131
Test: builds, boots, `vendor/google/tools/fake-ota on streaming` works
Change-Id: I7ecaf9c83e9496ac4a379507791bec637deaa4cb
/external/curl/lib/vtls/openssl.c
cee0338be80bb81b15101686d6f60864455f1e6e 23-Jun-2017 Elliott Hughes <enh@google.com> Update libcurl from 7.50.1 to 7.54.1.

Old version: 7.50.1 / f2cb3a01192d36395d16acec6cdb93446ca6fd45
New version: 7.54.1 / 54b636f14546d3fde9f9c67c3b32701d78563161

Plus 71a55534fa61b80373271a13de4473d4660364e2 which is needed to build 7.54.1
with boringssl rather than openssl.

Bug: http://b/34808840
Test: builds, boots, `vendor/google/tools/fake-ota on streaming` works

Change-Id: I0ed0973477c3d118cc31a5bd5a006dede40decb4
Note: This patch includes the following squashed commits from upstream:

commit 71a55534fa61b80373271a13de4473d4660364e2
Author: Adam Langley <agl@google.com>
Date: Wed Dec 7 12:18:21 2016 -0800

openssl: don't use OpenSSL's ERR_PACK.

ERR_PACK is an internal detail of OpenSSL. Also, when using it, a
function name must be specified which is overly specific: the test will
break whenever OpenSSL internally change things so that a different
function creates the error.

Closes #1157

commit 54b636f14546d3fde9f9c67c3b32701d78563161
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 13 09:44:50 2017 +0200

release: 7.54.1

commit 49ff9390344930cdc5a6df57b68297c98f78b728
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue Jun 13 22:03:35 2017 +0200

mk-lib1521.pl: updated to match the test changes in 916ec30a

commit 9f54ad8f15172d52cc0df9de8b65887c13a54a90
Author: Stuart Henderson <stu@spacehopper.org>
Date: Tue Jun 13 12:06:03 2017 +0200

libressl: OCSP and intermediate certs workaround no longer needed

lib/vtls/openssl.c has a workaround for a bug with OCSP responses signed
by intermediate certs, this was fixed in LibreSSL in
https://github.com/libressl-portable/openbsd/commit/912c64f68f7ac4f225b7d1fdc8fbd43168912ba0

Bug: https://curl.haxx.se/mail/lib-2017-06/0038.html

commit 5d7952f52e410e1d4a8ff1965e5cc6fc1bde86aa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 7 00:21:04 2017 +0200

url: fix buffer overwrite with file protocol (CVE-2017-9502)

Bug: https://github.com/curl/curl/issues/1540
Advisory: https://curl.haxx.se/docs/adv_20170614.html

Assisted-by: Ray Satiro
Reported-by: Marcel Raad

commit 5fa028e508056e3569beb5698e3f52e45fea94da
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jun 10 14:35:07 2017 +0200

urlglob: fix division by zero

The multiply() function that is used to avoid integer overflows, was
itself reason for a possible division by zero error when passed a
specially formatted glob.

Reported-by: GwanYeong Kim

commit f6dff827d321933a21cb7a697d3007c2ed90217b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 12 08:42:11 2017 +0200

configure: update the copyright year in the output

commit ab1f4eb011d46dc9154c4568e88824acad94b6cb
Author: ygrek <ygrek@autistici.org>
Date: Sun Jun 11 12:59:18 2017 -0700

BINDINGS: update SP-Forth and OCaml urls

commit e8fecf2614b479d2448c61159b4a7dadf4cf7df9
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue Jun 6 22:15:17 2017 +0200

FindWin32CACert: Use a temporary buffer on the stack

Don't malloc() the temporary buffer, and use the correct type:
SearchPath() works with TCHAR, but SearchPathA() works with char.
Set the buffer size to MAX_PATH, because the terminating null byte
is already included in MAX_PATH.

Reviewed-by: Daniel Stenberg
Reviewed-by: Marcel Raad

Closes #1548

commit 916ec30a92a6a497a89172533830f1593591e875
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Jun 11 11:49:31 2017 +0200

test1521: fixed OOM handling

commit 4024a0b93b36adc1fb4929fd1a91a9f05637d228
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 9 15:58:51 2017 +0200

RELEASE-PROCEDURE: updated future release dates

commit 15b7b857590fb49689caf04e4e0109af6c4d3dab
Author: Paul Harris <paulharris@computer.org>
Date: Fri Jun 9 10:30:39 2017 +0800

gitignore: ignore all vim swap files

Closes #1561

commit b94a2cdfe641a9094a2352f3f38b02ead3ffe8d5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 9 01:02:12 2017 +0200

lib1521: fix compiler warnings on the use of bad 'long' values

Reported-by: Marcel Raad
Bug: https://github.com/curl/curl/commit/cccac4fb2b20d6ed87da7978408c3ecacc464fe4#commitcomment-22453387

commit 844896d06416c9fdcacad5159f2a1a1d0293b9e5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 9 01:00:23 2017 +0200

setopt: check CURLOPT_ADDRESS_SCOPE option range

... and return error instead of triggering an assert() when being way
out of range.

commit 01596dbadf5515da6282b210dcaf2dba724c7e81
Author: TheAssassin <TheAssassin@users.noreply.github.com>
Date: Mon Jun 5 01:02:56 2017 +0200

cmake: Fix inconsistency regarding mbed TLS include directory

Previously, one had to set MBEDTLS_INCLUDE_DIR to make CMake find the
headers, but the system complained that mbed TLS wasn't found due to
MBEDTLS_INCLUDE_DIRS (note the trailing s) was not set. This commit
attempts to fix that.

Closes https://github.com/curl/curl/pull/1541

commit bc164de7b392dd1f1ffd6013458e32caf03f03cc
Author: Ryuichi KAWAMATA <iam@rkmathi.net>
Date: Thu Jun 8 23:17:59 2017 +0900

examples/multi-uv.c: fix deprecated symbol

Closes #1557

commit 6c5907452804013a0bbf7360f6b50c8e7e90cee7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 8 11:06:19 2017 +0200

asyn-ares: s/Curl_expire_latest/Curl_expire

commit 7fffe97b787b962fc0afcd5737cec411f2bc0023
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 8 08:34:32 2017 +0200

expire: remove Curl_expire_latest()

With the introduction of expire IDs and the fact that existing timers
can be removed now and thus never expire, the concept with adding a
"latest" timer is not working anymore as it risks to not expire at all.

So, to be certain the timers actually are in line and will expire, the
plain Curl_expire() needs to be used. The _latest() function was added
as a sort of shortcut in the past that's quite simply not necessary
anymore.

Follow-up to 31b39c40cf90

Reported-by: Paul Harris

Closes #1555

commit 165b7f50991277699fc7dc4758ec7f501372a75a
Author: Chris Carlmar <chris@carlmar.no>
Date: Wed Jun 7 23:34:24 2017 +0200

configure: fix link with librtmp when specifying path

Bug: https://curl.haxx.se/mail/lib-2017-06/0017.html

commit 68c6dcb2cb682bc7363cdf3d2e58da225cf4e72e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 7 13:29:46 2017 +0200

file: make speedcheck use current time for checks

... as it would previously just get the "now" timestamp before the
transfer starts and then not update it again.

Closes #1550

commit f7ee701c612426cb83c7e8e08c75b4b9febed6a3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 7 14:00:23 2017 +0200

metalink: remove unused printf() argument

commit e100afb4d8697e9c5f0e4b34b3b6f2b45337e442
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 6 14:40:36 2017 +0200

travis: let some builds *not* use --enable-debug

typecheck-gcc and other things require optimized builds

Closes #1544

commit bacb909e136b9fc56cf438eaf0f9d7561d9be775
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 6 14:40:36 2017 +0200

README.md: show the coverall coverage on github

commit de0adda78c4c3ce6d221beefdcd4492412dcf287
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 6 00:21:12 2017 +0200

lib1521: fix compiler warnings

commit 798b2e196427af6a928efb451643bd3a317508dc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 5 15:21:26 2017 +0200

test1521: make the code < 80 columns wide

commit 38125e7f7ed899d07aecd6599de17cbd76ed5422
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 5 14:56:32 2017 +0200

test1121: use stricter types to work with typcheck-gcc

commit b8085f493a7066fe6990c15e8e30d8b20c736062
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 5 14:56:13 2017 +0200

typecheck-gcc: allow CURLOPT_STDERR to be NULL too

commit cccac4fb2b20d6ed87da7978408c3ecacc464fe4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 5 11:57:47 2017 +0200

test1521: test *all* curl_easy_setopt options

mk-lib1521.pl generates a test program (lib1521.c) that calls
curl_easy_setopt() for every known option with a few typical values to
make sure they work (ignoring the return codes).

Some small changes were necessary to avoid asserts and NULL accesses
when doing this.

The perl script needs to be manually rerun when we add new options.

Closes #1543

commit b95a07ea59e3ebab9d643e67084459be13c93a3d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Jun 5 11:26:39 2017 +0200

test1538: added "verbose logs" keyword

These error messages are not displayed with --disable-verbose

commit 1573ebee8a8720f4d5eca35d8046370e47f48f43
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 5 10:33:51 2017 +0200

test1262: verify ftp download with -z for "if older than this"

commit 796044273009a4ffc2b85eaebf0d44e427c3d8f4
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Jun 5 00:27:29 2017 +0200

curl_ntlm_core: use Curl_raw_toupper instead of toupper

This was the only remaining use of toupper in the entire source code.

Suggested-by: Daniel Stenberg

commit 6b9f4f7f0f66aa083f69cfdb0373df989e583a2c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jun 4 23:26:41 2017 +0200

RELEASE-NOTES: synced with 65ba92650

commit 892c5e4cb3af997c232e323b8831af6e8637a84d
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun Jun 4 16:46:03 2017 +0200

curl_ntlm_core: pass unsigned char to toupper

Otherwise, clang on Cygwin64 warns:
curl_ntlm_core.c:525:35: error: array subscript is of type 'char'
[-Werror,-Wchar-subscripts]
dest[2 * i] = (unsigned char)(toupper(src[i]));
^~~~~~~~~~~~~~~
/usr/include/ctype.h:152:25: note: expanded from macro 'toupper'
(void) __CTYPE_PTR[__x]; (toupper) (__x);})
^~~~

commit 65ba92650df941d9568852fd6e8fb07cdbd67638
Author: Mahmoud Samir Fayed <msfclipper@yahoo.com>
Date: Sun Jun 4 06:32:43 2017 +0300

BINDINGS: add Ring binding

Closes https://github.com/curl/curl/pull/1539

commit c3ad22697c261d266db8620c3594b669e34881d9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jun 4 00:19:57 2017 +0200

CONTRIBUTE.md: mention tests done on pull requests

commit 7bbb78c7418518fda812831b8899cda0fafa2ef8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jun 3 23:27:13 2017 +0200

travis: add coverage, distcheck and cmake builds

Closes #1534

commit a1b275a41ec5d479b3701ac618d2c9c11d5cedc3
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Jun 3 20:18:34 2017 +0200

libtest: fix int-in-bool-context warnings

GCC 7 complained:
‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]

commit 0932573e7cf83e3dd8037a318fa166b127e4d9a5
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Jun 3 20:12:23 2017 +0200

libtest: fix implicit-fallthrough warnings with GCC 7

commit 15136a526847ea4d9490e8e5744834df9f6701b2
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Jun 3 20:10:52 2017 +0200

x509asn1: fix implicit-fallthrough warning with GCC 7

commit f8518059cecfaf2b338389cef7f71f145b21226d
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Jun 3 11:59:38 2017 +0200

curl_sasl: fix unused-variable warning

This fixes the following warning with CURL_DISABLE_CRYPTO_AUTH,
as seen in the autobuilds:

curl_sasl.c:417:9: warning: unused variable 'serverdata'
[-Wunused-variable]

commit 191349eb75b06728760879f374fb8e78ddd9781f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jun 3 00:45:02 2017 +0200

updatemanpages.pl: error out on too old git version

commit 7207affe28f414e4585230ba65d2e1b7ecc30ef5
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri Jun 2 23:02:54 2017 +0200

cyassl: define build macros before including ssl.h

cyassl/ssl.h needs the macros from cyassl/options.h, so define them
before including cyassl/ssl.h the first time, which happens in
urldata.h.
This broke the build on Ubuntu Xenial, which comes with WolfSSL 3.4.8
and therefore redefines the symbols from cyassl/options.h instead of
including the header.

Closes https://github.com/curl/curl/pull/1536

commit 5233de9ac66035ad3bc0d04dffd81fb50d58fb5b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 14:13:02 2017 +0200

tool_util: remove unused tvdiff_secs and remove tool_ prefix

Closes #1532

commit cfd3e8f399c2bb2a7fdc51f01ddc12548b4f3892
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 17:50:45 2017 +0200

dedotdot: fixed output for ".." and "." only input

Found when updating test 1395, which I did to increase test coverage of
this source file...

Closes #1535

commit 10e02bc36a92a1d33067d72906784441d626c010
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri Jun 2 22:05:01 2017 +0200

mbedtls: make TU-local variable static

mbedtls_x509_crt_profile_fr is only used locally.
This fixes a missing-variable-declarations warning with clang.

commit 769890c7e231b23962580c42df003967060a30fd
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri Jun 2 21:58:48 2017 +0200

MD(4|5): silence cast-align clang warning

Unaligned access is on purpose here and the warning is harmless on
affected architectures. GCC knows that, while clang warns on all
architectures.

commit 61d4870dc9c7a0d78d9ae54d95b41d383770a522
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 15:52:59 2017 +0200

test1538: fix typo

commit cef9c9e7828fdf073e6430d7bfdefa19e25c5540
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 13:52:55 2017 +0200

test1538: verify the libcurl strerror API calls

commit 4ba20a511995b2179e59cf6d1880176d2d454bad
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 08:32:36 2017 +0200

curl_endian: remove unused functions

Closes #1529

commit 9b2dfe88bba160922e049ae9a19db585b65cbd56
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 13:16:13 2017 +0200

test1537: dedicated tests of the URL (un)escape API calls

Closes #1530

commit b5e143e7a562a6765077110fe60bccdb8b6bb7d2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 09:25:02 2017 +0200

coverage: run event tests too

... the torture ones are commented out only because they are slooooow.

commit f6e0f4556eabc8c2629d16ae599a153392d30d05
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 2 00:59:35 2017 +0200

build: provide easy code coverage measuring

Closes #1528

commit efc7c1d86f1543870712d1a0ef4eecd67e933921
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 1 15:03:30 2017 +0200

typecheck-gcc.h: check CURLINFO_CERTINFO

... and update the certinfo.c example accordingly.

Fixes https://github.com/curl/curl/issues/846

commit 4eafc6c249cd390938cc3216e07571e0fc885bb3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 1 14:55:05 2017 +0200

typecheck-gcc.h: check CURLINFO_TLS_SSL_PTR and CURLINFO_TLS_SESSION

... so that they get the required "struct curl_tlssessioninfo **"
arguments.

commit 5fe4f7890221b6ff12967af83ce0f14c05f1e2b0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 1 14:47:18 2017 +0200

typecheck-gcc.h: separate getinfo slist checks from other pointers

Fixes #1524

commit 5e796c5e94e442797b6fe93aa81ff32b41dfb715
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Jun 1 17:46:32 2017 +0200

curl-compilers.m4: escape square brackets in regex

Otherwise, they are removed in the final configure file.
Also changed sed to "$SED" like in most other calls in this file.

commit 5598b0bd63f690c151074494ce47ef872f004ab4
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed May 31 22:21:42 2017 +0200

curl-compilers.m4: fix compiler_num for clang

"clang -dumpversion" always returns "4.2.1", the GCC version that clang
was initially compatible to. Use "clang -v" instead, which returns the
actual clang version.

Fixes https://github.com/curl/curl/issues/1522
Closes https://github.com/curl/curl/pull/1523

commit c5de7f50f73919ead96aa1b541090cb25d63b012
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 23:22:46 2017 +0200

examples/externalsocket.c: s/closesocket/closecb

... since closesocket is a function in WinSock.

Reported-by: Marcel Raad
Bug: https://github.com/curl/curl/commit/55fcb8485914700132fd1854c9509b66c955efbe#co
mmitcomment-22347818

commit 45cecfbd33b121c864cbb7b83ea63f749e99f424
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed May 31 19:05:50 2017 +0200

lib583: fix compiler warning

Use CURLMcode for variable 'res' and cast to int where necessary
instead of the other way around. Other tests do the same.

This fixes the following clang warning:
lib583.c:68:15: warning: cast from function call of type 'CURLMcode' to
non-matching type 'int' [-Wbad-function-cast]

commit aae4a4788a4949d85069c5959c860969dc614be7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 13:52:03 2017 +0200

CURLOPT_SSH_KEY*.3: typos

Reported-by: Gisle Vanem

commit 399a1a618270b7b352d32bcd8c4e5e9d47dc3316
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 13:39:56 2017 +0200

CURLOPT_STREAM_DEPENDS.3: typo

commit f072393febfc8dfefa88a8c0f9d04c4312810779
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 13:36:51 2017 +0200

CURLOPT_FNMATCH_FUNCTION.3: also modified example to avoid fcpp issues

commit 28baf380fa339ffdec9cba0d4bb22c3758c27428
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 13:30:04 2017 +0200

CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issues

commit 4600362a5af3970bbaef545af1d7a6cf90201127
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 11:56:28 2017 +0200

opts: more than 100 more examples for man pages...

commit 69a6cc2e135fbecc5fd21a1bc8cf4d8dfe0dc030
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 09:55:44 2017 +0200

libtest/lib574.c: use correct callback proto

commit 501b9ebe9289cb4afd3766688644fbcde7d25ad0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 09:32:04 2017 +0200

examples/sampleconv.c: indent changes, made callbacks static

commit 55fcb8485914700132fd1854c9509b66c955efbe
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 09:26:51 2017 +0200

example/externalsocket.c: make it use CLOSESOCKETFUNCTION too

commit 314a7fa3ceb74f90cc7cce28bef7517ef874f64c
Author: Marcel Raad <Marcel.Raad@teamviewer.com>
Date: Tue May 30 10:07:47 2017 +0200

curl-compilers.m4: enable -Wshift-sign-overflow for clang

clang 2.9+ supports -Wshift-sign-overflow, which warns about undefined
behavior on signed left shifts when shifting by too many places.

Ref: https://github.com/curl/curl/issues/1516
Closes https://github.com/curl/curl/pull/1517

commit a6ad28a75e55859f6bb66a1eaf339154f59691a8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 31 08:45:36 2017 +0200

CURLOPT_PROXY.3: fix test 1140 breakage

commit 534056297fc70b212f75368bc517eb163b3c5658
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed May 31 01:40:39 2017 -0400

build-wolfssl: Sync config with wolfSSL 3.11

wolfSSL configure script relevant changes from 3.10 to 3.11:

- Async threading support added; disabled by default without async
crypto, which continues to be disabled by default.

wolfSSL configure script relevant changes from 3.11 to 3.11.1 (beta):

- TLS 1.3 beta support added; disabled by default.

For experimenting I put in a comment block the defines needed to enable
TLS 1.3 support (ie the equivalent of --enable-tls13).

commit bb1a8c174bc2407451b71842d970f5f7b395a2f1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 30 23:35:30 2017 +0200

opts: more examples added to man pages

commit 2d5fa35e85c6e0ba84e6922e321bbe3a4511cdf9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 30 22:43:34 2017 +0200

docs: clarify NO_PROXY further

Fixes #1208

commit dd97551746dca747c2e624ca81cadb6985199826
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 30 18:05:33 2017 +0200

CURLOPT_PROXY.3: describe the environment variables more

commit e54db1b053614ce5d332b5eea673ab370843e65b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 30 00:45:54 2017 +0200

transfer: init the infilesize from the postfields...

... with a strlen() if no size was set, and do this in the pretransfer
function so that the info is set early. Otherwise, the default strlen()
done on the POSTFIELDS data never sets state.infilesize.

Reported-by: Vincas Razma
Bug: #1294

commit 35682764a9dc7eb0fed3fbb1c0074f1c34dd60b2
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon May 29 18:04:53 2017 -0400

test557: fix ubsan runtime error due to int left shift

- Test curl_msnprintf negative int width arg using INT_MIN instead of
1 << 31 which is undefined behavior.

Closes https://github.com/curl/curl/issues/1516

commit 35e9281ef8ac394b7d718cf6bd65bdc2ff8047b0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon May 29 17:38:33 2017 -0400

mbedtls: fix variable shadow warning

vtls/mbedtls.c:804:69: warning: declaration of 'entropy' shadows a global declaration [-Wshadow]
CURLcode Curl_mbedtls_random(struct Curl_easy *data, unsigned char *entropy,
^~~~~~~

commit 3558e14967da81c42fc0e89bd9d553db82a5a39e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 29 09:42:03 2017 +0200

RELEASE-NOTES: synced with 3aaac8c2f

commit 3aaac8c2f70556771d4924e5e5d235a196c8698d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun May 28 23:07:35 2017 +0200

tests: removed some redundant empty <stdout> sections

commit 01f94879670ceb3b5d2ff7bf5017eab6f0abb98c
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun May 28 20:57:47 2017 +0200

runtests.pl: removed <precommand> feature

This hasn't been used in over a decade. <precheck> can still be used to
run commands before the main test.

commit c2227dae53e88fc0e39bb8c48bfad917e0c7b11e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat May 27 23:11:26 2017 +0200

opts: more examples added in option man pages

commit 14514c97968c1ad26b15e140083565e85a4d2b47
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat May 27 14:30:24 2017 +0200

runtests.pl: removed unused arguments to valgrindparse

commit d90b729c3b5aa6122f67d2ee21c718a0bc93e5dd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 25 21:54:26 2017 +0200

TODO: 6.4 is done, send telnet data in chunks

commit a9de0a9f54c1a4858f0f10162d348fa506242577
Author: Phil Crump <phil@philcrump.co.uk>
Date: Thu May 25 12:51:35 2017 +0100

docs/CURLOPT_SSLVERSION.3: Correct define name in example

Closes #1509

commit 59cc0234e5be31d40aa91951984e8e00ca54f0ec
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 25 13:01:44 2017 +0200

ssh: fix 'left' may be used uninitialized

follow-up to f31760e63b4e

Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/pull/1495#issuecomment-303982793

commit 8ab22a74533acee61af31c48e75269822f408cb4
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat May 20 19:39:51 2017 +0200

time: fix type conversions and compiler warnings

Fix bugs and compiler warnings on systems with 32-bit long and
64-bit time_t.

Reviewed-by: Daniel Stenberg

Closes #1499

commit b4d87f54d60711e936fefae388d741b281eecdf0
Author: Marcel Raad <Marcel.Raad@teamviewer.com>
Date: Wed May 24 11:56:38 2017 +0200

examples: fix Wimplicit-fallthrough warnings

This is contained in -Wextra with GCC 7.

commit df45f2c33e1c916d62d7f5e794c6015fc3b51c01
Author: Anatol Belski <ab@php.net>
Date: Fri Mar 10 12:59:36 2017 +0100

winbuild: fix the nghttp2 build

Closes #1321

commit 63cd0d60ea24a7c7de4289a4240d40fa4ac46ff2
Author: Sergei Nikulov <snikulov@users.noreply.github.com>
Date: Wed May 24 01:03:29 2017 +0300

LDAP: documentation update per #878 changes (#1506)

commit bba59073c52e6dd00ddc18e0e40d1f7dfc1c9315
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 23 10:32:18 2017 +0200

redirect: store the "would redirect to" URL when max redirs is reached

Test 1261 added to verify.

Reported-by: Lloyd Fournier

Fixes #1489
Closes #1497

commit 48f2a96a609aec535736a7fe202163fdb2a99fd5
Author: Sergei Nikulov <snikulov@users.noreply.github.com>
Date: Wed May 24 00:14:13 2017 +0300

LDAP: fixed checksrc issue

commit f0fe66f13c93d3d0af45d9fb1231c9164e0f9dc8
Author: Sergei Nikulov <snikulov@users.noreply.github.com>
Date: Tue May 23 22:45:39 2017 +0300

LDAP: using ldap_bind_s on Windows with methods (#878)

* LDAP: using ldap_bind_s on Windows with methods(BASIC/DIGEST/NTLM/AUTONEG)

* ldap: updated per build options handling

* ldap: fixed logic for auth selection

commit b4d6b994454890269e79b439ac5d1492a626e9a6
Author: Akhil Kedia <akhil.kedia@samsung.com>
Date: Mon May 22 17:34:45 2017 +0900

cmake: fix build on Ubuntu 14.04

Fixed a syntax error with setting cache variables (The type and
docstring were missing), resulting in build errors. Quoted the
CURL_CA_PATH and CURL_CA_BUNDLE otherwise the path was written without
quotes in C code, resulting in build errors.

Closes #1503

Signed-off-by: Akhil <akhil.kedia@samsung.com>

commit a1b3a95c96adb9624358c26976c5d22adeaab6ed
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 23 07:41:52 2017 +0200

url: fix declaration of 'pipe' shadows a global declaration

follow-up to 4cdb1be8246c

commit 945919db5b42f40a174598ba73e54b775bf85faf
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon May 22 19:00:15 2017 +0200

memdebug: fix compilation failure

.... caused by a typo in the last commit (fixing issue #1504):

memdebug.c: In function ‘curl_fclose’:
memdebug.c:444:3: error: implicit declaration of function
‘DEBUGDEBUGASSERT’ [-Werror=implicit-function-declaration]

commit 8589e1fe30773e10c50b9a65d4f96eeb8434233c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 22 13:58:17 2017 +0200

assert: avoid, use DEBUGASSERT instead!

... as it does extra checks to actually work.

Reported-by: jonrumsey at github
Fixes #1504

commit fab9629133025e2d9517334535908200802b5e96
Author: Simon Warta <simon@kullo.net>
Date: Tue May 2 00:26:08 2017 +0200

cmake: remove unused variables: GNUTLS_ENABLED, NSS_ENABLED

commit 2ea297564da508e96e2c720479be2afa0594027b
Author: Simon Warta <simon@kullo.net>
Date: Tue May 2 00:18:18 2017 +0200

cmake: remove CURL_CA_BUNDLE from cmake TODO

commit 6a9489dc4512bf92e121d7bc08924e2922ababc0
Author: Simon Warta <simon@kullo.net>
Date: Tue May 2 00:12:55 2017 +0200

cmake: auto detection of CURL_CA_BUNDLE/CURL_CA_PATH

Closes #1461

commit 8256cce2c7ae2b13fc4790ab08623cee17ac612c
Author: Simon Warta <simon@kullo.net>
Date: Mon May 1 22:15:15 2017 +0200

cmake: add CURL_CA_BUNDLE/CURL_CA_FALLBACK/CURL_CA_PATH options

commit 5606fcc657ecbe113b6dcdcd26e79e7fa7fbea42
Author: Simon Warta <simon@kullo.net>
Date: Sun Feb 26 22:41:33 2017 +0100

cmake: Add CURL_CA_FALLBACK to curl_config.h.cmake

This is for symmetry with the autoconf generated curl_config.h.in

commit edd7603e99e82b9edb3aa2cf4ced47cf18d163d2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 21 00:26:27 2017 +0200

RELEASE-NOTES: synced with 052a14e3c

commit 052a14e3cda7ea16729a4403b60bc94907c561b7
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue May 16 21:29:59 2017 +0200

tests: stabilize test 1034

Pass the invalid domain name on stdin. On some systems, the test
framework cannot pass invalid UTF-8 sequences on the command line.

Closes #1488

commit f31760e63b4e9ef1eb25f8f211390f8239388515
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 18 13:04:52 2017 +0200

ssh: ignore timeouts during disconnect

... as otherwise it risks not cleaning up the libssh2 handle properly
which leads to memory leak!

Assisted-by: Joel Depooter

Closes #1495
Closes #1479

Bug: https://curl.haxx.se/mail/lib-2017-04/0024.html

commit e5491e0f9c876c84516f8a3bb7060a3c82e0a830
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 19 14:25:16 2017 +0200

ghiper.c/hiperfifo.c: add comment about missing timer functionality

It takes someone to read up on the APIs of these libraries to figure out
how to do this correctly.

Reported-by: Michael Kaufmann

Closes #1253

commit d6bb1f1d563dd3748813ad7b6f617ddefc3194dd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 19 14:16:37 2017 +0200

asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction input

That means delete the timer.

Reported-by: Michael Kaufmann
Ref: #1253

commit ce73a30168ee1117984a21a366b05931e87caaad
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 18 23:11:45 2017 +0200

cmdline-opts/write-out.d: s/-L/--location

Since the man page generator wants the long option name version to
generate the proper output.

commit b4cfda8a4aa885b444ac2b71adbbe87906545026
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date: Wed May 17 15:54:19 2017 +0200

mkhelp.pl: do not add current time into curl binary

... as part of hugehelpgz rodata to make build reproducible.

See https://reproducible-builds.org/ for why this is good

Closes #1490

commit a6f657911e19c234739b3fe2e5519f041e69753b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 17 10:55:12 2017 +0200

oauth2-bearer.d: mention the <token> argument

commit c58063b4f828f47e4a7ed6c8c6cbd286d1162afc
Author: Nick Zitzmann <nickzman@gmail.com>
Date: Tue May 16 19:21:12 2017 -0500

darwinssl: Fix exception when processing a client-side certificate file
if no error was raised by the API but the SecIdentityRef was null

Fixes #1450

commit 32c27f9e98e3b6195b0e465df853a98a4702fb01
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 16 16:13:03 2017 +0200

curl_sasl: fix build error with CURL_DISABLE_CRYPTO_AUTH + USE_NTLM

Reported-by: wyattoday at github
Fixes #1487

commit 4fcc0b09fb000e72ad5b3f4c3473d87026470d09
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 16 08:49:11 2017 +0200

docs/cmdline-opts/config.d: edit for language

commit 590991d07ae6e8eaa1aec309fa0f92b239d002ee
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 15 23:19:45 2017 +0200

RELEASE-NOTES: synced with eb16305e6

commit eb16305e6ab1b3d660b6de326f61fd4c7df086ac
Author: moparisthebest <admin@moparisthebest.com>
Date: Mon Apr 17 19:47:51 2017 -0400

SecureTransport/DarwinSSL: Implement public key pinning

Closes #1400

commit 19195696338b9a63fcc5ca42d8238cbe54e2afc2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 15 13:00:48 2017 +0200

man pages: fix example syntax errors

follow-up to 5ddad099b42b50

commit 5ddad099b42b505a9449738db124ed6b1389afc1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 15 11:45:19 2017 +0200

docs/libcurl/opts: added more examples in man pages

commit e366ca2b85a78a0ad8d663534bd462e61ad407b5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 15 10:11:23 2017 +0200

CURLOPT_HTTPPROXYTUNNEL: clarify, add example

commit 180c75eb63ae95c41c692957ccd13321e44d4e9e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 14 17:09:45 2017 +0200

curl: show the libcurl release date in --version output

... and support and additional "security patched" date for those who
enhance older versions that way. Pass on the define CURL_PATCHSTAMP with
a date for that.

Building with non-release headers shows the date as [unreleased].

Also: this changes the date format generated in the curlver.h file to be
"YYYY-MM-DD" (no name of the day or month, no time, no time zone) to
make it easier on the eye and easier to parse. Example (new) date
string: 2017-05-09

Suggested-by: Brian Childs

Closes #1474

commit d836c9fee4bbef249dc7bf281336fb41eb3b77c7
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat May 13 22:54:59 2017 +0200

url.c: add a compile-time check that CURL_MAX_WRITE_SIZE is large enough

Some code (e.g. Curl_fillreadbuffer) assumes that this buffer is not
exceedingly tiny and will break if it is. This same check is already
done at run time in the CURLOPT_BUFFERSIZE option.

commit b1fa80b84facb94a667a6bfaa99476a161285b0d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat May 13 22:57:49 2017 +0200

lib510: don't write past the end of the buffer if it's too small

commit 646dc1c42a57298a487fceac4e62cae2b420e78f
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat May 13 22:35:15 2017 +0200

tests: added missing keywords "chunked Transfer-Encoding"

commit d5649c91a18d559af3e54e782f0333a94d9b7362
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat May 13 21:14:59 2017 +0200

THANKS: add a few missing names

... I found them in the commit logs from the early years

commit fa0ac3f4d9ca095c33bca62ba2f64c95e3c3456a
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat May 13 19:04:10 2017 +0200

tests: made a couple of prechecks consistent with others

Also removed a TODO suggesting caching the precheck results. Tests
showed this would save about 0.1 sec on the total test run time on a
relatively modern system, an unnoticeable gain at the cost of longer and
more complicated code. There would also be a danger that a cached test
result would be inappropriately returned, such as when other test
dependencies (like environment variables) are different or when the
precheck causes side effects (like filesystem changes).

commit 6d49695bcabe14108056c429cffdaee950242318
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 12 19:58:06 2017 +0200

FAQ: add 7.4 to toc

... and delete trailing whitespace

Fixes #1484

commit d6c74ff663100d600a04debea35d0bc986adb213
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 12 17:19:30 2017 +0200

multi: remove leftover debug infof() calls from e9fd794a6

commit 4cdb1be8246caefd0c0e777f6da4128d7f51b2a2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 12 16:29:06 2017 +0200

pipeline: fix mistakenly trying to pipeline POSTs

The function IsPipeliningPossible() would return TRUE if either
pipelining OR HTTP/2 were possible on a connection, which would lead to
it returning TRUE even for POSTs on HTTP/1 connections.

It now returns a bitmask so that the caller can differentiate which kind
the connection allows.

Fixes #1481
Closes #1483
Reported-by: stootill at github

commit bc3866e3eb3f4da60bb0d6fbe8e4e38ae8ce943f
Author: Ron Eldor <Ron.Eldor@arm.com>
Date: Tue May 9 16:57:19 2017 +0300

mbedtls: Support server renegotiation request

Tested with servers: IIS 7.5; OpenSSL 1.0.2.

Closes https://github.com/curl/curl/pull/1475

commit 77b90997dd228b071603c9ade96a16610a6df222
Author: Marcel Raad <Marcel.Raad@teamviewer.com>
Date: Thu May 11 09:59:56 2017 +0200

cookie_interface: fix -Wcomma warning

clang 5.0 complains:
possible misuse of comma operator here [-Wcomma]

commit b875250e32048070401f5a3a23cdd9f47b15e114
Author: Marcel Raad <Marcel.Raad@teamviewer.com>
Date: Thu May 11 10:01:58 2017 +0200

formdata: fix -Wcomma warning

clang 5.0 complains:
possible misuse of comma operator here [-Wcomma]

Change the comma to a semicolon to fix that.

commit 31b39c40cf909d34f27dc655755f346482f57089
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 9 12:47:49 2017 +0200

multi: use a fixed array of timers instead of malloc

... since the total amount is low this is faster, easier and reduces
memory overhead.

Also, Curl_expire_done() can now mark an expire timeout as done so that
it never times out.

Closes #1472

commit e9fd794a616c10bd0d017a76f8fdccaf4cc76851
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 9 12:47:49 2017 +0200

multi: assign IDs to all timers and make each timer singleton

A) reduces the timeout lists drastically

B) prevents a lot of superfluous loops for timers that expires "in vain"
when it has actually already been extended to fire later on

commit 8dfa378e528917fd253780fd8414795ed868ab0f
Author: Richard Hsu <richard@accompani.com>
Date: Tue May 9 14:30:15 2017 -0700

tests: remove superfluous test 1399

@MarcelRaad noted that `test1399` causes infinite loop on MinGW.
Looking into this, seems like it is related to how Windows handles
CRLF. See https://github.com/curl/curl/commit/9e093f by @mback2k.
Removing `test1399` as it's identical to `test1326` then with such a
fix.

Test 1399 was broughy by commit 862b02f8947039e

Closes #1478

commit f19baf27ebf89bea3768471be3c89772dc8a0be5
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue May 9 19:49:17 2017 +0200

tests: make test file names more unique

Include the test number in the names of files written out by tests to
reduce the chance of accidental duplication and to make it more clear
which test is associated with which file.

commit f5b71d3a6c4b2e818214c154235e80ecefd39778
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue May 9 19:43:22 2017 +0200

tests: removed redundant --trace-ascii arguments

This is already added by the test suite; it's not clear why all these
tests had it, unless it's cargo-culting.

commit 4dc8499494dc16bf336c1055f2ae4b78c709c87d
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue May 9 19:20:28 2017 +0200

tool: fix remaining -Wcast-qual warnings

Avoid casting away low-level const.

commit 158d7016419429e7741ec35d0d6e256985762347
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 9 09:08:25 2017 +0200

formboundary: convert assert into run-time check

... to really make sure the boundary fits in the target buffer.

Fixes unused parameter 'buflen' warning.

Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/pull/1468#issuecomment-300078754

commit 2f6bfd54997904457991fd6897ddbc309d3292ad
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue May 9 00:36:38 2017 +0200

tests: list the primary server first in the server section

commit 8b2f22ed29dc06eb55941c82c6ee48bdd7542487
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 8 23:30:29 2017 +0200

curl: generate the --help output

... using the docs/cmdline-opts/gen.pl script, so that we get all the
command line option documentation from the same source.

The generation of the list has to be done manually and pasted into the
source code.

Closes #1465

commit 73afcfc0ae5dc70821d5f1ac0b1f897fd67efe97
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 8 23:23:29 2017 +0200

tests: updated for modified fake random

commit 1cafede9f2b4a838dfc80423415e60704b3346f9
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon May 8 23:23:28 2017 +0200

rand: treat fake entropy the same regardless of endianness

When the random seed is purposely made predictable for testing purposes
by using the CURL_ENTROPY environment variable, process that data in an
endian agnostic way so the the initial random seed is the same
regardless of endianness.

- Change Curl_rand to write to a char array instead of int array.

- Add Curl_rand_hex to write random hex characters to a buffer.

Fixes #1315
Closes #1468

Co-authored-by: Daniel Stenberg
Reported-by: Michael Kaufmann

commit 9e9509e46a9db909e4c0a2ce0ac1ef5c94fcb3a4
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun May 7 15:02:02 2017 +0200

tests: give each stunnel.conf file a unique name

Otherwise, subsequent uses of stunnel overwrite the configuration file
of previous invocations so they can no longer be inspected.

commit dc1a1b50557ed0cad427e0b5808a95459443ca41
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 8 20:23:44 2017 +0200

tool_msgs: remove wrong cast

Commit 481e0de00a9003b9c5220b120e3fc302d9b0932d changed the variable
type from int to size_t, so don't cast the result of strlen to int
anymore.

commit e076fdaf5bb7862670cf4e0e5d6ba5861dd3b6e9
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 8 20:09:32 2017 +0200

tftpd: fix signed/unsigned mismatch warnings

alarm's argument is unsigned.

commit 141ed8ca09e0650879d2333ecce19ff1b339b895
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 8 19:59:46 2017 +0200

libtest: fix MinGW-w64 warnings

long is 32 bits while size_t is 64 bits on MinGW-w64, so
typecheck-gcc.h complains when using size_t for a long option.
Also, curl_socket_t is unsigned long long rather than int.

commit 78007305203140162f567fd611182cfc41ac51dd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 8 15:10:09 2017 +0200

curl.1: depend the build on the Makefile.inc too

... to also make it update when we remove files, like we did for
--environment in commit a8e388dd1095.

commit f27c884be8c35287569b7fc909c9a2455d5e38e3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 8 10:18:30 2017 +0200

RELEASE-NOTES: synced with e3f84efc32d6b01a

commit e3f84efc32d6b01a605c93b39668653049c15188
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 8 10:08:48 2017 +0200

runtests: fix "use of undefined value" warning in -R handling

commit e2b394106d543c4615a60795b7fdce04bd4e5090
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri May 5 09:37:05 2017 +0200

test537: use correct variable type

Avoids narrowing conversion warnings because rlim_t is usually
unsigned long.

Closes https://github.com/curl/curl/pull/1469

commit d99acd937a01ee7111c347e08c1f25cea54a6ab9
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun May 7 22:14:28 2017 +0200

sendrecv: fix MinGW-w64 warning

The first argument to select is an int, while curl_socket_t is
unsigned long long when using WinSock. It's ignored anyway [1].

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141.aspx

commit f67aa4d31c41eb91b0339cc66da5a199e70e7b4b
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun May 7 20:27:12 2017 +0200

tool_parsecfg: fix -Wcast-qual warning

Don't convert string literal to char * before assigning it to
const char *.

commit ea1b86478662dce1c3f1ce417180efd5d998c883
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun May 7 19:02:34 2017 +0200

asyn-thread: fix unused macro warnings

Don't do anything in this file if CURLRES_THREADED is not defined.

commit 3661c8aeb0c6b6f5cb935d5b00d5663df4c66821
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun May 7 16:26:19 2017 +0200

tftp: silence bad-function-cast warning

The cases this warns about are handled elsewhere, so just use an
intermediate variable to silence the warning.

commit 6c7f1f741bcbf8e408c9c7ced078cd1cef70af2c
Author: canavan at github <canavan@users.noreply.github.com>
Date: Sun May 7 00:06:56 2017 +0200

buildconf: fix hang on IRIX

Apparently, /usr/bin/m4 ignores the --version parameter and waits for
input from stdin.

Fixes #1471

commit 289236b223db7baa04c7f1c586f321c8ac04e98a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat May 6 23:51:29 2017 +0200

opts: fix bad example formatting \n => \\n

...to render properly nroff.

commit 271c63748ada2fa04a25481990e3d7a55d08bed0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat May 6 23:38:39 2017 +0200

opts: examples added to 8 more libcurl option man pages

commit a8e388dd1095d3ffa12fc75f2bec70f1f9b66c80
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 3 14:28:40 2017 +0200

curl: remove tool_writeenv.[ch]

... and USE_ENVIRONMENT and --environment. It was once added for RISC OS
support and its platform specific behavior has been annoying ever
since. Added in commit c3c8bbd3b2688da8e, mostly unchanged since
then. Most probably not actually used for years.

Closes #1463

commit ba5fa1c7a825da75da6f0686ee89e2b64a9cb0f5
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat May 6 09:04:00 2017 +0200

runtests.pl: simplify the datacheck read section

Also, document that numbered datacheck sections are possible.

commit 6dc3422d48b002887ae3a78afdf626f792397c06
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri May 5 21:29:50 2017 +0200

tests: fix -Wcast-qual warnings

Avoid casting string literals to non-const char *.

commit 2b7bde4d3f08f1414fd73cb908d60e53949c33da
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 5 17:26:08 2017 +0200

docs/opts: 24 more man pages now have examples

commit 58a6265a40bce369ba523364905489dcc6a11551
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 5 16:30:23 2017 +0200

docs/opts: 23 more man pages now have examples

commit 22fdb0954c1492f88a49487ab1e4670938c74629
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 5 15:51:25 2017 +0200

tests/server: run checksrc by default in debug-builds

commit 9b47f67929d8a962def79121b585e5e4754c9e1d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 5 13:54:32 2017 +0200

curl_slist_append.3: clarify a NULL input creates a new list

commit ad8c1472fec946a9bae2d688bbadb7d77123b147
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri May 5 11:44:22 2017 +0200

unit1305: fix compiler warning

calloc and ai_addrlen expect different (usually unsigned) types.

commit 1ef38a95d27d51366ca291c332af9f35782896bf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 5 08:12:24 2017 +0200

runtests: use -R for random order

Suggested-by: Dan Fandrich

commit 067b8f230460388442f9f9f5ed7a744ca9c646b5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 4 16:32:56 2017 +0200

runtests: add -o to run test cases in scrambled order

... instead of numerical order.

Closes #1466

commit 79bb0afddb4a59033b82a9a55acf317e85f57e3c
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu May 4 22:36:40 2017 +0200

sockfilt.c: shortened too long line

commit 4032c5da8473fc7d55e9a96471b697c62663c194
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu May 4 20:19:10 2017 +0200

tests/server: make string literals const

assign string literals to const char * instead of char * in order to
avoid a lot of these warnings:
cast from 'const char *' to 'char *' drops const qualifier
[-Wcast-qual]

commit 07fd7871b38cc8472c3806e254ba4062e3adeae0
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu May 4 18:19:13 2017 +0200

schannel: return a more specific error code for SEC_E_UNTRUSTED_ROOT

commit 7cb1e1ee0136b3e37b1b234342c64f2fc181a6b2
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu May 4 18:03:03 2017 +0200

test557: set a known good numeric locale

Windows does not allow setting the locale with environment variables (as
the test attempted to do), so the test failed when run with a user
locale that has a comma as radixchar. Changed the test to call
setlocale() explicitly to ensure that a known working locale is set even
on Windows.

commit ff108521589639e63caa5a589bb8ee80dea1eac6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 4 15:49:38 2017 +0200

curl: fix warning "comma at end of enumerator list"

commit dfb0595a739ee89b8b01003e3c0af5cb1138ad7c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 4 15:39:04 2017 +0200

test559: verify use of minimum CURLOPT_BUFFERSIZE

commit a51ca050fc193aea9b7ace018c1588a107891d49
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu May 4 08:50:35 2017 +0200

curl_setup_once: use SEND_QUAL_ARG2 for swrite

SEND_QUAL_ARG2 had to be set, but was never used. Use it in swrite to
avoid warnings about casting away low-level const.

Closes https://github.com/curl/curl/pull/1464

commit 4b933821934a176a5a0fde950c02d6b615c70c5c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 4 00:00:13 2017 +0200

CURLINFO_REDIRECT_URL.3: add example

commit b065a508c652e6ba78f8d07caa14992cfe644bb4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 4 00:00:07 2017 +0200

CURLINFO_EFFECTIVE_URL.3: add example

commit cee39aa3beb2da995104a2c57fe9a24be6b9f6c0
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue May 2 20:47:13 2017 +0200

lib: fix compiler warnings

Fix the following warnings when building the tests by using the correct
types:
cast from 'const char *' to 'void *' drops const qualifier
[-Wcast-qual]
implicit conversion changes signedness [-Wsign-conversion]

commit fa12f54bba39bf5795826e04c9f0fa1a4e052157
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed Apr 26 20:14:51 2017 +0200

typecheck-gcc: add support for CURLINFO_SOCKET

Closes https://github.com/curl/curl/pull/1452

commit 3ff0d2fb00c33c70deb937df6e4be28eb5e81498
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed Apr 26 19:56:24 2017 +0200

typecheck-gcc: add missing string options

Closes https://github.com/curl/curl/pull/1452

commit 1bfdbb5a5141a88aa5900786407cb24aceca09d7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 3 14:22:58 2017 +0200

abstract-unix-socket.d: shorten the help text to fit within 79 cols

commit 120488d9d63ccae19baf733a2cd2e79063a47a8d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 2 23:41:21 2017 +0200

RELEASE-NOTES: synced with 862b02f89

commit 862b02f8947039e9a7f5d6ae47b547e3bf295988
Author: Richard Hsu <richardhsu.cs@gmail.com>
Date: Tue Apr 4 19:26:29 2017 -0700

Telnet: Write full buffer instead of byte-by-byte

Previous TODO wanting to write in chunks. We should support writing more
at once since some TELNET servers may respond immediately upon first
byte written such as WHOIS servers.

Closes #1389

commit 913c3c8f5476bd7bc4d8d00509396bd4b525b8fc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 1 01:23:53 2017 +0200

curl: non-boolean command line args reject --no- prefixes

... and instead properly respond with an error message to the user
instead of silently ignoring.

Fixes #1453
Closes #1458

commit f2d5d05893880bea6ae5951020ab47b7c581f8ec
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue May 2 21:09:41 2017 +0200

testpart: remove _MPRINTF_REPLACE

Support for _MPRINTF_REPLACE in mprintf.h was removed in
55452ebdff47f98bf3cc383f1dfc3623fcaefefd, replaced with curl_printf.h.

commit 6943085b50429b873e26998b2ced0f6ecc58ed56
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue May 2 09:08:56 2017 +0200

gtls: fixed a lingering BUFSIZE reference

commit eab6732fde094073480af5039b6fb495cbc3fb8a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 2 08:32:04 2017 +0200

ssh: fix compiler warning from e40e9d7f0de

commit 4858c451ee54d0104f68408debb3a32947b7b273
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 1 00:31:56 2017 +0200

url: let CURLOPT_BUFFERSIZE realloc to smaller sizes too

Closes #1449

commit e3ed5cb380e615e91d99b09da9f0ead0eaf3e0b5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 15:31:14 2017 +0200

BUFSIZE: rename to READBUFFER_*, make separate MASTERBUF_SIZE

commit 799c7048dc9d5b4e4af50a4f36867742578c7663
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 15:28:50 2017 +0200

openssl: use local stack for temp storage

commit 7ee52c25f35816968b86d32eaef70ab743a457d4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 15:19:19 2017 +0200

sendf: remove use of BUFSIZE from debug data conversions

The buffer can have other sizes.

commit e40e9d7f0decc799e3ccfe2c418632f8bb52031a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 14:38:34 2017 +0200

buffer: use data->set.buffer_size instead of BUFSIZE

... to properly use the dynamically set buffer size!

commit c79f4908d461cecaa9976099dcbb8a63b351f19e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 14:37:45 2017 +0200

krb5: use private buffer for temp string, not receive buffer

commit 89cf6f38d2f525cbc8537a60061f5f37bb2f35f7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 14:37:06 2017 +0200

upload: UPLOAD_BUFSIZE is now for the upload buffer

commit 8ed81f67c2a3783c04e52b16d39bf998bd998c06
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 08:46:18 2017 +0200

unit1606: do not print/access buffer

It was a wrong assumption that it could do that!

commit 0cab3a394a190c1cdf900cf2887ccdd6a7f213ef
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 01:03:17 2017 +0200

http-proxy: use a dedicated CONNECT response buffer

To make it suitably independent of the receive buffer and its flexible
size.

commit 40a074f255de90003ab753f5d0ad61b74c62ca9b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:50:50 2017 +0200

transfer: fix minor buffer_size mistake

commit f2fadf490f66ad364f5a6f0356d626dda5f9a82f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:50:21 2017 +0200

failf: use private buffer, don't clobber receive buffer

commit b8191e975faa7810ed3d858205b0b3f0d297f0b2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:50:04 2017 +0200

pingpong: use the set buffer size

commit 504eafff865478827f04f31e45ac367672f3e18d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:49:23 2017 +0200

http2: use the correct set buffer size

commit 87eb8d5b30ce2adfe2673cc0b1abf6ca68891cc4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:48:56 2017 +0200

http: don't clobber the receive buffer for timecond

commit f535f4f5fc6cbdce1aec5a3481cec37369dca468
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:16:10 2017 +0200

buffer_size: make sure it always has the correct size

Removes the need for CURL_BUFSIZE

commit 7c312f84ea930d89c0f0f774b50032c4f9ae30e4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:15:28 2017 +0200

file: use private buffer for C-L output

... instead of clobbering the download buffer.

commit c2ddc12d6086b522703c8b80a72ab791680f1a28
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 00:09:22 2017 +0200

CURLOPT_BUFFERSIZE: 1024 bytes is now the minimum size

The buffer is needed to receive FTP, HTTP CONNECT responses etc so
already at this size things risk breaking and smaller is certainly not
wise.

commit 349789e645a306a6ee467ef90a57f6cc306ca92e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 24 16:05:46 2017 +0200

ftp: use private buffer for temp storage, not receive buffer

commit 94460878cc634b590a7282e3fe60ceafb62d141a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 24 15:33:57 2017 +0200

http: use private user:password output buffer

Don't clobber the receive buffer.

commit 35311b22b92475a3a0ac65b13e0fce6ed85b060b
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 1 21:51:02 2017 +0200

anyauthput: remove unused code

The definition of TRUE was introduced in
4a728747e6f8845e500910e397dfc99aaf4a7984 and is not used anymore since
e664cd5826d43930fcc5b5dbaedbec94af33184b.
The usage of intptr_t was removed in
32e38b8f42477cf5ce3c3fef2fcc9db82f7fb7be.

commit 5b13619da4d12f262a289a8b93eedec00e977a60
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon May 1 14:10:43 2017 -0400

tool: Fix missing prototype warnings for CURL_DOES_CONVERSIONS

- Include tool_convert.h where needed.

Bug: https://github.com/curl/curl/issues/1460
Reported-by: Gisle Vanem

commit 499a7288fe831ef51a9b0930fc67bcd97aa6c675
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon May 1 13:44:39 2017 -0400

curl_setup: Ensure no more than one IDN lib is enabled

Prior to this change it was possible for libcurl to be built with both
Windows' native IDN lib (normaliz) and libidn2 enabled. It appears that
doesn't offer any benefit --and could cause a bug-- since libcurl's IDN
handling is written to use either one but not both.

Bug: https://github.com/curl/curl/issues/1441#issuecomment-297689856
Reported-by: Gisle Vanem

commit 0912a5c760dd9b85692e121313a04797b52d4ab2
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 1 13:17:57 2017 +0200

getpart: use correct variable type

This fixes the following clang warning:
getpart.c:201:17: warning: cast from function call of type 'CURLcode'
to non-matching type 'int' [-Wbad-function-cast]

commit 7dd89c1cdcda16945610c4cdef89b5cdb2c183a8
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 1 12:55:09 2017 +0200

tests: declare TU-local variables static

This fixes missing-variable-declarations warnings when building with
clang.

commit c3513f7e83804d63f3ba8e65d34ada38974d7851
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 1 11:46:44 2017 +0200

tool_cb_prg: fix double-promotion warning

clang complains:
tool_cb_prg.c:86:22: error: implicit conversion increases
floating-point precision: 'float' to 'double'
[-Werror,-Wdouble-promotion]

Fix this by using a double instead of a float constant.

commit 6cba8dacea773ab37ae457e2a2d24d2ead9f68a4
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon May 1 09:16:12 2017 +0200

examples: fixed too long line and too long string warnings

commit c23177d5e90aec2ec42bd20004d0acf0a6412456
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun Apr 30 23:29:31 2017 +0200

examples: declare TU-local variables static

This fixes missing-variable-declarations warnings when building with
clang.

commit dc9e4859bb50e4d438dbbb016870effea395b624
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun Apr 30 22:33:33 2017 +0200

http2: declare TU-local variables static

This fixes the following clang warnings:

http2.c:184:27: error: no previous extern declaration for non-static
variable 'Curl_handler_http2' [-Werror,-Wmissing-variable-declarations]
http2.c:204:27: error: no previous extern declaration for non-static
variable 'Curl_handler_http2_ssl'
[-Werror,-Wmissing-variable-declarations]

commit 092d012441e92f3dfca2a6e923c36edb8ab60e96
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Apr 30 15:21:54 2017 +0200

unit1604: fixed indentation

commit c0a27c5cee3c437de1629eae53d0a2c2f750488d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Apr 30 13:35:17 2017 +0200

unit1604: fixed compilation under Windows, broken in the previous commit

commit 8089dcfc5d4b34b15cee1f1cc9b3124c0279d41b
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Apr 30 10:54:26 2017 +0200

tests: fixed OOM handling of unit tests to abort test

It's dangerous to continue to run the test when a memory alloc fails.

commit 65c6caacaee87f2b09aa03e5eed1bcbd9e356f68
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 29 19:17:51 2017 +0200

curl_rtmp: fix missing-variable-declarations warnings

clang complains:

curl_rtmp.c:61:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmp' [-Werror,-Wmissing-variable-declarations]
curl_rtmp.c:81:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpt' [-Werror,-Wmissing-variable-declarations]
curl_rtmp.c:101:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpe' [-Werror,-Wmissing-variable-declarations]
curl_rtmp.c:121:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpte' [-Werror,-Wmissing-variable-declarations]
curl_rtmp.c:141:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmps' [-Werror,-Wmissing-variable-declarations]
curl_rtmp.c:161:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpts' [-Werror,-Wmissing-variable-declarations]

Fix this by including the header file.

commit 12e7a8c3d609d6a6094a7db8fb8c0cc80d8f55f0
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Apr 29 18:52:51 2017 +0200

url: fixed a memory leak on OOM while setting CURLOPT_BUFFERSIZE

commit 584142892f7d5fb3100f3c0ef8e479d472b8c3c7
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Apr 29 10:16:06 2017 +0200

tests: added --remote-time tests for remaining protocols that support it

commit 2ce86d8509fa49d371af60d26bd934f90b99aeff
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Apr 29 10:00:15 2017 +0200

runtests.pl: support multiline <postcheck> commands

commit 4da846a41ed19f2a81357d30cf210bf4616a8798
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Apr 27 01:24:07 2017 +0200

tool_operate: use utimes instead of obsolescent utime when available

commit 3364de00f75ef1bc9d2e70a74e63090d583e048d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Apr 27 22:29:06 2017 +0200

test1443: test --remote-time

commit 63503a969fe9e11907f7e3f262a3f6c27d885f60
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Apr 27 11:42:04 2017 +0200

http-proxy: removed unused argument in CURL_DISABLE_PROXY case

Missed in commit 55c3c02e

commit 7543f28ad2fb65e6aef9f00c64b71749f087401a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 27 00:30:34 2017 +0200

cookie_interface.c: changed the other domain to example.com too

commit afe05ee2eebeea574aa5cc3fd62e5ede3d821342
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 27 00:27:59 2017 +0200

cookie_interface.c: fix cookie domain so the example works

commit 8b03436d3cc7b8b0359b5a658c38fe52484dcd61
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Apr 26 23:02:42 2017 +0200

Makefile: fix make dist

Commit 80a87e8a broke 'make dist' as it can't handle installing from
absolute target names. Rearranged the dependencies so the absolute name
is used for building but the relative name is use for distributing.

commit b85142164228abe15d6ca20a244ffb849c700e6c
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Apr 25 08:36:13 2017 +0200

lib: remove unused code

This fixes the following clang warnings:
macro is not used [-Wunused-macros]
will never be executed [-Wunreachable-code]

Closes https://github.com/curl/curl/pull/1448

commit 55c3c02e59d1daf31ec2097f93b8139ddb3fdeb6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 26 00:34:22 2017 +0200

http-proxy: remove unused argument from Curl_proxyCONNECT()

commit fb67c977b98d8a7e1fcbed523fe6ce0c06ec1ac8
Author: Martin Kepplinger <martink@posteo.de>
Date: Tue Apr 25 23:55:57 2017 +0200

url: declare get_protocol_family() static

get_protocol_family() is not defined static even though there is a
static local forward declaration. Let's simply make the definition match
it's declaration.

Bug: https://curl.haxx.se/mail/lib-2017-04/0127.html

commit e7f8ac19458ba92da78a8a24043922141cc68d4a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 15:58:51 2017 +0200

examples: ftpuploadfrommem.c

Uploads data to an FTP site, directly from memory.

Closes #1451

commit e3e8d0204b72509cfd63d97a159d1ac3fdea703b
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Apr 10 17:40:30 2017 +0200

nss: load libnssckbi.so if no other trust is specified

The module contains a more comprehensive set of trust information than
supported by nss-pem, because libnssckbi.so also includes information
about distrusted certificates.

Reviewed-by: Kai Engert
Closes #1414

commit fab3d1ec650e17fd15cf8b6d4ffa5bfd523501dc
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Apr 10 17:05:05 2017 +0200

nss: factorize out nss_{un,}load_module to separate fncs

No change of behavior is intended by this commit.

commit c8ea86f377a2f341db635ec96f99314023b5a8f3
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Apr 24 15:01:04 2017 +0200

nss: do not leak PKCS #11 slot while loading a key

It could prevent nss-pem from being unloaded later on.

Bug: https://bugzilla.redhat.com/1444860

commit 9c5aed185209838b524251886238da9b3d58382b
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Apr 24 17:56:19 2017 +0200

typecheck-gcc: fix _curl_is_slist_info

Info values starting with CURLINFO_SOCKET expect a curl_socket_t, not a
curl_slist argument.

This fixes the following GCC warning when building the examples with
--enable-optimize:

../../include/curl/typecheck-gcc.h:126:42: warning: call to
‘_curl_easy_getinfo_err_curl_slist’ declared with attribute warning:
curl_easy_getinfo expects a pointer to 'struct curl_slist *' for this
info [enabled by default]
sendrecv.c:90:11: note: in expansion of macro ‘curl_easy_getinfo’
res = curl_easy_getinfo(curl, CURLINFO_ACTIVESOCKET, &sockfd);

Closes https://github.com/curl/curl/pull/1447

commit 96ece5c0eef0ca4953ec306e59fd7aa8d48be793
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 24 12:03:08 2017 +0200

curl: set a 100K buffer size by default

Test command 'time curl http://localhost/80GB -so /dev/null' on a Debian
Linux.

Before (middle performing run out 9):

real 0m28.078s
user 0m11.240s
sys 0m12.876s

After (middle performing run out 9)

real 0m26.356s (93.9%)
user 0m5.324s (47.4%)
sys 0m8.368s (65.0%)

Also, doing SFTP over a 200 millsecond latency link is now about 6 times
faster.

Closes #1446

commit e698b822877898c44f0ee809b17aff8437674128
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 25 10:49:53 2017 +0200

transfer: remove 'uploadbuf' pointer and cleanup readwrite_upload()

The data->req.uploadbuf struct member served no good purpose, instead we
use ->state.uploadbuffer directly. It makes it clearer in the code which
buffer that's being used.

Removed the 'SingleRequest *' argument from the readwrite_upload() proto
as it can be derived from the Curl_easy struct. Also made the code in
the readwrite_upload() function use the 'k->' shortcut to all references
to struct fields in 'data->req', which previously was made with a mix of
both.

commit 338f427a24f78a717888c7c2b6b91fa831bea28e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Apr 24 03:13:28 2017 -0400

configure: stop prepending to LDFLAGS, CPPFLAGS

- Change prepends to appends because user's LDFLAGS and CPPFLAGS should
always come first so they're searched before ours.

Bug: https://github.com/curl/curl/issues/1420
Reported-by: Helmut K. C. Tessarek

commit 93567071b744975e191c5732d9cbe4b0d529f4c9
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Apr 25 09:19:59 2017 +0200

if2ip: fix -Wcast-align warning

Follow-up to 119037325de02579f5c58256ca2ed2a0aa592c86, which fixed the
warning in the HAVE_GETIFADDRS block, but not in the
HAVE_IOCTL_SIOCGIFADDR block.

commit 80a87e8abc535aadf28bd154fdf5d44e61ef2080
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Apr 23 09:49:59 2017 +0200

Makefile: avoid use of GNU-specific form of $<

$< is only allowed in implicit rules in some non-GNU makes (e.g. BSD,
AIX) so avoid use elsewhere by referencing the dependent curl.1 file
directly instead. This is somewhat tricky because the file is supplied
in the packaged tar ball (but not in git) but must still be able to be
rebuilt when its dependencies change. The right thing must happen in
both tar ball and git source trees, as well as in both in-tree and
out-of-tree builds.

commit c8ac0b6a7f9d308fcfe404d445a013b9a2c58845
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Apr 24 17:25:00 2017 +0200

nss: adapt to the new Curl_llist API

This commit fixes compilation failure caused by
cbae73e1dd95946597ea74ccb580c30f78e3fa73.

commit 71d2d37005479cbc86cf8cb97ab1aa84c2cbb89a
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 22 23:12:07 2017 +0200

curl-compilers.m4: accept -Og and -Ofast GCC flags

-Og, introduced in GCC 4.8, optimizes for debugging experience.
-Ofast, introduced in GCC 4.7, builds on -O3 and enables further
optimizations breaking strict standards compliance.
When specified in CFLAGS, these were always overridden by -O0 or -O2.
Fix this by adding them to flags_opt_all.

Ref: https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Optimize-Options.html
Ref: https://github.com/curl/curl/pull/1404#issuecomment-296401570
Closes https://github.com/curl/curl/pull/1440

commit 7474418074f7c108f10fcbbf5e6e045484488dc9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 24 10:09:31 2017 +0200

RELEASE-NOTES: synced with c68fed875

commit c68fed8751f76ae38b7fbb5bc0fb04fb7ea9afc5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 18 13:36:23 2017 +0200

configure: fix the -ldl check for openssl, add -lpthread check

The check for if -ldl is needed to build with (a statically built)
openssl was broken. This repairs the check, and adds a check for
-lpthread as well since OpenSSL 1.1.0+ does in fact require -lpthread so
only adding -ldl for a static openssl build is no longer enough.

Reported-by: Jay Satiro
Ref: #1426
Closes #1427

commit d87bd46cbf37aeebadf927b110b6c02e056dd9ea
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 24 00:54:04 2017 +0200

llist: fix a comment after cbae73e1dd9

Pointed-it-by: Kevin Ji
URL: https://github.com/curl/curl/commit/cbae73e1dd95946597ea74ccb580c30f78e3fa73#commitcomment-21872622

commit 6b39f9c87e48f17533b139b2ddb829aa21227c3d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Apr 6 03:27:28 2017 -0400

schannel: Don't treat encrypted partial record as pending data

- Track when the cached encrypted data contains only a partial record
that can't be decrypted without more data (SEC_E_INCOMPLETE_MESSAGE).

- Change Curl_schannel_data_pending to return false in such a case.

Other SSL libraries have pending data functions that behave similarly.

Ref: https://github.com/curl/curl/pull/1387

Closes https://github.com/curl/curl/pull/1392

commit be299a4dba0362940062f7f07c76862ecf226522
Author: Alan Jenkins <alan.christopher.jenkins@gmail.com>
Date: Sat Apr 22 21:16:44 2017 +0100

multi: clarify condition in curl_multi_wait

`if(nfds || extra_nfds) {` is followed by `malloc(nfds * ...)`.

If `extra_fs` could be non-zero when `nfds` was zero, then we have
`malloc(0)` which is allowed to return `NULL`. But, malloc returning
NULL can be confusing. In this code, the next line would treat the NULL
as an allocation failure.

It turns out, if `nfds` is zero then `extra_nfds` must also be zero.
The final value of `nfds` includes `extra_nfds`. So the test for
`extra_nfds` is redundant. It can only confuse the reader.

Closes #1439

commit 4a8cf6c4044a1692b441b64a52d1750a92b798ee
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 22 22:12:37 2017 +0200

lib: fix maybe-uninitialized warnings

With -Og, GCC complains:

easy.c:628:7: error: ‘mcode’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

../lib/strcase.h:35:29: error: ‘tok_buf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
vauth/digest.c:208:9: note: ‘tok_buf’ was declared here

../lib/strcase.h:35:29: error: ‘tok_buf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
vauth/digest.c:566:15: note: ‘tok_buf’ was declared here

Fix this by initializing the variables.

commit f761da76f6807f8f5906f3ab59872273e9472fad
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Apr 22 12:07:13 2017 +0200

gnutls: removed some code when --disable-verbose is configured

This reduces the binary size and fixes a compile warning.

commit cbae73e1dd95946597ea74ccb580c30f78e3fa73
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 20 15:10:04 2017 +0200

llist: no longer uses malloc

The 'list element' struct now has to be within the data that is being
added to the list. Removes 16.6% (tiny) mallocs from a simple HTTP
transfer. (96 => 80)

Also removed return codes since the llist functions can't fail now.

Test 1300 updated accordingly.

Closes #1435

commit cbb59ed9ce9555e0dc0b485247fe86f0e45006b3
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Apr 10 15:24:44 2017 +0200

typecheck-gcc: handle function pointers properly

All the callbacks passed to curl_easy_setopt are defined as function
pointers. The possibility to pass both functions and function pointers
was handled for the callbacks that typecheck-gcc.h defined as
compatible, but not for the public callback types themselves.

This makes all compatible callback types defined in typecheck-gcc.h
function pointers too and checks all functions uniformly with
_curl_callback_compatible, which handles both functions and function
pointers.

A symptom of the problem was a warning in tool_operate.c with
--disable-libcurl-option and without --enable-debug as that file
passes the callback functions to curl_easy_setopt directly.

Fixes https://github.com/curl/curl/issues/1403
Closes https://github.com/curl/curl/pull/1404

commit 5f830eaba0b4c00dabf095cede048ddcea736d9d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Fri Apr 21 22:33:17 2017 +0200

mbedtls: enable NTLM (& SMB) even if MD4 support is unavailable

In that case, use libcurl's internal MD4 routine. This fixes tests 1013
and 1014 which were failing due to configure assuming NTLM and SMB were
always available whenever mbed TLS was in use (which is now true).

commit 49eee28822f8eef78b736097711fb798daf3a12b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 21 16:26:53 2017 +0200

tests: remove the html and PDF versions from the tarball

commit da2af5c04dee9d0e16c02b468494f386ac69e837
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 20 15:46:03 2017 +0200

openssl: fix memory leak in servercert

... when failing to get the server certificate.

commit 7c145bb2a0a6c176ffdd65421a40026bcae07375
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 20 09:16:12 2017 +0200

Revert "src/Makefile.am: avoid explicit $<"

This reverts commit 5b4cbcf11d5100ff793a8e9edbaa6fe1fc7495f5.

Since it broke out-of-tree builds from tarballs. See discussion in #1432

commit d88d054e947cb948e5da1a3ebe9cd21858f154d0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 19 23:16:10 2017 +0200

bump: start working on next release

commit 5b4cbcf11d5100ff793a8e9edbaa6fe1fc7495f5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 19 23:11:44 2017 +0200

src/Makefile.am: avoid explicit $<

... since apparently "BSD make" doesn't support it.

Reported-by: Thomas Klausner
Fixes #1432

commit d957e2189fdc73cef0ff3d1fb58043d354754449
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 18 09:16:56 2017 +0200

THANKS: add contributors from 7.54.0 release notes

commit a78fc4559fe37bd2d78172047e8f09adeadd03aa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 18 08:41:23 2017 +0200

RELEASE-NOTES: curl 7.54.0

commit a4ff8a1a0e1af742ac0a0f0eac45d9257678edd0
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Apr 6 19:52:39 2017 +0200

nss: fix MinGW compiler warnings

This fixes 3 warnings issued by MinGW:
1. PR_ImportTCPSocket actually has a paramter of type PROsfd instead of
PRInt32, which is 64 bits on Windows. Fixed this by including the
corresponding header file instead of redeclaring the function, which is
supported even though it is in the private include folder. [1]
2. In 64-bit mode, size_t is 64 bits while CK_ULONG is 32 bits, so an explicit
narrowing cast is needed.
3. Curl_timeleft returns time_t instead of long since commit
21aa32d30dbf319f2d336e0cb68d3a3235869fbb.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/PR_ImportTCPSocket

Closes https://github.com/curl/curl/pull/1393

commit 33cfcfd9f0378625d3bddbd2c8ac5aad4b646f26
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Mar 22 01:59:49 2017 -0400

TLS: Fix switching off SSL session id when client cert is used

Move the sessionid flag to ssl_primary_config so that ssl and proxy_ssl
will each have their own sessionid flag.

Regression since HTTPS-Proxy support was added in cb4e2be. Prior to that
this issue had been fixed in 247d890, CVE-2016-5419.

Bug: https://github.com/curl/curl/issues/1341
Reported-by: lijian996@users.noreply.github.com

The new incarnation of this bug is called CVE-2017-7468 and is documented
here: https://curl.haxx.se/docs/adv_20170419.html

commit 997504ea50887c80a0f90b88bb1778aad75f7ee9
Author: David Benjamin <davidben@google.com>
Date: Mon Apr 17 10:20:26 2017 -0400

openssl: don't try to print nonexistant peer private keys

X.509 certificates carry public keys, not private keys. Fields
corresponding to the private half of the key will always be NULL.

Closes #1425

commit 1c92b5b60957b26819c5f8a9f46412564d4c2cfe
Author: David Benjamin <davidben@google.com>
Date: Mon Apr 17 10:01:40 2017 -0400

openssl: fix thread-safety bugs in error-handling

ERR_error_string with NULL parameter is not thread-safe. The library
writes the string into some static buffer. Two threads doing this at
once may clobber each other and run into problems. Switch to
ERR_error_string_n which avoids this problem and is explicitly
bounds-checked.

Also clean up some remnants of OpenSSL 0.9.5 around here. A number of
comments (fixed buffer size, explaining that ERR_error_string_n was
added in a particular version) date to when ossl_strerror tried to
support pre-ERR_error_string_n OpenSSLs.

Closes #1424

commit 47b2f89d7c7e1440a344e6e82a9390e0f912d2f8
Author: David Benjamin <davidben@google.com>
Date: Mon Apr 17 09:42:03 2017 -0400

openssl: make SSL_ERROR_to_str more future-proof

Rather than making assumptions about the values, use a switch-case.

Closes #1424

commit aaa7e05c786290e212035079060911020ff4d3ba
Author: Daniel Gustafsson <daniel@yesql.se>
Date: Mon Apr 17 11:04:48 2017 +0200

code: fix typos and style in comments

A few random typos, and minor whitespace cleanups, found in comments
while reading code.

Closes #1423

commit c25aba1254135a230971c1ed2a8140bde52b7b07
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun Apr 16 14:58:08 2017 +0200

extern-scan.pl: strip trailing CR

This makes test 1135 pass with CRLF checkouts.

Ref: https://github.com/curl/curl/pull/1344#issuecomment-289243166
Closes https://github.com/curl/curl/pull/1422

commit 5cefe201e924867f7b6e078a6c5fdce013bb510b
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 15 08:32:23 2017 +0200

configure.ac: ignore CR after version numbers

Ignore everything after the version numbers in LIBCURL_VERSION and
LIBCURL_VERSION_NUM to ged rid of the extra CR character.
This makes tests 1022 and 1023 pass on Linux with a CRLF checkout.

Ref: https://github.com/curl/curl/pull/1344#issuecomment-289243166
Closes https://github.com/curl/curl/pull/1422

commit a0576e2f362bc1a1adee22c924ce33710a69559f
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 15 00:10:27 2017 +0200

.gitattributes: force shell scripts to LF

Bash on Linux errors out on CR characters.
This makes tests 1221 and 1222 pass on Linux with a CRLF checkout.

Ref: https://github.com/curl/curl/pull/1344#issuecomment-289243166
Closes https://github.com/curl/curl/pull/1422

commit 05c9f42e52d02448664d794cb64a91f36ac39296
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun Apr 16 13:54:21 2017 +0200

unit1303: fix compiler warning

MinGW-w64 complains:
warning: conversion to 'long int' from 'time_t {aka long long int}' may
alter its value [-Wconversion]
Fix this by using the correct type.

commit 2af10b2c0b6a4ce34b5c6649387d2a1286a6de02
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 16 10:37:18 2017 +0200

RELEASE-NOTES: synced with 1451271e0

commit 1451271e08d838c547f52ea6a3805a662e3d18f6
Author: Larry Stefani <larry.stefani@sonos.com>
Date: Thu Apr 13 10:06:14 2017 -0400

http2: fix handle leak in error path

Add missing newhandle free call in push_promise().

Closes #1416

commit fc347820a27c5e5ed1ccfe1c81c4c4eb2a59f9fe
Author: Larry Stefani <larry.stefani@sonos.com>
Date: Thu Apr 13 10:10:42 2017 -0400

mbedtls: fix memory leak in error path

Add missing our_ssl_sessionid free call in mbed_connect_step3().

Closes #1417

commit 9168e2470d5203661faa5500361b7eb493aa24dd
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri Apr 14 12:48:27 2017 +0200

curl-compilers.m4: turn implicit function declarations into errors

This adds -Werror-implicit-function-declaration for GCC 2.95+ so that
these errors are visible at the point where they occur instead of only
at link time.
Implicit function declarations are illegal in C99 and C++ anyway, and
the same warning has been turned into an error for ICC in commit
3072c5b8a127057aa922b7c51051bbb4a630b091.

Ref: https://gcc.gnu.org/onlinedocs/gcc-2.95.2/gcc_2.html#SEC8
Ref: https://curl.haxx.se/mail/lib-2017-04/0001.html
Closes https://github.com/curl/curl/pull/1419

commit e50e2850ba273259081722946ea9bd84bcaa6709
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed Apr 12 08:32:24 2017 +0200

test1541: also test for CURL_PULL_WS2TCPIP_H

Ref: https://github.com/curl/curl/issues/1408
Closes https://github.com/curl/curl/pull/1412

commit fad74ba4cc1564a064853ad0a6dbff648cf04ecc
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed Apr 12 08:45:54 2017 +0200

tests/server/util: prefer <poll.h> over <sys/poll.h>

Follow-up to aa573c3c55cda72ec5ef677d87f6f46a53385f0c

Ref: https://github.com/curl/curl/pull/1406

commit ab6d23278e507eb1f8dc1ea6c33191827ae6cc5e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 10 23:53:33 2017 +0200

Curl_expire_latest: ignore already expired timers

If the existing timer is still in there but has expired, the new timer
should be added.

Reported-by: Rainer Canavan
Bug: https://curl.haxx.se/mail/lib-2017-04/0030.html
Closes #1407

commit f79913050dfa127a8a62b4d340bb5415b83f3725
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 11 13:45:56 2017 +0200

system.h: fix mingw section

Reported-by: Marcel Raad
Fixes #1408
Closes #1409

commit 580da62d84ba5077f420732c63da718bce4cb96e
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Apr 11 12:55:23 2017 +0200

polarssl: unbreak build with versions < 1.3.8

ssl_session_init was only introduced in version 1.3.8, the penultimate
version. The function only contains a memset, so replace it with that.

Suggested-by: Jay Satiro
Fixes https://github.com/curl/curl/issues/1401

commit aa573c3c55cda72ec5ef677d87f6f46a53385f0c
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Apr 10 21:59:42 2017 +0200

poll: prefer <poll.h> over <sys/poll.h>

The POSIX standard location is <poll.h>. Using <sys/poll.h> results in
warning spam when using the musl standard library.

Closes https://github.com/curl/curl/pull/1406

commit 5ed16e6a7ac49ce0df35e31dd89ce85a1222da65
Author: Alexis La Goutte <alexis.lagoutte@gmail.com>
Date: Mon Apr 10 12:59:30 2017 +0200

openssl: fix this statement may fall through [-Wimplicit-fallthrough=]

Closes #1402

commit d29e9de146a5d56aea07fad43b0572b3a44fd3db
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Mar 6 16:20:33 2017 +0100

nss: load CA certificates even with --insecure

... because they may include an intermediate certificate for a client
certificate and the intermediate certificate needs to be presented to
the server, no matter if we verify the peer or not.

Reported-by: thraidh
Closes #851

commit 764ad34cad3a097efb7fc4dd2f579e8d324c9be8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 10 10:24:12 2017 +0200

RELEASE-NOTES: synced with f9d1e9a27f7e1

commit f9d1e9a27f7e11d98a6f8f3b016e320018977a7c
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Apr 10 07:42:22 2017 +0200

libcurl-thread.3: fixed a bad macro that caused test 1140 to fail

commit 1b9b90d94aac489e85517cc5ee69d075b1f3bc6b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 9 23:09:50 2017 +0200

libcurl-thread.3: also mention threaded-resolver

Reported-by: Alex Bligh
Bug: https://curl.haxx.se/mail/lib-2017-04/0044.html

commit ced57e9a9536ee2fe06c700c5274298f3ceaf33d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 7 11:43:06 2017 +0200

.github/stale.yml: enable the stale bot

Issues and PRs with no activity for 180 days will get marked as stale,
and if no further activity happens within 14 more days, the issue gets
closed.

This follows our established policy of not letting stalled bugs "get in
the way": https://curl.haxx.se/docs/bugs.html#Closing_off_stalled_bugs

Closes #1398

commit fa66403280acf4a7df99e676c95c3c3c7e283135
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Apr 8 15:44:39 2017 -0400

CURLINFO_SCHEME.3: fix variable type

- Change documented param type to char ** from incorrect long *.

commit e8c3c92d5839bbfa8b5ee7def1a7f60dae638d65
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 8 14:44:18 2017 +0200

INSTALL.md: fix secure transport configure arguments

--without-ssl is needed instead of --with-winssl.

commit 45c78ad5b4883f0ce5978b36fb6a23fbd1f5e12b
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 8 13:40:41 2017 +0200

vtls: fix unreferenced variable warnings

... by moving the variables into the correct #ifdef block.

commit e10db122a2ec085a4324f1addfa948838d5339fa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 7 13:33:08 2017 +0200

BUGS: "Bugs in old versions"

commit e61c04b45754915e291d665556331721cd189f51
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 7 08:22:09 2017 +0200

system.h: add section for tcc

Closes #1397

commit 33ca733ee2132ab8518f2316f8e4b5629ecedab7
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Apr 6 20:04:58 2017 +0200

schannel: fix compiler warnings

When UNICODE is not defined, the Curl_convert_UTF8_to_tchar macro maps
directly to its argument. As it is declared as a pointer to const and
InitializeSecurityContext expects a pointer to non-const, both MSVC and MinGW
issue a warning about implicitly casting away the const. Fix this by declaring
the variables as pointers to non-const.

Closes https://github.com/curl/curl/pull/1394

commit 1f152a42ae9c2985b8a0cedf90d3b63b2e64a898
Author: Isaac Boukris <iboukris@gmail.com>
Date: Thu Apr 6 22:31:45 2017 +0300

sspi: print out InitializeSecurityContext() error message

Reported-by: Carsten (talksinmath)

Fixes #1384
Closes #1395

commit aa2e9e90173bb379ccff800c9019d6626b69c452
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Apr 6 19:34:44 2017 +0200

gtls: fix compiler warning

Curl_timeleft returns time_t instead of long since commit
21aa32d30dbf319f2d336e0cb68d3a3235869fbb.

commit d2bdc98754cf3c30ac2afa4cf708337cf3f129a1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 6 15:34:46 2017 +0200

test1606: verify speedcheck

commit 2d5711dc11b25ced758ea82d3a034a9c7de32baf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 5 00:42:34 2017 +0200

low_speed_limit: improved function for longer time periods

Previously, periods of fast speed between periods of slow speed would
not count and could still erroneously trigger a timeout.

Reported-by: Paul Harris
Fixes #1345
Closes #1390

commit ae485279a189c4047802386e12dc2d0c043af8ef
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 6 17:31:48 2017 +0200

system.h: set sizeof long to 4 on "default 32 bit" systems

Triggered a test failure on test 1541 for the build known as
"Linux 4.4 i686 tcc 0.9.26 glibc 2.20"

commit c59fcdac909cb013943f5d46543c8426b06ccf4f
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed Apr 5 23:25:28 2017 +0200

nss: fix build after e60fe20fdf94e829ba5fce33f7a9d6c281149f7d

Curl_llist_alloc is now Curl_llist_init.

Closes https://github.com/curl/curl/pull/1391

commit 1526912b98d1d3fcd2e78c3e927316043395d1eb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 6 08:04:12 2017 +0200

INSTALL.cmake: more problems

and mention specific issues where they are discussed

commit 8761a40fd95a8016f6c1d83516b86a1110ae118b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 5 15:12:55 2017 +0200

test1541: ignore the curl_off_t variable type name comparison

... the sizes and the formatting strings are what's really important and
avoids problems with int64_t vs "long long".

Bug: https://curl.haxx.se/mail/lib-2017-04/0019.html

commit 65154588f6784c3f20cb552a3926f26aead33e8c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 5 15:08:33 2017 +0200

Revert "configure: prefer 'long long' to int64_t for curl_off_t"

This reverts commit 81284374bf3c670d2050f8562edeb69f060b07cc.

Due to mingw32 brekage.

commit b547fff566cb7644273716a6e052c5ae6d3f5bef
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 1 11:50:39 2017 +0200

tool_operate: fix MinGW compiler warning

MinGW complains:
tool_operate.c:197:15: error: comparison is always true due to limited range
of data type [-Werror=type-limits]

Fix this by only doing the comparison if 'long' is large enough to hold the
constant it is compared with.

Closes https://github.com/curl/curl/pull/1378

commit 446eaa941d29dd728a81847b5ca2424b0f254cf5
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Apr 1 11:22:53 2017 +0200

tool_operate: move filetime code to its own function

Ref: https://github.com/curl/curl/pull/1378

commit 81284374bf3c670d2050f8562edeb69f060b07cc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 4 13:50:03 2017 +0200

configure: prefer 'long long' to int64_t for curl_off_t

Since it is a native type and it makes it less complicated to find a
matching one in system.h

Bug: https://curl.haxx.se/mail/lib-2017-04/0010.html
Reported-by: Dan Fandrich

Closes #1388

commit 6193770ee1f6771758a653730e7a1ecaf2cf9dc8
Author: Dániel Bakai <daniel.bakai@tresorit.com>
Date: Mon Apr 3 09:16:21 2017 +0200

tests: added test for Curl_splaygetbest to unit1309

This checks the new behavior of Curl_splaygetbest, so that the smallest
node not larger than the key is removed, and FIFO behavior is kept even
when there are multiple nodes with the same key.

Closes #1358

commit de05bcb706243546d37047439dabc4e73054cfef
Author: Dániel Bakai <daniel.bakai@tresorit.com>
Date: Fri Mar 24 09:43:27 2017 +0100

multi: fix queueing of pending easy handles

Multi handles repeatedly invert the queue of pending easy handles when
used with CURLMOPT_MAX_TOTAL_CONNECTIONS. This is caused by a multistep
process involving Curl_splaygetbest and violates the FIFO property of
the multi handle.
This patch fixes this issue by redefining the "best" node in the
context of timeouts as the "smallest not larger than now", and
implementing the necessary data structure modifications to do this
effectively, namely:
- splay nodes with the same key are now stored in a doubly-linked
circular list instead of a non-circular one to enable O(1)
insertion to the tail of the list
- Curl_splayinsert inserts nodes with the same key to the tail of
the same list
- in case of multiple nodes with the same key, the one on the head of
the list gets selected

commit d40f4e15e73f906cd06919da84e535f52637c1a1
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Apr 4 23:02:16 2017 +0200

tool: fix Windows Unicode build

... by explicitly calling the ANSI versions of Windows API functions where
required.

commit 2d4413fefd20219ebf841e6213f4f2cacb31bf1d
Author: Martin Kepplinger <martink@posteo.de>
Date: Tue Apr 4 22:04:38 2017 +0200

curl_sasl: declare mechtable static

struct mechtable is only used locally here. It can be declared static.

commit 36e604fc78396d1f69c20e69e13302bce7471e78
Author: Antti Hätälä <antti@umbrasoftware.com>
Date: Tue Apr 4 15:50:36 2017 -0400

url: don't free postponed data on connection reuse

- Don't free postponed data on a connection that will be reused since
doing so can cause data loss when pipelining.

Only Windows builds are affected by this.

Closes https://github.com/curl/curl/issues/1380

commit 5fadd0311cb3180b64bd54042f93fc7bbeb06e07
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 4 17:24:33 2017 +0200

RELEASE-NOTES: synced with 4f2e348f9b42c69c480

commit 4f2e348f9b42c69c480bffd0188502167cf4ad07
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Apr 1 01:12:32 2017 +0200

hash: move key into hash struct to reduce mallocs

This removes one tiny malloc for each hash struct allocated. In a simple
case like "curl localhost", this save three mallocs.

Closes #1376

commit e60fe20fdf94e829ba5fce33f7a9d6c281149f7d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 3 10:32:43 2017 +0200

llist: replace Curl_llist_alloc with Curl_llist_init

No longer allocate the curl_llist head struct for lists separately.

Removes 17 (15%) tiny allocations in a normal "curl localhost" invoke.

closes #1381

commit a68ca63d7313dcc266f92108b2694d43b0afeba7
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Apr 4 02:43:21 2017 -0400

easy: silence compiler warning

Safe to silence warning adding time delta of poll, which can trigger on
Windows since sizeof time_t > sizeof long.

warning C4244: '+=' : conversion from 'time_t' to 'long', possible loss
of data

commit d9c9611a2fee017c9b843be75cdd141944cfc74f
Author: Richlv <richlv@nakts.net>
Date: Tue Apr 4 02:04:03 2017 +0300

docs: minor typo in write-out.d

Closes #1382

commit 9506d01ee50d5908138ebad0fd9fbd39b66bd64d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 29 14:38:56 2017 +0200

include: curl/system.h is a run-time version of curlbuild.h

system.h is aimed to replace curlbuild.h at a later point in time when
we feel confident system.h works sufficiently well.

curl/system.h is currently used in parallel with curl/curlbuild.h

curl/system.h determines a data sizes, data types and include file
status based on available preprocessor defines instead of getting
generated at build-time. This, in order to avoid relying on a build-time
generated file that makes it complicated to do 32 and 64 bit bields from
the same installed set of headers.

Test 1541 verifies that system.h comes to the same conclusion that
curlbuild.h offers.

Closes #1373

commit 5f1163517e1597339d980b6504dbbece43c7027c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Apr 1 01:27:24 2017 +0200

multi: make curl_multi_wait avoid malloc in the typical case

When only a few additional file descriptors are used, avoid the malloc.

Closes #1377

commit 55f4ababdee7d8f300413a9124bbf8372bf739c9
Author: Marcel Raad <raad@teamviewer.com>
Date: Sun Apr 2 19:22:42 2017 +0200

tests/server/util: remove in6addr_any for recent MinGW

In ancient MinGW versions, in6addr_any was declared as extern, but not
defined. Because of that, 22a0c57746ae12506b1ba0f0fafffd26c1907d6a added
definitions for in6addr_any when compiling with MinGW. The bug was fixed in
w32api version 3.6 from 2006, so this workaround is not needed anymore for
recent versions.

This fixes the following MinGW-w64 warnings because the MinGW-w64 version of
IN6ADDR_ANY_INIT has the two additional braces inside the macro:
util.c:59:14: warning: braces around scalar initializer
util.c:59:40: warning: excess elements in scalar initializer

Ref: https://sourceforge.net/p/mingw/mingw-org-wsl/ci/e4803e0da25c57ae1ad0fa75ae2b7182ff7fa339/tree/w32api/ChangeLog
Closes https://github.com/curl/curl/pull/1379

commit 721f8c05c792dd7b5be6d040a1ffb468992525fb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 3 00:00:43 2017 +0200

docs: added examples for CURLINFO_FILETIME.3 and CURLOPT_FILETIME.3

commit fb84faf001961fba50fe409b64989a1bf04058a6
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Mar 31 22:36:46 2017 -0400

fail-early.d: fix typos

commit 15b8c6795ae0c2355784049690229924c4a47737
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Mar 31 15:59:07 2017 -0400

docs: Explain --fail-early does not imply --fail

Closes https://github.com/curl/curl/pull/1375

commit 76c21ed3fda20c55201c734a9d47af02ab7f6e46
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 31 14:20:13 2017 +0200

telnet: (win32) fix read callback return variable

telnet.c(1427,21): warning: comparison of constant 268435456 with
expression of type 'CURLcode' is always false

telnet.c(1433,21): warning: comparison of constant 268435457 with
expression of type 'CURLcode' is always false

Reviewed-by: Jay Satiro
Reported-by: Gisle Vanem
Bug: https://github.com/curl/curl/issues/1225#issuecomment-290340890

Closes #1374

commit d5d85e70794622c31f4a4c7a2d904abc78189a51
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 31 13:42:06 2017 +0200

CTestConfig.cmake: removed, unused

commit 9bd7f004d04ab9b3bbe7c601873a075ac655832f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 31 00:09:11 2017 +0200

libcurl.def: removed, unused

commit d6bf5abd60c570ab535c33261e2d06443b7641f8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 30 23:58:29 2017 +0200

docs/index.html: removed, was not shipped anyway

commit 2ff9c3e145472d33bc4ba722928a30bc13214c52
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 30 23:56:55 2017 +0200

dist: add missing files to the tarball

commit ec493dbda2323e055c8861503d533870a697ce73
Author: Peter Wu <peter@lekensteyn.nl>
Date: Thu Mar 30 14:27:51 2017 +0200

cmake: fix build with cmake 2.8.12.2

For some reason, CMake 2.8.12.2 did not expand the list argument in a
single DEPENDS argument. Remove the quotes, so it gets expanded into
multiple arguments for add_custom_command and add_custom_target.

Fixes https://github.com/curl/curl/issues/1370
Closes #1372

commit e358a626f8e8f2f8e35f83d5021bed8fc6567149
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Mar 30 18:41:50 2017 +0200

ssh: fix narrowing conversion warning

'left' is used as time_t but declared as long.
MinGW complains:
error: conversion to 'long int' from 'time_t {aka long long int}' may alter
its value [-Werror=conversion]
Changed the declaration to time_t.

commit 4a5b900cb1d220183abd3f71897b8039f7f5146f
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Mar 30 18:13:20 2017 +0200

http2: silence unused parameter warnings

In release mode, MinGW complains:
error: unused parameter 'lib_error_code' [-Werror=unused-parameter]

commit baaf0ba358787dcab708449399fd5eda25311b4f
Author: Hanno Böck <hanno@hboeck.de>
Date: Thu Mar 30 14:59:14 2017 +0200

curl: fix callback functions to match prototype

The function tool_debug_cb doesn't match curl_debug_callback in curl.h
(unsigned vs. signed char* for 3rd param).

Bug: https://curl.haxx.se/mail/lib-2017-03/0120.html

commit 244e0a36bd01ebbbdbf009ca2be6b78f29740277
Author: Alexis La Goutte <alexis.lagoutte@gmail.com>
Date: Thu Mar 30 14:14:53 2017 +0200

gcc7: fix ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]

Closes #1371

commit f104f7d914e1d802bdedcfcae6116eeab4a4a43e
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Mar 30 10:35:46 2017 +0200

schannel: fix unused variable warning

If CURL_DISABLE_VERBOSE_STRINGS is defined, hostname is not used in
schannel_connect_step3.

commit a8e523f086c12e7bb9acb18d1ac84d92dde0605b
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Mar 30 10:14:34 2017 +0200

connect: fix unreferenced parameter warning

When CURL_DISABLE_VERBOSE_STRINGS is defined, the reason parameter in
Curl_conncontrol is not used as the infof macro expands to nothing.

commit 1b4b2c1a59aaaf9dfc28290e9c54c410aa2d858a
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Mar 28 01:37:31 2017 +0200

select: use correct SIZEOF_ constant

At least under Windows, there is no SIZEOF_LONG, so it evaluates to 0 even
though sizeof(int) == sizeof(long). This should probably have been
CURL_SIZEOF_LONG, but the type of timeout_ms changed from long to time_t
anyway.
This triggered MSVC warning C4668 about implicitly replacing undefined
macros with '0'.

Closes https://github.com/curl/curl/pull/1362

commit f8952932e7fb4de34d0310f9c5dd25d707c25b8d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 30 08:16:56 2017 +0200

cmake: add cmake file in docs/libcurl/opts/ to dist

commit 63dd7bbc5023843fc74f06abb844dba332ce9c33
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 30 08:12:37 2017 +0200

cmake: add more missing files to the dist

commit 6a819089a6ffbb5f88f0ea13295e9d5b21183c57
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 30 00:36:04 2017 +0200

docs/Makefile.am: include CMakeLists.txt in the dist tarball

commit 9bc92eeb0e72454836fd83e3628d33ce63fabaf1
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed Mar 29 13:16:25 2017 +0200

NTLM: check for features with #ifdef instead of #if

Feature defines are normally checked with #ifdef instead of #if in the rest of
the codebase. Additionally, some compilers warn when a macro is implicitly
evaluated to 0 because it is not defined, which was the case here.

Ref: https://github.com/curl/curl/pull/1362#discussion_r108605101
Closes https://github.com/curl/curl/pull/1367

commit aced311d189a70c7d9b2d958739bcfc1231b3698
Author: Hanno Böck <hanno@hboeck.de>
Date: Wed Mar 29 10:02:34 2017 +0200

curl: fix callback argument inconsistency

As you can see the callback definition uses a char* for the first
argument, while the function uses a void*.

URL: https://curl.haxx.se/mail/lib-2017-03/0116.html

commit 396f34250deeca97be9d065750a5b4c70b4abd2c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 29 09:50:23 2017 +0200

RELEASE-NOTES: synced with 556c51a2df

commit 556c51a2dff057f539e8a792ac9a9a25ed95e0c4
Author: madblobfish <madblobfish@users.noreply.github.com>
Date: Tue Mar 28 09:45:12 2017 +0200

KNOWN_BUGS: typo

Closes #1364

commit d1ddda7e75fdc24b68830b16ea0c2179436e4886
Author: Maksim Stsepanenka <mstsepanenka@gmail.com>
Date: Wed Mar 29 01:20:32 2017 +0300

make: use the variable MAKE for recursive calls

Closes #1366

commit 2066072ff20bea7a25d5506ab3ed7f9547f1f010
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 28 19:18:24 2017 +0200

conncache: make hashkey avoid malloc

... to make it much faster. Idea developed with primepie on IRC.

Closes #1365

commit 2549831daaa3aef394f7b42e750cba1afae35642
Author: Kamil Dudka <kdudka@redhat.com>
Date: Tue Mar 28 15:50:59 2017 +0200

http: do not treat FTPS over CONNECT as HTTPS

If we use FTPS over CONNECT, the TLS handshake for the FTPS control
connection needs to be initiated in the SENDPROTOCONNECT state, not
the WAITPROXYCONNECT state. Otherwise, if the TLS handshake completed
without blocking, the information about the completed TLS handshake
would be saved to a wrong flag. Consequently, the TLS handshake would
be initiated in the SENDPROTOCONNECT state once again on the same
connection, resulting in a failure of the TLS handshake. I was able to
observe the failure with the NSS backend if curl ran through valgrind.

Note that this commit partially reverts curl-7_21_6-52-ge34131d.

commit 452203341d6e97b8f52f9a886046d9fdb96346a9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 27 12:14:57 2017 +0200

pause: handle mixed types of data when paused

When receiving chunked encoded data with trailers, and the write
callback returns PAUSE, there might be both body and header to store to
resend on unpause. Previously libcurl returned error for that case.

Added test case 1540 to verify.

Reported-by: Stephen Toub
Fixes #1354
Closes #1357

commit 7975d10cf8a3fe9b35867509b9ef10d06614eb3a
Author: Isaac Boukris <iboukris@gmail.com>
Date: Thu Mar 23 21:28:28 2017 +0200

http: Fix proxy connection reuse with basic-auth

When using basic-auth, connections and proxy connections
can be re-used with different Authorization headers since
it does not authenticate the connection (like NTLM does).

For instance, the below command should re-use the proxy
connection, but it currently doesn't:
curl -v -U alice:a -x http://localhost:8181 http://localhost/
--next -U bob:b -x http://localhost:8181 http://localhost/

This is a regression since refactoring of ConnectionExists()
as part of: cb4e2be7c6d42ca0780f8e0a747cecf9ba45f151

Fix the above by removing the username and password compare
when re-using proxy connection at proxy_info_matches().

However, this fix brings back another bug would make curl
to re-print the old proxy-authorization header of previous
proxy basic-auth connection because it wasn't cleared.

For instance, in the below command the second request should
fail if the proxy requires authentication, but would succeed
after the above fix (and before aforementioned commit):
curl -v -U alice:a -x http://localhost:8181 http://localhost/
--next -x http://localhost:8181 http://localhost/

Fix this by clearing conn->allocptr.proxyuserpwd after use
unconditionally, same as we do for conn->allocptr.userpwd.

Also fix test 540 to not expect digest auth header to be
resent when connection is reused.

Signed-off-by: Isaac Boukris <iboukris@gmail.com>

Closes https://github.com/curl/curl/pull/1350

commit b04e4ebdd87619d7235ac574275ed11f2a540721
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Mar 28 02:56:00 2017 -0400

openssl: exclude DSA code when OPENSSL_NO_DSA is defined

- Fix compile errors that occur in openssl.c when OpenSSL lib was
built without DSA support.

Bug: https://github.com/curl/curl/issues/1361
Reported-by: neheb@users.noreply.github.com

commit 041ded04591dc565f15abda806ad7b77f1ddd9ef
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Mar 28 02:55:14 2017 -0400

examples/fopen: checksrc compliance

commit 23d48c35cb67b39251d9b46b185594a61bc32256
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Mar 28 01:16:12 2017 +0200

schannel: fix variable shadowing warning

No need to redeclare the variable.

commit 068cd1ad4c2e1e7c6791cb78faf570554a32c17f
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Mar 27 22:50:59 2017 +0200

multi: fix MinGW-w64 compiler warnings

error: conversion to 'long int' from 'time_t {aka long long int}' may alter
its value [-Werror=conversion]

commit 2c3af5b4c0e9e6ea7485b88fe58d3d31de45278b
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Mar 21 23:20:03 2017 +0100

.gitattributes: turn off CRLF for *.am

If Makefile.am uses CRLF, buildconf in a Windows checkout fails with:
".ibtoolize: error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with
ACLOCAL_AMFLAGS=-I m4"

commit f7df67cff0a756eefc8daea36e6468df694a43d0
Author: klemens <ka7@github.com>
Date: Sun Mar 26 17:02:22 2017 +0200

spelling fixes

Closes #1356

commit 8e65877870c1fac920b65219adec720df810aab9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 24 10:14:21 2017 +0100

curl: check for end of input in writeout backslash handling

Reported-by: Brian Carpenter

Added test 1442 to verify

commit d14563454a5eaedafd1e8a2967ee3df46015edf4
Author: Marcel Raad <raad@teamviewer.com>
Date: Thu Mar 23 23:15:26 2017 +0100

tests/README: make "Run" section foolproof

curl must be built before building the tests.

Closes https://github.com/curl/curl/pull/1352

commit 68aac9a831172674063dc94a04fd066ba93628ca
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 23 23:04:38 2017 +0100

openssl: fix comparison between signed and unsigned integer expressions

commit 99d708a0165c1bbcbbcf65c96ecc9e62a9ad629a
Author: Edward Kimmel <edward@citymaps.com>
Date: Wed Mar 8 13:11:41 2017 -0500

asiohiper: make sure socket is open in event_cb

Send curl_socket_t to event_cb and make sure it hasn't been closed yet.

Closes https://github.com/curl/curl/pull/1318

commit f99fcb0feec29703b900ba6ab045f76ff9ef3bfc
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Mar 23 22:50:58 2017 +0100

openssl: made the error table static const

commit b999d35c71904d72bd38b432cb9cc57898d32cbc
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Mar 22 14:39:41 2017 -0400

openssl: fall back on SSL_ERROR_* string when no error detail

- If SSL_get_error is called but no extended error detail is available
then show that SSL_ERROR_* as a string.

Prior to this change there was some inconsistency in that case: the
SSL_ERROR_* code may or may not have been shown, or may have been shown
as unknown even if it was known.

Ref: https://github.com/curl/curl/issues/1300

Closes https://github.com/curl/curl/pull/1348

commit ae22034d0d711881b0cbf1e8be3090cad486bb97
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Mar 23 21:11:41 2017 +0100

mkhelp: disable compression if the perl gzip module is unavailable

This is nowadays included with the base perl distribution, but wasn't
prior to about perl 5.14

commit f355a92cd5b117c71d8626efc1be280bb28037a2
Author: Anders Roxell <anders.roxell@gmail.com>
Date: Tue Mar 21 19:45:36 2017 +0100

tests/README: mention nroff for --manual tests

Signed-off-by: Anders Roxell <anders.roxell@gmail.com>

Closes #1342

commit e369303cdc87b1ce03d7fa4497d2c9886b976b70
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 22 11:28:33 2017 +0100

CURLINFO_PRIMARY_IP.3: add example

commit 5091e18e89b721318d982170a84d0d468f58d4bb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 22 10:55:10 2017 +0100

travis: run tests-nonflaky instead of tests-full

commit 207f588987855e4ab8bc836c7f45d5323f1f69e5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 22 10:48:20 2017 +0100

make: introduce 'test-nonflaky' target

Running this in the root build dir will invoke the test suite to only
run tests not marked as 'flaky'.

commit 96d6942b2d55ea617e0c9d204f97e4aabca9ad27
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 22 08:55:02 2017 +0100

test2033: flaky

commit a360906de63debbf1f2f2a0eb008443a2df17291
Author: Ales Mlakar <ales.mlakar@outfit7.com>
Date: Tue Feb 21 13:15:56 2017 +0100

mbedtls: add support for CURLOPT_SSL_CTX_FUNCTION

Ref: https://curl.haxx.se/mail/lib-2017-02/0097.html

Closes https://github.com/curl/curl/pull/1272

commit 898b012a9bf388590c4be7f526815b5ab74feca1
Author: Peter Wu <peter@lekensteyn.nl>
Date: Sat Feb 25 18:14:57 2017 +0100

cmake: add support for building HTML and PDF docs

Note that for some reason there is this warning (that also exists with
autotools, added since curl-7_15_1-94-ga718cb05f):

docs/libcurl/curl_multi_socket_all.3:1: can't open `man3/curl_multi_socket.3': No such file or directory

Additionally, adjust the roffit --mandir option to support creating
links when doing out-of-tree builds.

Ref: https://github.com/curl/curl/pull/1288

commit 84a226a30b2d43f8fb0da996152a8376f1e21d8e
Author: Peter Wu <peter@lekensteyn.nl>
Date: Sat Feb 25 14:40:24 2017 +0100

cmake: build manual pages (including curl.1)

Also make Perl mandatory to allow building the docs.

While CMakeLists.txt could probably read the list of manual pages from
Makefile.am, actually putting those in CMakeLists.txt is cleaner so that
is what is done here.

Fixes #1230
Ref: https://github.com/curl/curl/pull/1288

commit 6f6e9193df20261c275108eeb49c34ee2f71a275
Author: Peter Wu <peter@lekensteyn.nl>
Date: Sat Feb 25 23:38:25 2017 +0100

docs: split file lists into Makefile.inc

For easier sharing with CMake. The contents were reformatted to use
two-space indent and expanded tabs (matching lib/Makefile.common).

Ref: https://github.com/curl/curl/pull/1288

commit 26baf39f3dbd129e61cd085fadcdbff9f6dda85e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 21 12:55:46 2017 +0100

examples: comment typos in http2 examples

commit 131e432bd5bab50c0f198f3244616e4acc2b3f89
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 21 12:39:18 2017 +0100

RELEASE-NOTES: typo

commit b3b9c627b469610d168a29908d361a7c7d8d03de
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 21 12:37:11 2017 +0100

RELEASE-NOTES: synced with 6e0f26c8a8c28df

commit 6e0f26c8a8c28dffd3bc8738cd93ed9ca8e098c8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 21 10:09:11 2017 +0100

multi: fix streamclose() crash in debug mode

The code would refer to the wrong data pointer. Only debug builds do
this - for verbosity.

Reported-by: zelinchen@users.noreply.github.com
Fixes #1329

commit 0005d00766bdaf95e23a44bd5355f68c3340b96e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 21 00:41:56 2017 +0100

CONTRIBUTE: mention referring to github issues in commit msgs

commit de2b31aa5adc60ec2aeb59e345310ab470d6e08a
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Mar 20 23:37:57 2017 +0100

runtests.pl: fixed display of the Gopher IPv6 port number

commit 1bca868f606ebc7ea3b012add9eaf20bcd9a4316
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Mar 20 23:33:41 2017 +0100

tests: fixed the documented test server port numbers

commit 718709c674164574b1acac5815f2a6d5c80f03b3
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Mar 20 22:24:32 2017 +0100

test714/5: added HTTP as a required feature

These tests use an HTTP proxy so require that curl be built with HTTP
support.

commit 25d43d19d56d1bcbc93180bce782bac27ac801ff
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Mar 20 21:39:27 2017 +0100

tests: strip more options from non-HTTP --libcurl tests

The CURLOPT_USERAGENT and CURLOPT_MAXREDIRS options are only set if HTTP
support is available, so ignore them in tests where HTTP is not
guaranteed.

commit 9873431c6f73f2e87f35e1b95e8f4a5b2e1f9791
Author: Palo Markovic <pavol.markovic@kompiler.info>
Date: Sun Mar 19 00:37:51 2017 +1300

darwinssl: fix typo in variable name

Broken a week ago in 6448f98.

Closes https://github.com/curl/curl/pull/1337

commit 98afec033e425b56cce00b9ef5b44828df0276f0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Mar 16 18:23:31 2017 -0400

tool_operate: Fix showing HTTPS-Proxy options on CURLE_SSL_CACERT

- Show the HTTPS-proxy options on CURLE_SSL_CACERT if libcurl was built
with HTTPS-proxy support.

Prior to this change those options were shown only if an HTTPS-proxy was
specified by --proxy, but that did not take into account environment
variables such as http_proxy, https_proxy, etc. Follow-up to e1187c4.

Bug: https://github.com/curl/curl/issues/1331
Reported-by: Nehal J Wani

commit f7b3914c558d9d2995208171bea42ca58b73237f
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Mar 16 18:18:49 2017 -0400

CURLINFO_LOCAL_PORT.3: fix typo

commit 49f7b13536c4f5e0cab3d93a30ab3f5ad5a7b91f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 16 23:05:22 2017 +0100

CURLINFO_LOCAL_PORT.3: added example

commit c5357b7b992ac6bda05a605815f43a13c78eca17
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 16 23:00:24 2017 +0100

SSLCERTS.md: mention HTTPS proxies and their separate options

commit 280e8c6e371ebd0f2e0a907e016ab44d6c9549af
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 15 13:47:53 2017 +0100

BINDINGS: a Delphi binding

commit a2eb08607c1bcc16d9804f4f94b96570fc2d832b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 14 21:13:10 2017 +0100

KNOWN_BUGS: remove libidn related issue

... as we no longer use libidn

commit 3627769d140eede69a2241c35e8eadae950e7123
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue Mar 14 12:13:03 2017 +0100

build: removed redundant DEPENDENCIES from makefiles

commit 66de563482c0fd4324e1eae19809d2499e3c4fa8
Author: Sylvestre Ledru <sylvestre@debian.org>
Date: Fri Mar 10 14:28:37 2017 +0100

Improve code readbility

... by removing the else branch after a return, break or continue.

Closes #1310

commit db87bcfcf21f8c3b8188d0c5ab82faf804ffd5ea
Author: Anatol Belski <ab@php.net>
Date: Fri Mar 10 17:04:45 2017 +0100

winbuild: add basic support for OpenSSL 1.1.x

- Auto-detect OpenSSL 1.1 libs

Closes https://github.com/curl/curl/pull/1322

commit bfb2a0ad77daaec5ced53ddce80ca01f2d0cc685
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 13 15:55:53 2017 +0100

RELEASE-NOTES: synced with c25e0761d0fc49c4

commit c25e0761d0fc49c415417c4bc527fb1c69300825
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 13 08:01:27 2017 +0100

make: regenerate docs/curl.1 by runinng make in docs

... previously, docs/ was only a dist subdir, now also a build subdir.

Reported-by: Dan Fandrich
Bug: https://curl.haxx.se/mail/lib-2017-03/0017.html

commit db900ab7328706b7ad8ce18ea8c459ffcd7bb216
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Mar 12 23:23:31 2017 +0100

test1440/1: depend on well-defined file: behaviour

Depend on the known behaviour of URLs for nonexistent files rather than
the undefined behaviour of URLs for directories (which fails on Windows).
The test isn't about file: URLs at all, so the URL used doesn't really
matter.

commit 3863de57f2fdb9a487d7f92c0bd64d740dc7a96f
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Mar 12 22:33:56 2017 +0100

tests: clear the SSL_CERT_FILE variable on --libcurl tests

Otherwise, the contents will end up in the output and fail the
verification.

commit 75398731e40dad2daee74981742882e4ef9f8a49
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Mar 12 20:32:46 2017 +0100

test1287: added verbose logs keyword

commit 1890d59905414ab84a35892b2e45833654aa5c13
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Mar 11 10:59:34 2017 +0100

tool_writeout: fixed a buffer read overrun on --write-out

If a % ended the statement, the string's trailing NUL would be skipped
and memory past the end of the buffer would be accessed and potentially
displayed as part of the --write-out output. Added tests 1440 and 1441
to check for this kind of condition.

Reported-by: Brian Carpenter

commit d2bcf1e3e247d116dc96bd3ea32056e3f089449c
Author: Desmond O. Chang <dochang@gmail.com>
Date: Thu Apr 28 17:33:25 2016 +0800

url: add option CURLOPT_SUPPRESS_CONNECT_HEADERS

- Add new option CURLOPT_SUPPRESS_CONNECT_HEADERS to allow suppressing
proxy CONNECT response headers from the user callback functions
CURLOPT_HEADERFUNCTION and CURLOPT_WRITEFUNCTION.

- Add new tool option --suppress-connect-headers to expose
CURLOPT_SUPPRESS_CONNECT_HEADERS and allow suppressing proxy CONNECT
response headers from --dump-header and --include.

Assisted-by: Jay Satiro
Assisted-by: CarloCannas@users.noreply.github.com
Closes https://github.com/curl/curl/pull/783

commit ec1d0ed1c14d1b2ed06d8914c19b3df2da575005
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Mar 11 18:21:31 2017 -0500

http_proxy: Ignore TE and CL in CONNECT 2xx responses

A client MUST ignore any Content-Length or Transfer-Encoding header
fields received in a successful response to CONNECT.
"Successful" described as: 2xx (Successful). RFC 7231 4.3.6

Prior to this change such a case would cause an error.

In some ways this bug appears to be a regression since c50b878. Prior to
that libcurl may have appeared to function correctly in such cases by
acting on those headers instead of causing an error. But that behavior
was also incorrect.

Bug: https://github.com/curl/curl/issues/1317
Reported-by: mkzero@users.noreply.github.com

commit e08c0cd3275727978b69a1087bcebe0e38a5c9c9
Author: Thomas Glanzmann <thomas@glanzmann.de>
Date: Sat Mar 11 16:09:38 2017 -0500

mbedtls: fix typo in variable name

Broken a few days ago in 6448f98.

Bug: https://curl.haxx.se/mail/lib-2017-03/0015.html

commit 8d105209933e27293cfc4f224614cea57ddd8372
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat Mar 11 20:06:56 2017 +0100

tests: fix the authretry tests

Do not call curl_easy_reset() between the requests, because the
auth state must be preserved for these tests.

Follow-up to 0afbcfd

commit e84a863dc37f81bca066838a76e1b461c3cabeaf
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Fri Mar 10 23:57:09 2017 +0100

proxy: skip SSL initialization for closed connections

This prevents a "Descriptor is not a socket" error for WinSSL.

Reported-by: Antony74@users.noreply.github.com
Reviewed-by: Jay Satiro

Fixes https://github.com/curl/curl/issues/1239

commit 0afbcfd800c45e766e225e4ce273b128ee6a8c25
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat Mar 11 18:22:30 2017 +0100

curl_easy_reset: Also reset the authentication state

Follow-up to 5278462
See https://github.com/curl/curl/issues/1095

commit 5278462c32a70cd972a8cc824a38f164151d6c6d
Author: Isaac Boukris <iboukris@gmail.com>
Date: Fri Jan 27 00:42:28 2017 +0200

authneg: clear auth.multi flag at http_done

This flag is meant for the current request based on authentication
state, once the request is done we can clear the flag.

Also change auth.multi to auth.multipass for better readability.

Fixes https://github.com/curl/curl/issues/1095
Closes https://github.com/curl/curl/pull/1326

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reported-by: Michael Kaufmann

commit 381aff03857544b05c34f3f095089cd170023978
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Mar 11 18:01:54 2017 +0100

url: don't compile detect_proxy if HTTP support is disabled

commit 03c5223ee7fa8dcdb5c54ea58c1fb2cca67f35e6
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Mar 11 11:44:06 2017 +0100

cmdline-opts: fixed a few typos

commit 1e54c5fb095c71084e1d27583f124067c7a56fa9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 10 14:50:29 2017 +0100

README.md: add coverity and travis badges

commit 7c847ab9d522c4ee08060f93726f22ea6037db06
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 10 10:32:01 2017 +0100

ISSUE_TEMPLATE: for bugs, ask questions on the mailing list

and try to add the top comment within an HTML comment in the hope
that it might get hidden if the text is kept

commit 12f04142c1923069cbf60bdb3789a95c464daf6d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 10 08:46:54 2017 +0100

openssl: add two /* FALLTHROUGH */ to satisfy coverity

CID 1402159 and 1402158

commit 26e9fc27adbc9dd3095eaf77c0e95bf3dffd7b5b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 9 23:55:30 2017 +0100

tests: disabled 1903 now

Test 1903 is doing HTTP pipelining, and that is a timing and ordering
sensitive operation and this fails far too often on the Travis CI
leading to people more or less ignoring test failures there. Not good.

The end of pipelning is probably coming sooner rather than later
anyway...

commit e1960fef129b864fdbdf5771c0d938b605667b3b
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Mar 9 23:08:06 2017 +0100

tls-max.d: added to the makefile

commit b1dc45a82202f6e106a6ea2d834f001d46b8fc82
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Mar 9 22:45:40 2017 +0100

build: fixed making man page in out-of-tree tarball builds

The man page taken from the release package is found in a different
location than if it's built from source. It must be referenced as $< in
the rule to get its correct location in the VPATH.

commit 9f3bc40f7f0c5a9b809bd8870c5d63c98cc45777
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Mar 9 22:15:54 2017 +0100

mkhelp: simplified the gzip code

This eliminates the need for an external gzip program, which wasn't
working with Busybox's gzip, anyway. It now compresses using perl's
IO::Compress::Gzip

commit 7d62502d6c123d08411a0be8a9a38d90861833d8
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Mar 9 09:06:13 2017 +0100

polarssl: fixed compile errors introduced in 6448f98c

commit 28a3453ac74b23f5d2b5271a531157c3e7643d69
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 8 23:43:24 2017 +0100

bump: next release will be known as 7.54.0

...due to the newly added CURL_SSLVERSION_MAX_* functionality

commit 6733acc9033d96b52d387f757ac39614b45c1913
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 8 23:38:26 2017 +0100

openssl: unbreak the build after 6448f98c1857de

Verified with OpenSSL 1.1.0e and OpenSSL master (1.1.1)

commit 6448f98c1857de521fb2dd3f9d4e5659845b5474
Author: Jozef Kralik <jozef.kralik@eset.sk>
Date: Tue Dec 13 21:10:00 2016 +0100

vtls: add options to specify range of enabled TLS versions

This commit introduces the CURL_SSLVERSION_MAX_* constants as well as
the --tls-max option of the curl tool.

Closes https://github.com/curl/curl/pull/1166

commit b66690733642d764199eeb1b64aaaa2513c13db3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 8 10:55:06 2017 +0100

RELEASE-NOTES: synced with 6888a670aa01

commit 6888a670aa01f03fded8cd3122a5c48474e6a1db
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 8 09:20:36 2017 +0100

MANPAGE: clarify the dash situation in meta data

commit 324bf2fd369232a134de44837d121ece087c2f60
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 8 09:15:53 2017 +0100

insecure.d: clarify that this is for server connections

Assisted-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2017-03/0002.html

commit 348f8a3da9b5ee0701e10c811d5594cb1c98bad7
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Mar 8 09:06:56 2017 +0100

test1260: added http as a required feature

commit beff139d3dc43f30c467c674f8821a5ba6a82a41
Author: Steve Brokenshire <sbrokenshire@xestia.co.uk>
Date: Fri Oct 7 09:36:18 2016 +0100

maketgz: Run updatemanpages.pl to update man pages

maketgz now runs scripts/updatemanpages.pl to update the man pages .TH
section to use the current date and curl/libcurl version.

(TODO Section 3.1)

Closes #1058

commit d960e57029fd56154556b87553a023a7c8ec6e2d
Author: Steve Brokenshire <sbrokenshire@xestia.co.uk>
Date: Sun Feb 26 21:50:06 2017 +0000

gitignore: Ignore man page dist files

Ignore man page dist files generated by scripts/updatemanpages.pl

commit f5712ca277d21cc72183038c482cf2bbfe9a320a
Author: Steve Brokenshire <sbrokenshire@xestia.co.uk>
Date: Sun Feb 26 21:44:17 2017 +0000

Makefile.am: Remove distribution man pages when running 'make clean'

commit e159fff13db40de761890aa840500b061f31a3fc
Author: Steve Brokenshire <sbrokenshire@xestia.co.uk>
Date: Fri Oct 7 11:57:07 2016 +0100

Makefile.am: Added scripts/updatemanpages.pl to EXTRA_DIST

commit 698aae270b2f6a1152b8fa99f82f3a1d981e0525
Author: Steve Brokenshire <sbrokenshire@xestia.co.uk>
Date: Fri Oct 7 09:35:32 2016 +0100

updatemanpages.pl: Update man pages to use current date and versions

Added script to update man pages to use the current date and
curl/libcurl versions.

updatemanpages.pl has three arrays: list of directories to look in,
list of extensions to process, list of files to exclude from
processing.

Check man page in git repoistory using the date from the existing man
page before updating to avoid updating the man page if no change is
made.

If data is received from the git command then update the man page with
the current date and version otherwise leave alone.

Applied patch from badger to make the date argument optional, change the
git command used, added date argument to processfile subroutine and
print to STDERR if no date is found in a man page.

Added code to process the changed man page into a new man page with
.dist added to the filename to keep the original source files unchanged.
Updated POD documentation to reflect that the date argument optional.

Code style is in line with CODE_STYLE.md.

Directories: docs/ docs/libcurl/ docs/libcurl/opts/ tests/
Extensions: .1 .3
Excluded files: mk-ca-bundle.1 template.3

(TODO Section 3.1)

commit 475c2583d506f9ee19375eb92c423dc492b1b2ed
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Fri Mar 3 21:44:01 2017 +0900

http2: Fix assertion error on redirect with CL=0

This fixes assertion error which occurs when redirect is done with 0
length body via HTTP/2, and the easy handle is reused, but new
connection is established due to hostname change:

curl: http2.c:1572: ssize_t http2_recv(struct connectdata *,
int, char *, size_t, CURLcode *):
Assertion `httpc->drain_total >= data->state.drain' failed.

To fix this bug, ensure that http2_handle_stream is called.

Fixes #1286
Closes #1302

commit 958e1766889d01b0e1f9634069ac413121c75e3c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 7 08:08:55 2017 +0100

ares: Curl_resolver_wait_resolv: clear *entry first in function

commit bfaab3180ca53d683d514b33a7967e7c7835eab7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 6 22:45:10 2017 +0100

ares: better error return on timeouts

Assisted-by: Ray Satiro

Bug: https://curl.haxx.se/mail/lib-2017-03/0009.html

commit f023f258fafa0ccf8ac013a927ec09bdebd101e0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Mar 6 19:13:03 2017 -0500

KNOWN_BUGS: Add DarwinSSL won't import PKCS#12 without a password

Bug: https://github.com/curl/curl/issues/1308
Reported-by: Justin Clift

commit 3914c07ed6cccccf0a402c47adc3f31d213cc29f
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Mar 6 23:05:51 2017 +0100

test1260: removed errant XML tag

commit aadb7c7b62251c4e760930d543105f2b10cbd9b2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 6 16:08:21 2017 +0100

URL: return error on malformed URLs with junk after port number

... because it causes confusion with users. Example URLs:

"http://[127.0.0.1]:11211:80" which a lot of languages' URL parsers will
parse and claim uses port number 80, while libcurl would use port number
11211.

"http://user@example.com:80@localhost" which by the WHATWG URL spec will
be treated to contain user name 'user@example.com' but according to
RFC3986 is user name 'user' for the host 'example.com' and then port 80
is followed by "@localhost"

Both these formats are now rejected, and verified so in test 1260.

Reported-by: Orange Tsai

commit 7ad72e0fc274b85130a75003fcb49c59c49d3dd7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 6 12:57:33 2017 +0100

BINDINGS: update the Lua-cURL URL

commit df77f1772d15f8fa0ad52b04a743af55cf8a7b21
Author: Sylvestre Ledru <sylvestre@debian.org>
Date: Mon Mar 6 12:49:44 2017 +0100

BINDINGS: add Scilab binding

Closes #1312

commit 5e99ede6d3a984e514c40dea846fb186aa63a9b6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 6 10:10:28 2017 +0100

BINDINGS: add go-curl and perl6-net-curl

Reported-by: Peter Pentchev

commit bfcb3150a7dec66e02e75aa69bb48c56aad8c16f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 6 09:43:54 2017 +0100

BINDINGS: add misssing C++ bindings

Reported-by: Giuseppe Persico

commit 29be83ee74880030a16af46396ee83a3d8ba724b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 6 09:21:01 2017 +0100

ares: return error at once if timed out before name resolve starts

Pointed-out-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2017-03/0004.html

commit 813263dc3a45a886d5bcb810555a4a32eb3a3f70
Author: Michael Maltese <michaeljosephmaltese@gmail.com>
Date: Mon Feb 20 16:33:53 2017 -0800

CMake: Set at most one SSL library

Ref: https://github.com/curl/curl/pull/1228

commit c6a97466b9c24000321ac0bcc96cceabb71b47e7
Author: Michael Maltese <michaeljosephmaltese@gmail.com>
Date: Wed Jan 25 16:41:40 2017 -0800

CMake: Add mbedTLS support

Ref: https://github.com/curl/curl/pull/1228

commit eb19e89f2e9325b75e0e9ec05da37dc4d9f6fd7f
Author: Michael Maltese <michaeljosephmaltese@gmail.com>
Date: Wed Jan 25 16:05:07 2017 -0800

CMake: Add DarwinSSL support

Assisted-by: Simon Warta <simon@kullo.net>
Ref: https://github.com/curl/curl/pull/1228

commit f85ff14d5283bd023155fb84292265a9db8afc7f
Author: Michael Maltese <michaeljosephmaltese@gmail.com>
Date: Wed Jan 25 16:35:54 2017 -0800

CMake: Reorganize SSL support, separate WinSSL and SSPI

This is closer to how configure.ac does it

Ref: https://github.com/curl/curl/pull/1228

commit 21512a015f21f2d64bfa2308ece4c2172dbf8aac
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Mar 4 16:07:07 2017 -0500

CURLOPT_SSL_CTX_FUNCTION.3: Fix EXAMPLE formatting errors

.. also document that CURLE_NOT_BUILT_IN is a RETURN VALUE.

Ref: https://github.com/curl/curl/pull/1290

commit 7b1430c0b4d14043cf0c1cc350399b1b306f3e49
Author: Andrew Krieger <akrieger@fb.com>
Date: Fri Mar 3 16:17:24 2017 -0800

fix potential use of uninitialized variables

MSVC with LTCG detects this at warning level 4.

Closes #1304

commit 658b9a200ae2b31dfe7ede957fb5aaa127386205
Author: Sylvestre Ledru <sledru@mozilla.com>
Date: Sat Mar 4 15:50:33 2017 +0100

fix some typos in the doc (#1306)

commit 97a04145efcfa7c6a3864e37aa58d1d69e1bbf69
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Mar 4 12:50:30 2017 +0100

tests: fixed a typo in some comments

commit 9f20333443b693c49d4a98bae71b45cb0a526228
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Feb 27 15:36:16 2017 -0500

url: split off proxy init and parsing from create_conn

Move the proxy parse/init into helper create_conn_helper_init_proxy to
mitigate the chances some non-proxy code will be mistakenly added to it.

Ref: https://github.com/curl/curl/issues/1274#issuecomment-281556510
Ref: https://github.com/curl/curl/pull/1293

Closes https://github.com/curl/curl/pull/1298

commit cbff751e9597b66a50b23491569865fe39682031
Author: Alexis La Goutte <alexis.lagoutte@gmail.com>
Date: Tue Feb 28 22:45:28 2017 +0100

build: fix gcc7 implicit fallthrough warnings

Mark intended fallthroughs with /* FALLTHROUGH */ so that gcc will know
it's expected and won't warn on [-Wimplicit-fallthrough=].

Closes https://github.com/curl/curl/pull/1297

commit 6fc91f6d3af1d9976cdba8e6d757d56b1c8d3b54
Author: Greg Rowe <growe@ascending-edge.com>
Date: Sun Feb 26 17:39:12 2017 -0500

configure: fix --with-zlib when a path is specified

Prior to this change if you attempted to configure curl using
--wtih-zlib and specified a path the path would be ignored if you also
had pkg-config installed on your system. This situation can easily
arise when you are cross compiling. This change moves the test for
detecting zlib settings via pkg-config only if OPT_ZLIB is not set.

Closes https://github.com/curl/curl/pull/1292

commit e95240240465a7a7d6a0076229918da85da19818
Author: c4rlo <carlo.teubner@gmail.com>
Date: Thu Mar 2 20:46:00 2017 +0000

no-keepalive.d: fix typo

Closes https://github.com/curl/curl/pull/1301

commit 14cd405d27ba1cf001acfb910f253b4c412f6692
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Mar 2 02:51:13 2017 -0500

checksrc.bat: Ignore curl_config.h.in, curl_config.h

commit 5f139d6b6f1de89ed8449a327ed743f5461ac2ec
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Mar 1 03:11:36 2017 -0500

configure: fix for --enable-pthreads

Better handle options conflicts that can occur if --enable-pthreads.

Bug: https://github.com/curl/curl/pull/1295
Reported-by: Marc-Antoine Perennou

commit 0966ab5bd4ad547c74e1032899c87f7214bc5b73
Author: JDepooter <joel.depooter@safe.com>
Date: Thu Feb 2 13:40:16 2017 -0800

darwinssl: Warn that disabling host verify also disables SNI

In DarwinSSL the SSLSetPeerDomainName function is used to enable both
sending SNI and verifying the host. When host verification is disabled
the function cannot be called, therefore SNI is disabled as well.

Closes https://github.com/curl/curl/pull/1240

commit a162d8b21b0becd1feabcc4a9d67f5ef03966d6a
Author: Marcel Raad <raad@teamviewer.com>
Date: Tue Feb 28 09:08:00 2017 +0100

warnless: suppress compiler warning

If size_t is 32 bits, MSVC warns:
warning C4310: cast truncates constant value
The warning is harmless as CURL_MASK_SCOFFT gets
truncated to the maximum value of size_t.

commit 41388b9ba386def1ec2da932500288e2e314ccb1
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Feb 27 22:32:07 2017 +0100

tests: enable HTTP/2 tests to run with non-default port numbers

commit 727917555deb4dafe3b3bda9b1fd3c39b4e1677c
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Feb 27 13:05:22 2017 +0100

digest_sspi: fix compilation warning

MSVC complains:
warning C4701: potentially uninitialized local variable 'output_token_len' used

commit a21cae5f97727ab357c8527b0a7dc8820e335012
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Feb 26 18:49:39 2017 -0500

cyassl: get library version string at runtime

wolfSSL >= 3.6.0 supports getting its library version string at runtime.

commit 4fa2de3698c7fdf2985a6d0ba742fb4ea214b8d5
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Feb 26 21:30:31 2017 +0100

test1139: allow for the possibility that the man page is not rebuilt

This is likely to be the case when building from a tar ball release
package which includes a prebuilt man page. In that case, test the
packaged man page instead. This only makes a difference when building
out-of-tree (in-tree, the location in both cases is identical).

commit 1f8023ceb5dc6b142c51fe161e0574b4d7f14b5e
Author: Isaac Boukris <iboukris@gmail.com>
Date: Fri Feb 24 11:28:08 2017 +0200

url: fix unix-socket support for proxy-disabled builds

Prior to this change if curl was built with Unix Socket support
(--enable-unix-sockets) and without Proxy support (--disable-proxy) then
unix socket options would erroneously be ignored.

Regression introduced in:
0b8d682f81ee9acb763dd4c9ad805fe08d1227c0

Bug: https://github.com/curl/curl/issues/1274
Reported-by: mccormickt12@users.noreply.github.com

Closes https://github.com/curl/curl/pull/1289

commit f7285cc02b6a3aabf7ccc6959f46f0d17d179ab6
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Feb 26 00:10:30 2017 +0100

gopher: fixed detection of an error condition from Curl_urldecode

commit 516e60aa8e96c0b9a0364baa0f84a625e988b06f
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Feb 25 22:55:46 2017 +0100

ftp: fixed a NULL pointer dereference on OOM

commit eac0dc6a3fef627042d3ffc9f34fa5943e13c066
Author: Peter Wu <peter@lekensteyn.nl>
Date: Sat Feb 25 15:08:41 2017 +0100

docs: de-duplicate file lists in the Makefiles

Make use of macro substitution of suffix patterns to remove duplication
of manual names. This approach is portable according to
http://pubs.opengroup.org/onlinepubs/009695399/utilities/make.html

Closes https://github.com/curl/curl/pull/1287

commit 79221d8d5020933bec22af3bb6f19a1bfdf0f188
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Feb 25 21:47:27 2017 +0100

ftp: removed an erroneous free in an OOM path

commit ce9ba3ba1057725fe5f485de01294182841c2132
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Feb 25 21:36:39 2017 +0100

proxy: fixed a memory leak on OOM

commit c6ddb606d8a3fdbe89763f7299e7f43cf6581567
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Feb 23 21:47:17 2017 +0100

tests: use consistent environment variables for setting charset

The character set in POSIX is set by the locale defined by (in
decreasing order of precedence) the LC_ALL, LC_CTYPE and LANG
environment variables (CHARSET was used by libidn but not libidn2).
LC_ALL is cleared to ensure that LC_CTYPE takes effect, but LC_ALL is
not used to set the locale to ensure that other parts of the locale
aren't overridden. Since there doesn't seem to be a cross-platform way
of specifying a UTF-8 locale, and not all systems may support UTF-8, a
<precheck> is used to skip the test if UTF-8 can't be verified to be
available. Test 1035 was also converted to UTF-8 for consistency, as
the actual character set used there is irrelevant to the test.

This patch uses a different UTF-8 locale than the last attempt, namely
en_US.UTF-8. This one has been verified on 7 different Linux and BSD
distributions and is more complete and usable than the locale UTF-8 (on
at least some systems).

commit 832b0105f2273b94e07d1396ecb4a57db5ae08e1
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Feb 25 12:03:46 2017 +0100

test557: explicitly use the C locale so the numeric output is as expected

commit bbc81c46e89d09676273eea5fa15981c2e6151c8
Author: Simon Warta <simon@kullo.net>
Date: Mon Feb 20 23:07:58 2017 +0100

cmake: Replace invalid UTF-8 byte sequence

- Change the encoding of the regex temp placeholder token to UTF-8.

Prior to this change the file contained special chars in a different
encoding than ASCII or UTF-8 making text editors and Python complain
when reading the file.

Closes https://github.com/curl/curl/pull/1271
Closes https://github.com/curl/curl/pull/1275

commit 03bd26852b299e7675dbce58a0579fa58cd17bd7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Feb 24 23:48:05 2017 +0100

bump: work on the next release

commit 25df50aa3392ecdbf2b8256b93b30558e8b3a810
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 23 23:16:07 2017 +0100

release: 7.53.1

commit 13314ffd65c5b7386d041be8111b90e1d150e117
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Feb 24 08:41:36 2017 +0100

Revert "tests: use consistent environment variables for setting charset"

This reverts commit ecd1d020abdae3c3ce3643ddab3106501e62e7c0.

That commit caused test failures on my Debian Linux machine for all
changed test cases. We need to reconsider how that should get done.

commit ecd1d020abdae3c3ce3643ddab3106501e62e7c0
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Feb 23 21:47:17 2017 +0100

tests: use consistent environment variables for setting charset

Character set in POSIX is set by the locale defined (in decreasing order
of precedence) by the LC_ALL, LC_CTYPE and LANG environment variables (I
believe CHARSET is only historic). LC_ALL is cleared to ensure that
LC_CTYPE takes effect, but LC_ALL is not used to set the locale to
ensure that other parts of the locale aren't overriden, if set. Since
there doesn't seem to be a cross-platform way of specifying a UTF-8
locale, and not all systems may support UTF-8, a <precheck> is used
(where relevant) to skip the test if UTF-8 isn't in use. Test 1035 was
also converted to UTF-8 for consistency, as the actual character set
used there is irrelevant to the test.

commit 93cce2489db9289e17a4daaa58483d7bd94afffe
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Feb 23 17:06:11 2017 -0500

url: Default the CA proxy bundle location to CURL_CA_BUNDLE

If the compile-time CURL_CA_BUNDLE location is defined use it as the
default value for the proxy CA bundle location, which is the same as
what we already do for the regular CA bundle location.

Ref: https://github.com/curl/curl/pull/1257

commit 53ab183c1a530391b6012e0171600bc69ec58170
Author: Sergii Pylypenko <x.pelya.x@gmail.com>
Date: Thu Feb 23 22:07:04 2017 +0200

rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header

Closes #1285

commit ed74c6442d8f46cae448e8b90130d006eb6169f5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 23 16:58:21 2017 +0100

TODO: "OPTIONS *"

Closes #1280

commit 656441d915242536a04aacb0f179156b880f2f62
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 23 11:21:44 2017 +0100

RELEASE-NOTES: synced with 443e5b03a7d441

commit 443e5b03a7d441f59aa4c81f083704ada29055d1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 23 11:21:19 2017 +0100

THANKS-filter: shachaf

commit 2bfe55037fe8beeecc573e27cb52c371d135bc0b
Author: İsmail Dönmez <ismail@i10z.com>
Date: Thu Feb 23 10:24:42 2017 +0100

tests: Set CHARSET & LANG to UTF-8 in 1035, 2046 and 2047

Closes #1283
Fixes #1277

commit d3838dc68ee7f82fe207655daa7fc1ef3dac58d5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 23 10:47:10 2017 +0100

bump: 7.53.1 coming up

synced with df665f4df0f7a352

commit 86f566078b6cb79563e4f99cb421abdbda813d4c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 23 10:41:20 2017 +0100

formdata: check for EOF when reading from stdin

Reported-by: shachaf@users.noreply.github.com

Fixes #1281

commit 035c2eceeb0b29ec71ee64f83b5278144945d34f
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Feb 22 14:08:29 2017 -0500

docs: gitignore curl.1

curl.1 is generated by the cmdline-opts script since 4c49b83.

commit f57eb1f8e35d0b56a4de6ea8c2db269bc28242ed
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 22 14:16:45 2017 +0100

TODO: HTTP Digest using SHA-256

commit b702a4d848b3da2a5b62bb341d1a087c2e899899
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 22 10:59:47 2017 +0100

TODO: brotli is deployed widely now

commit f4739f639fc481a7bec7da73041dfcb3d26ed220
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Tue Feb 21 23:01:37 2017 -0500

urldata: include curl_sspi.h when Windows SSPI is enabled

f77dabe broke builds in Windows using Windows SSPI but not Windows SSL.

Bug: https://github.com/curl/curl/issues/1276
Reported-by: jveazey@users.noreply.github.com

commit b259646ea10fc13d6cd97608824d0038f9720996
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Feb 21 22:21:17 2017 -0500

url: Improve CURLOPT_PROXY_CAPATH error handling

- Change CURLOPT_PROXY_CAPATH to return CURLE_NOT_BUILT_IN if the option
is not supported, which is the same as what we already do for
CURLOPT_CAPATH.

- Change the curl tool to handle CURLOPT_PROXY_CAPATH error
CURLE_NOT_BUILT_IN as a warning instead of as an error, which is the
same as what we already do for CURLOPT_CAPATH.

- Fix CAPATH docs to show that CURLE_NOT_BUILT_IN is returned when the
respective CAPATH option is not supported by the SSL library.

Ref: https://github.com/curl/curl/pull/1257

commit 0e8d3e838eafa75fe1373db757a2940cb33a2ba8
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Feb 21 17:00:17 2017 -0500

cyassl: fix typo

commit a7135ac3c3d825ec9f4919ee0212434e01e76b4c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 21 09:18:18 2017 +0100

release: 7.53.0

commit 588960be2c10fc2ca39fcaae2a34d06c1bd5c2bb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 21 17:44:02 2017 +0100

cookie: fix declaration of 'dup' shadows a global declaration

commit ca6ea6d9be5102a2246dff6e17b3ee9ad4ec64d0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 22 18:11:55 2017 +0100

TLS: make SSL_VERIFYSTATUS work again

The CURLOPT_SSL_VERIFYSTATUS option was not properly handled by libcurl
and thus even if the status couldn't be verified, the connection would
be allowed and the user would not be told about the failed verification.

Regression since cb4e2be7c6d42ca

CVE-2017-2629
Bug: https://curl.haxx.se/docs/adv_20170222.html

Reported-by: Marcus Hoffmann

commit af5fbb14bb4fd86cdc5bf2c9f1f2b3b5d8d2af66
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Jul 26 01:46:23 2016 -0400

digest_sspi: Handle 'stale=TRUE' directive in HTTP digest

- If the server has provided another challenge use it as the replacement
input token if stale=TRUE. Otherwise previous credentials have failed
so return CURLE_LOGIN_DENIED.

Prior to this change the stale directive was ignored and if another
challenge was received it would cause error CURLE_BAD_CONTENT_ENCODING.

Ref: https://tools.ietf.org/html/rfc2617#page-10

Bug: https://github.com/curl/curl/issues/928
Reported-by: tarek112@users.noreply.github.com

commit de1c1a8d8564e8d80ce384b19572228d87e7d8bc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 20 10:27:51 2017 +0100

smb: use getpid replacement for windows UWP builds

Source: https://github.com/Microsoft/vcpkg/blob/7676b8780db1e1e591c4fc7eba4f96f73c428cb4/ports/curl/0002_fix_uwp.patch

commit 73ef4ed612397c0391ddba232c556d91f7abddf5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 20 09:14:05 2017 +0100

TODO: CURLOPT_RESOLVE for any port number

Closes #1264

commit 563a4b0671a103325dcb71c1d04fd2e2bc158f89
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 20 08:11:17 2017 +0100

RELEASE-NOTES: synced with af30f1152d43dcdb

commit af30f1152d43dcdb55978f0ee337775f43f2fd0b
Author: Jean Gressmann <jean@0x42.de>
Date: Sun Feb 19 11:02:15 2017 +0100

sftp: improved checks for create dir failures

Since negative values are errors and not only -1. This makes SFTP upload
with --create-dirs work (again).

Closes #1269

commit f77dabefd80b05173e602de94865b5cdffb3495e
Author: Max Khon <fjoe@samodelkin.net>
Date: Mon Feb 6 23:40:51 2017 +0600

digest_sspi: Fix nonce-count generation in HTTP digest

- on the first invocation: keep security context returned by
InitializeSecurityContext()

- on subsequent invocations: use MakeSignature() instead of
InitializeSecurityContext() to generate HTTP digest response

Bug: https://github.com/curl/curl/issues/870
Reported-by: Andreas Roth

Closes https://github.com/curl/curl/pull/1251

commit 889ca45ab896cc88b28bb9cc651f0bc1a8e54bc3
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Feb 20 00:52:16 2017 -0500

examples/multi-uv: checksrc compliance

commit ddedc1b3f37354dc7748f47c094773fb0a716e18
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sun Feb 19 14:10:54 2017 +0100

string formatting: fix 4 printf-style format strings

commit f45de0e87c55de992d7ff1fcc902c4809675ec63
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Feb 18 22:18:17 2017 +0100

tests: removed the obsolete name parameter

commit a5e8fcbc17e112be5e3f25559569f2298e838471
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sun Jan 29 17:14:05 2017 +0100

speed caps: update the timeouts if the speed is too low/high

Follow-up to 4b86113

Fixes https://github.com/curl/curl/issues/793
Fixes https://github.com/curl/curl/issues/942

commit 4ddf9798ab1ae0c6d18d8f12ce531991dbd2575a
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sun Jan 29 17:06:49 2017 +0100

docs: fix timeout handling in multi-uv example

commit 2f8d0df085519351dbd7123178895ba910d756c1
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat Feb 18 13:56:56 2017 +0100

proxy: fix hostname resolution and IDN conversion

Properly resolve, convert and log the proxy host names.
Support the "--connect-to" feature for SOCKS proxies and for passive FTP
data transfers.

Follow-up to cb4e2be

Reported-by: Jay Satiro
Fixes https://github.com/curl/curl/issues/1248

commit 13e3a18b345af1a15b892b0bbedfbbff06e10a39
Author: Isaac Boukris <iboukris@gmail.com>
Date: Fri Feb 3 14:30:26 2017 +0200

http: fix missing 'Content-Length: 0' while negotiating auth

- While negotiating auth during PUT/POST if a user-specified
Content-Length header is set send 'Content-Length: 0'.

This is what we do already in HTTPREQ_POST_FORM and what we did in the
HTTPREQ_POST case (regression since afd288b).

Prior to this change no Content-Length header would be sent in such a
case.

Bug: https://curl.haxx.se/mail/lib-2017-02/0006.html
Reported-by: Dominik Hölzl

Closes https://github.com/curl/curl/pull/1242

commit 3cc30e8207b5ab3a9a381c0ff3584d1af8dc54a1
Author: Simon Warta <simon@kullo.net>
Date: Thu Feb 16 17:27:03 2017 +0100

winbuild: add note on auto-detection of MACHINE in Makefile.vc

Closes #1265

commit 62c857acd60efbd1f3051fa78e6f2a790ca8f624
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 16 07:44:39 2017 +0100

RELEASE-PROCEDURE: update the upcoming release calendar

commit c2127b448df1bfab99f3ea9b2bd2eaf0e68701e1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 15 15:12:32 2017 +0100

TODO: consider file name from the redirected URL with -O ?

It isn't easily solved, but with some thinking someone could probably
come up with a working approach?

Closes #1241

commit 7a9f5748bc7358ef3f931070091b7df7c8507b8a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Feb 15 02:31:09 2017 -0500

tool_urlglob: Allow a glob range with the same start and stop

For example allow ranges like [1-1] and [a-a] etc.

Regression since 5ca96cb.

Bug: https://github.com/curl/curl/issues/1238
Reported-by: R. Dennis Steed

commit a08db496429e09561c8b8d243e79b21ef04f98f2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 20 01:00:51 2017 +0100

axtls: adapt to API changes

Builds with axTLS 2.1.2. This then also breaks compatibility with axTLS
< 2.1.0 (the older API)

... and fix the session_id mixup brought in 04b4ee549

Fixes #1220

commit 04aa9645b5b425b48c47d673732e32028faf76ce
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 14 23:19:04 2017 +0100

RELEASE-NOTES: synced with 690935390c29c

commit 690935390c29cb97c8240463f49e22b7f3db77fb
Author: Nick Draffen <nick.draffen@gmail.com>
Date: Tue Feb 14 22:20:51 2017 +0100

curl: fix typo in time condition warning message

The warning message had a typo. The argument long form is --time-cond
not --timecond

Closes #1263

commit 97c7591a57535d349b140a67efae5bb6a7bc537c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 14 15:10:31 2017 +0100

smb: code indent

commit c1071283e88c1bef63b934cb91cb6eadd70f5507
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Feb 12 14:50:56 2017 -0500

configure: Allow disabling pthreads, fall back on Win32 threads

When the threaded resolver option is specified for configure the default
thread library is pthreads. This change makes it possible to
--disable-pthreads and then configure can fall back on Win32 threads for
native Windows builds.

Closes https://github.com/curl/curl/pull/1260

commit bde1e2e09b5371cadadc33294592d2bc8188f167
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 13 10:35:18 2017 +0100

http2: fix memory-leak when denying push streams

Reported-by: zelinchen@users.noreply.github.com
Fixes #1229

commit e1187c42a4b58f16343d2da653be00c36d930e16
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Feb 11 16:35:47 2017 -0500

tool_operate: Show HTTPS-Proxy options on CURLE_SSL_CACERT

When CURLE_SSL_CACERT occurs the tool shows a lengthy error message to
the user explaining possible solutions such as --cacert and --insecure.

This change appends to that message similar options --proxy-cacert and
--proxy-insecure when there's a specified HTTPS proxy.

Closes https://github.com/curl/curl/issues/1258

commit 8721f3a50e016a34f4ccb45fecfdd1a658f15ac3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Feb 10 16:21:18 2017 +0100

cmdline-opts/page-footer: ftp.sunet.se is no longer an FTP mirror

commit c5c4e816b461f69fa21699841a8ddd883cf4b46a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Feb 10 10:50:19 2017 +0100

URL: only accept ";options" in SMTP/POP3/IMAP URL schemes

Fixes #1252

commit 7017c421a1683a809c7cc18459a16bafc736626f
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Feb 9 18:26:16 2017 -0500

cmdline-opts/socks*: Mention --preproxy in --socks* opts

- Document in --socks* opts they're still mutually exclusive of --proxy.

Partial revert of 423a93c; I had misinterpreted the SOCKS proxy +
HTTP/HTTPS proxy combination.

- Document in --socks* opts that --preproxy can be used to specify a
SOCKS proxy at the same time --proxy is used with an HTTP/HTTPS proxy.

commit 1dcf2447212996f0772f953f38ac5930ba3311b3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 9 23:22:57 2017 +0100

CURLOPT_SSL_VERIFYPEER.3: also the https proxy version

commit 8fa5409800668ad5305e7517597286014c7708fb
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Feb 9 16:21:52 2017 +0100

nss: make FTPS work with --proxytunnel

If the NSS code was in the middle of a non-blocking handshake and it
was asked to finish the handshake in blocking mode, it unexpectedly
continued in the non-blocking mode, which caused a FTPS connection
over CONNECT to fail with "(81) Socket not ready for send/recv".

Bug: https://bugzilla.redhat.com/1420327

commit bef0d001108a0f24b8227941aeee3bf03ae37bfa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 9 16:16:21 2017 +0100

examples/multithread.c: link to our multi-thread docs

... instead of the OpenSSL mutex page.

commit e2e182227aa0e26baef9ead4e0b7459706e2ff28
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 9 10:13:28 2017 +0100

http_proxy: avoid freeing static memory

Follow up to 7fe81ec298e0: make sure 'host' is either NULL or malloced.

commit 7fe81ec298e09d542a268c70361ae2d1f0b29f79
Author: Cameron MacMinn <camacmin@cisco.com>
Date: Wed Feb 8 11:14:36 2017 -0700

http_proxy: Fix tiny memory leak upon edge case connecting to proxy

Fixes #1255

commit a7e4348cf8d9e3ca4ef7020de4540a7257bc5b30
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Wed Feb 8 22:09:31 2017 +0100

polarssl, mbedtls: Fix detection of pending data

Reported-by: Dan Fandrich
Bug: https://curl.haxx.se/mail/lib-2017-02/0032.html

commit 3cc2229c13ceeed82f7cea099573ccc326331627
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue Feb 7 18:49:01 2017 +0100

test1139: Added the --manual keyword since the manual is required

commit 3726802830f5916ca124d681b7251d10671a9349
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 7 10:44:04 2017 +0100

RELEASE-NOTES: synced with 102454459dd688c

commit 102454459dd688c14fcec9adfd1157128b035312
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 7 10:43:25 2017 +0100

THANKS-filter: polish some recent contributors

commit d83612376c976e19ccce4cfe34f6f4eb254c958c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 7 09:17:55 2017 +0100

http2: reset push header counter fixes crash

When removing an easy handler from a multi before it completed its
transfer, and it had pushed streams, it would segfault due to the pushed
counted not being cleared.

Fixed-by: zelinchen@users.noreply.github.com
Fixes #1249

commit 6ffe0f5d9670367f128d75c4c68bc427fdc60a5d
Author: Markus Westerlind <markus.westerlind@inobiz.se>
Date: Fri Feb 3 15:58:41 2017 +0100

transfer: only retry nobody-requests for HTTP

Using sftp to delete a file with CURLOPT_NOBODY set with a reused
connection would fail as curl expected to get some data. Thus it would
retry the command again which fails as the file has already been
deleted.

Fixes #1243

commit 3c5bfe489321f6757366268e23fd3565a96ab683
Author: Daniel Gustafsson <daniel@yesql.se>
Date: Tue Feb 7 02:35:49 2017 -0500

telnet: Fix typos

Ref: https://github.com/curl/curl/pull/1245

commit e695b070a5165d0666931f1831049eb07d269316
Author: Daniel Gustafsson <daniel@yesql.se>
Date: Sun Feb 5 10:35:54 2017 +0100

test552: Fix typos

Closes https://github.com/curl/curl/pull/1245

commit 3509aa8023e394710a30b18d367f3fa0a9e57796
Author: Daniel Gustafsson <daniel@yesql.se>
Date: Sun Feb 5 10:26:07 2017 +0100

darwinssl: Avoid parsing certificates when not in verbose mode

The information extracted from the server certificates in step 3 is only
used when in verbose mode, and there is no error handling or validation
performed as that has already been done. Only run the certificate
information extraction when in verbose mode and libcurl was built with
verbose strings.

Closes https://github.com/curl/curl/pull/1246

commit 18495ecaccf936a9d7d6c96c08c644ceda83bd00
Author: JDepooter <joel.depooter@safe.com>
Date: Thu Feb 2 13:40:16 2017 -0800

schannel: Remove incorrect SNI disabled message

- Remove the SNI disabled when host verification disabled message
since that is incorrect.

- Show a message for legacy versions of Windows <= XP that connections
may fail since those versions of WinSSL lack SNI, algorithms, etc.

Bug: https://github.com/curl/curl/pull/1240

commit 5aef498b8a76a1425e448677544fa70229eb27a9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 7 08:22:37 2017 +0100

CHANGES: spell fix, use correct path to script

commit d3ab22f875f1397ee4876b5691a5215454a9cbf7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 7 08:20:10 2017 +0100

CHANGES.0: removed

This is the previously manually edited changelog, not touched since Aug
2015. Still present in git for those who wants it.

commit edb2d028551e54a4f328a8798353ca3cffef875e
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Feb 6 22:47:41 2017 +0100

cmdline-opts: Fixed build and test in out of source tree builds

commit 88bdd7cf6fba438bbb3d89641bf03b14e8feead6
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Mon Feb 6 19:21:05 2017 +0000

use *.sourceforge.io and misc URL updates

Ref: https://sourceforge.net/blog/introducing-https-for-project-websites/
Closes: https://github.com/curl/curl/pull/1247

commit 423a93ce32215c9854b0b077aeb5ea723a1f0f63
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Feb 6 03:13:42 2017 -0500

docs: Add more HTTPS proxy documentation

- Document HTTPS proxy type.

- Document --write-out %{proxy_ssl_verify_result}.

- Document SOCKS proxy + HTTP/HTTPS proxy combination.

HTTPS proxy support was added in 7.52.0 for OpenSSL, GnuTLS and NSS.

Ref: https://github.com/curl/curl/commit/cb4e2be

commit a49d2d0e25b5441e34ae29dcd18f2658a951eace
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Feb 1 18:28:29 2017 -0500

OS400: Fix symbols

- s/CURLOPT_SOCKS_PROXY/CURLOPT_PRE_PROXY
Follow-up to 7907a2b and 845522c.

- Fix incorrect id for CURLOPT_PROXY_PINNEDPUBLICKEY.

- Add id for CURLOPT_ABSTRACT_UNIX_SOCKET.

Bug: https://github.com/curl/curl/issues/1237
Reported-by: jonrumsey@users.noreply.github.com

commit 1c877a0712b7851c7f286007193668058ed2e987
Author: Sean Burford <sburford@google.com>
Date: Tue Jul 19 10:27:20 2016 +1000

cmake: Support curl --xattr when built with cmake

- Test for and set HAVE_FSETXATTR when support for extended file
attributes is present.

Closes https://github.com/curl/curl/pull/1176

commit 028391df5d84d9fae3433afdee9261d565900355
Author: Adam Langley <agl@google.com>
Date: Tue Jan 31 16:05:33 2017 -0800

openssl: Don't use certificate after transferring ownership

SSL_CTX_add_extra_chain_cert takes ownership of the given certificate
while, despite the similar name, SSL_CTX_add_client_CA does not. Thus
it's best to call SSL_CTX_add_client_CA before
SSL_CTX_add_extra_chain_cert, while the code still has ownership of the
argument.

Closes https://github.com/curl/curl/pull/1236

commit a90a5bccd47ba5425949a51e6d77b91a2a1e7fe6
Author: Antoine Aubert <a.aubert@overkiz.com>
Date: Fri Jan 27 08:39:28 2017 +0100

mbedtls: implement CTR-DRBG and HAVEGE random generators

closes #1227

commit a1a5dd14d7dd7957903d33f4d9a8f7ce22faa4a3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 29 11:10:34 2017 +0100

docs: we no longer ship HTML versions of man pages

... refer to the web site for the web versions.

commit bd7eaf75f18e19da4cee3a19a99c6a836c9c1fa6
Author: railsnewbie257 <railsnewbie257@gmail.com>
Date: Sat Jan 28 08:29:28 2017 -0600

docs: proofread README.netware README.win32

Closes #1231

commit 54210fa5b0c5b4d18c074345d435383fd94008e6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 28 23:58:13 2017 +0100

RELEASE-NOTES; synced with ab08d82648

commit ab08d82648f6deed7e698f1e11b5e3151e8f2f79
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat Jan 28 20:14:54 2017 +0100

mbedtls: disable TLS session tickets

SSL session reuse with TLS session tickets is not supported yet.
Use SSL session IDs instead.

See https://github.com/curl/curl/issues/1109

commit 511674ab279cebe143748920755631539a198d33
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat Jan 28 20:06:31 2017 +0100

gnutls: disable TLS session tickets

SSL session reuse with TLS session tickets is not supported yet.
Use SSL session IDs instead.

Fixes https://github.com/curl/curl/issues/1109

commit bcca842e0d2b2a70b776cf888572739bda11dac7
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat Jan 28 19:45:52 2017 +0100

polarssl: fix hangs

This bugfix is similar to commit c111178bd4.

commit cbd4e1fa0dc77cd65ec09985e979a4be11b60096
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 27 12:59:12 2017 +0100

cookies: do not assume a valid domain has a dot

This repairs cookies for localhost.

Non-PSL builds will now only accept "localhost" without dots, while PSL
builds okeys everything not listed as PSL.

Added test 1258 to verify.

This was a regression brought in a76825a5efa6b4

commit 074405786b366b5c41ab693d1fa129e7a64171ee
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 27 10:00:33 2017 +0100

TODO: remove "Support TLS v1.3"

Support is trickling in already.

commit 77350cef00cc8da6ec792c3e8af873ecb10ae132
Author: railsnewbie257 <railsnewbie257@gmail.com>
Date: Tue Jan 24 09:14:59 2017 -0600

INTERNALS.md: language improvements

Closes #1226

commit d8a3aa702ae55af702ac36bd1ab734748f417cf5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 24 08:45:25 2017 +0100

telnet: fix windows compiler warnings

Thumbs-up-by: Jay Satiro

Closes #1225

commit 8611d985eeca12807ffbe0f28676b0ae05ab68fe
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 10 00:29:14 2017 +0100

VC: remove the makefile.vc6 build infra

The winbuild/ build files is now the single MSVC makefile build choice.

Closes #1215

commit d0837f36dbe476fd9535fee3f2b0e2599031404d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Jan 16 18:26:08 2017 -0500

cmdline-opts/gen.pl: Open input files in CRLF mode

On Windows it's possible to have input files with CRLF line endings and
a perl that defaults to LF line endings (eg msysgit). Currently that
results in generator output of mixed line endings of CR, LF and CRLF.

This change fixes that issue in the most succinct way by opening the
files in :crlf text mode even when the perl being used does not default
to that mode. (On operating systems that don't have a separate text mode
it's essentially a no-op.) The output continues to be in the perl's
native line ending.

commit 4c49b83597969418584344eb0df499d150f8680c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 16 15:43:16 2016 +0100

docs/curl.1: generate from the cmdline-opts script

commit fd3ca89cede65d8907498e46ee9355411fcc3699
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 22 12:00:28 2017 +0100

vtls: source indentation fix

commit 40e3d6c8c21ef2f8e64c1eddb22740c9f1a6cd99
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 20 17:10:08 2017 +0100

contri*.sh: cut off parentheses from names too

commit a2bcaa31949df6f4e08bec6404467ccf39aeb6d9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 20 16:56:05 2017 +0100

RELEASE-NOTES: synced with 01ab7c30bba6f

commit 01ab7c30bba6f95bb52653512c2f34efbb481405
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 20 10:46:05 2017 +0100

vtls: fix PolarSSL non-blocking handling

A regression brought in cb4e2be

Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/issues/1174#issuecomment-274018791

commit 06b1197eeb6425ae297a5fad9ed65f09e9cf51d0
Author: Antoine Aubert <a.aubert@overkiz.com>
Date: Fri Jan 20 08:10:28 2017 +0100

vtls: fix mbedtls multi non blocking handshake.

When using multi, mbedtls handshake is in non blocking mode. vtls must
set wait for read/write flags for the socket.

Closes #1223

commit 6b7616690e5370c21e3a760321af6bf4edbabfb6
Author: Richy Kim <richy@fb.com>
Date: Tue Dec 20 05:48:15 2016 -0500

CURLOPT_BUFFERSIZE: support enlarging receive buffer

Replace use of fixed macro BUFSIZE to define the size of the receive
buffer. Reappropriate CURLOPT_BUFFERSIZE to include enlarging receive
buffer size. Upon setting, resize buffer if larger than the current
default size up to a MAX_BUFSIZE (512KB). This can benefit protocols
like SFTP.

Closes #1222

commit 81cb255cb355ca35453e7297af9cbc8ff7798416
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 19 23:03:59 2017 +0100

sws: use SOCKERRNO, not errno

Reported-by: Gisle Vanem

commit 1a9a99adf9ddf7a4727f7ba1d2b6a64306561f4a
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Thu Jan 19 20:56:25 2017 +0100

KNOWN_BUGS: HTTP/2 server push enabled when no pushes can be accepted

This has been implemented with commit 9ad034e.

commit df86db7deeb0a5ffc764c83dd19b1344c5b0f5c9
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Thu Jan 19 11:35:48 2017 +0000

*.rc: escape non-ASCII/non-UTF-8 character for clarity

Closes https://github.com/curl/curl/pull/1217

commit f1261b1253c57e1e3257ddba5d039475fcda90b7
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Jan 19 12:12:26 2017 +0100

docs: non-blocking SSL handshake is now supported with NSS

Implemented since curl-7_36_0-130-g8868a22

Reported-by: Fahim Chandurwala

commit 2d6831b75824807219b24e16d0d2aabab61ad545
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Wed Jan 18 13:01:37 2017 +0100

CURLOPT_CONNECT_TO: Fix compile warnings

Fix compile warnings that appeared only when curl has been configured
with '--disable-verbose'.

commit 3a4326efd53909e4f9966f3dba41cf054e03f537
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jan 18 08:09:09 2017 +0100

usercertinmem.c: improve the short description

commit e9f45aa91ba3937388c44673f296ba68597e6432
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jan 18 00:01:03 2017 +0100

parseurl: move back buffer to function scope

Regression since 1d4202ad, which moved the buffer into a more narrow
scope, but the data in that buffer was used outside of that more narrow
scope.

Reported-by: Dan Fandrich
Bug: https://curl.haxx.se/mail/lib-2017-01/0093.html

commit afd1564215970f75439ac4e83a7974efa8c739c6
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Jan 17 02:53:29 2017 -0500

openssl: Fix random generation

- Fix logic error in Curl_ossl_random.

Broken a few days ago in 807698d.

commit 25543b8392b2b9e18eb07e6140d351231e666ed1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 17 07:58:27 2017 +0100

TODO: share OpenSSL contexts

By supporting this, subsequent connects would load a lot less data from
disk.

Closes #1110

commit 8f8ba6122458beaa491ce00d0846c0beb15ef2e2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 16 08:34:15 2017 +0100

bump: next release will be 7.53.0

commit 25ed9ea51257c0561237d1b725c4ff3d59b3f32c
Author: Kamil Dudka <kdudka@redhat.com>
Date: Sun Jan 15 13:10:43 2017 +0100

nss: use the correct lock in nss_find_slot_by_name()

commit 9ad034e5a1b2d42acfdbea184736066782c6c635
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Sat Dec 10 13:54:59 2016 +0000

http2: disable server push if not requested

Ref: https://github.com/curl/curl/pull/1160

commit 02ee3b2737474ac34cea17f4a7505c2a6dfb4c56
Author: railsnewbie257 <railsnewbie257@gmail.com>
Date: Sat Jan 14 06:01:06 2017 -0600

docs: improved language in README.md HISTORY.md CONTRIBUTE.md

Closes #1211

commit 1ad1a0d1861699a95d4edb78571470669cc7b2b5
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Fri Jan 13 22:28:41 2017 +0000

http: print correct HTTP string in verbose output when using HTTP/2

Before:
```
% src/curl https://sigsegv.ninja/ -v --http2
...
> GET / HTTP/1.1
> Host: sigsegv.ninja
> User-Agent: curl/7.52.2-DEV
> Accept: */*
>
...
```

After:
```
% src/curl https://sigsegv.ninja/ -v --http2
...
> GET / HTTP/2
> Host: sigsegv.ninja
> User-Agent: curl/7.52.2-DEV
> Accept: */*
>
```

commit e3b911463aacb1ccee41671705c5cdcbd9f82c14
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 14 12:49:12 2017 +0100

TODO: send only part of --data

Closes #1200

commit 535a29c01acc519c7c11e0a50ede9ce1b0b89100
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 14 12:42:53 2017 +0100

TODO: implemened "--fail-fast to exit on first transfer fail"

Even though it is called --fail-early

commit 9dea60e550e6850168a1912622f32cab4ab3dcf4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 14 12:41:29 2017 +0100

TODO: Chunked transfer multipart formpost

Closes #1139

commit eb6cf751305efc621178337d0bafce4a5b088f97
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 14 12:34:53 2017 +0100

TODO: Improve formpost API, not just add an easy argument

commit 6e12bb7cbeda99be8a9c2aace18180784b6b7e26
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 13 23:58:22 2017 +0100

addrinfo: fix compiler warning on offsetof() use

curl_addrinfo.c:519:20: error: conversion to ‘curl_socklen_t {aka
unsigned int}’ from ‘long unsigned int’ may alter its value
[-Werror=conversion]

Follow-up to 1d786faee1046f

commit d24c4ea2d0d49167dda4b6afb2df47bae77068a8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 13 17:29:01 2017 +0100

THANKS-filter: Jiri Malak

commit d758e99cef66f7daade4b4cefc76a86175ad0434
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 13 17:28:49 2017 +0100

RELEASE-NOTES: synced with a7c73ae309c

commit 1d786faee1046ff90e71252aeef4a997c3bf0d8d
Author: Isaac Boukris <iboukris@gmail.com>
Date: Mon Jan 9 00:51:08 2017 +0200

unix_socket: add support for abstract unix domain socket

In addition to unix domain sockets, Linux also supports an
abstract namespace which is independent of the filesystem.

In order to support it, add new CURLOPT_ABSTRACT_UNIX_SOCKET
option which uses the same storage as CURLOPT_UNIX_SOCKET_PATH
internally, along with a flag to specify abstract socket.

On non-supporting platforms, the abstract address will be
interpreted as an empty string and fail gracefully.

Also add new --abstract-unix-socket tool parameter.

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reported-by: Chungtsun Li (typeless)
Reviewed-by: Daniel Stenberg
Reviewed-by: Peter Wu
Closes #1197
Fixes #1061

commit a7c73ae309c03bd84b28659421ac613e503565ce
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 13 16:23:16 2017 +0100

write-out.d: 'time_total' is not always shown with ms precision

We have higher resolution since 7.52.0

commit ac548bbaab1b8a4a1a5107a61f1592d17e837fa8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 13 15:34:01 2017 +0100

next.d: --trace and --trace-ascii are also global

commit a301cbb655ed0f5693e1e15068174919e6e94e98
Author: Isaac Boukris <iboukris@gmail.com>
Date: Fri Jan 13 14:07:52 2017 +0100

curl: reset the easy handle at --next

So that only "global" options (verbose mostly) survive into the next
transfer, and the others have to be set again unless default is fine.

commit dbd37938599e705bf57e2965cc007e83a6ff7d9b
Author: Frank Gevaerts <frank@gevaerts.be>
Date: Wed Dec 21 14:48:35 2016 +0100

docs: Add note about libcurl copying strings to CURLOPT_* manpages

Closes #1169

commit d2b2c6385239345fe17ce28410da7fb2f25be49a
Author: Frank Gevaerts <frank@gevaerts.be>
Date: Wed Dec 21 14:28:02 2016 +0100

CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char*

commit 7d6e3f8cfa5c8de1ecb4ab63ed0c0660cce7acdc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 13 14:49:11 2017 +0100

IDN: Use TR46 non-transitional

Assisted-by: Tim Rühsen

commit ee357664df9bbb301e3bc1070a855e6b13303a5d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 13 14:31:40 2017 +0100

IDN: revert use of the transitional option

It made the german ß get converted to ss, IDNA2003 style, and we can't
have that for the .de TLD - a primary reason for our switch to IDNA2008.

Test 165 verifies.

commit ba315745f7f4ddfedd0763833c22f019817535cb
Author: Tim Rühsen <tim.ruehsen@gmx.de>
Date: Fri Jan 13 11:50:01 2017 +0100

IDN: Fix compile time detection of linidn2 TR46

Follow-up to f30cbcac1

Closes #1207

commit 2ac1942c72fda6d2a1912fb4e8b6ebfc43ee9f30
Author: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Date: Mon Dec 19 16:27:24 2016 +0900

url: --noproxy option overrides NO_PROXY environment variable

Under condition using http_proxy env var, noproxy list was the
combination of --noproxy option and NO_PROXY env var previously. Since
this commit, --noproxy option overrides NO_PROXY environment variable
even if use http_proxy env var.

Closes #1140

commit efdbfde7ca205f256c4e8b473c775cf73557cfd7
Author: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Date: Fri Dec 16 21:26:18 2016 +0900

url: Refactor detect_proxy()

If defined CURL_DISABLE_HTTP, detect_proxy() returned NULL. If not
defined CURL_DISABLE_HTTP, detect_proxy() checked noproxy list.

Thus refactor to set proxy to NULL instead of calling detect_proxy() if
define CURL_DISABLE_HTTP, and refactor to call detect_proxy() if not
define CURL_DISABLE_HTTP and the host is not in the noproxy list.

commit 1b57557882891285ff53c243bb4ede8b1ccac79c
Author: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Date: Fri Nov 25 13:26:51 2016 +0900

url: Fix NO_PROXY env var to work properly with --proxy option.

The combination of --noproxy option and http_proxy env var works well
both for proxied hosts and non-proxied hosts.

However, when combining NO_PROXY env var with --proxy option,
non-proxied hosts are not reachable while proxied host is OK.

This patch allows us to access non-proxied hosts even if using NO_PROXY
env var with --proxy option.

commit f30cbcac11f5a627992f0c48cff91135808fa70f
Author: Tim Rühsen <tim.ruehsen@gmx.de>
Date: Fri Jan 13 09:36:33 2017 +0100

IDN: Use TR46 'transitional' for toASCII translations

References: http://unicode.org/faq/idn.html
http://unicode.org/reports/tr46

Closes #1206

commit cd6b99ef324a047c5dc49bbf27c1d40a3de2b14d
Author: railsnewbie257 <railsnewbie257@gmail.com>
Date: Wed Jan 11 23:48:22 2017 -0600

docs: FAQ MAIL-ETIQUETTE language fixes

Closes #1194

commit 7ba8020c467936283661357d21fe142f2bc48933
Author: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Date: Wed Jan 11 14:42:41 2017 +0100

gnutls: check for alpn and ocsp in configure

Check for presence of gnutls_alpn_* and gnutls_ocsp_* functions during
configure instead of relying on the version number. GnuTLS has options
to turn these features off and we ca just work with with such builds
like we work with older versions.

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>

Closes #1204

commit 1d4202ade602dd4f1192c69aed5cc905e7a9b4e2
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Nov 13 15:27:57 2016 -0500

url: Fix parsing for when 'file' is the default protocol

Follow-up to 3463408.

Prior to 3463408 file:// hostnames were silently stripped.

Prior to this commit it did not work when a schemeless url was used with
file as the default protocol.

Ref: https://curl.haxx.se/mail/lib-2016-11/0081.html
Closes https://github.com/curl/curl/pull/1124

Also fix for drive letters:

- Support --proto-default file c:/foo/bar.txt

- Support file://c:/foo/bar.txt

- Fail when a file:// drive letter is detected and not MSDOS/Windows.

Bug: https://github.com/curl/curl/issues/1187
Reported-by: Anatol Belski
Assisted-by: Anatol Belski

commit 807698db025f489dd7894f1195e4983be632bee2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 12 17:41:26 2017 +0100

rand: make it work without TLS backing

Regression introduced in commit f682156a4fc6c4

Reported-by: John Kohl
Bug: https://curl.haxx.se/mail/lib-2017-01/0055.html

commit a18db792624a677221d895f4662a06b5016e4eee
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jan 12 02:22:41 2017 -0500

STARTTLS: Don't print response character in denied messages

Both IMAP and POP3 response characters are used internally, but when
appended to the STARTTLS denial message likely could confuse the user.

Closes https://github.com/curl/curl/pull/1203

commit 4e6f483d08646eb7179344509a660a01a904d4f9
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jan 12 02:06:03 2017 -0500

smtp: Fix STARTTLS denied error message

- Format the numeric denial code as an integer instead of a character.

commit c6778aa46a8e8d27b40692a89f1d3be0e2614abb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jan 11 12:15:37 2017 +0100

http2_send: avoid unsigned integer wrap around

... when checking for a too large request.

commit 192466e0860e3e0d8760311af90f72430780482e
Author: Jiri Malak <malak.jiri@gmail.com>
Date: Mon Jan 9 21:39:25 2017 +0100

cmake: Fix passing _WINSOCKAPI_ macro to compiler

Define _WINSOCKAPI_ blank rather than to 1 in order to match the value
used by Microsoft's winsock header files.

Closes https://github.com/curl/curl/pull/1195

commit 62e67c77722d3bb936201a813fa318c4304db794
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 8 17:50:07 2017 +0100

sws: retry send() on EWOULDBLOCK

Fixes spurious test 1060 and 1061 failures on OpenBSD, Solaris and more.

Bug: https://curl.haxx.se/mail/lib-2017-01/0009.html
Reported-by: Christian Weisgerber

commit d3a313c099e313bc9e4199499208330b39c72462
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 9 14:54:48 2017 +0100

RELEASE-NOTES: synced with a41e8592d6b3e58

commit a41e8592d6b3e58311e628c5a34bc53776b93e16
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 8 16:38:54 2017 +0100

examples: make the C++ examples follow our code style too

At least mostly, not counting // comments.

commit ed2fcd54283179dfb2fa52c6c4b08e1f4db9632d
Author: Aulddays <github@aulddays.com>
Date: Sat Jan 7 22:32:55 2017 +0800

asiohiper: improved socket handling

libcurl requires CURLMOPT_SOCKETFUNCTION to KEEP watching socket events
and notify back. Modify event_cb() to continue watching events when
fired.

Fixes #1191
Closes #1192
Fixed-by: Mingliang Zhu

commit 8805be2cf8aba9ed19f57408ea4485e4b41fccdf
Author: Jiří Malák <malak.jiri@gmail.com>
Date: Sun Jan 8 13:39:06 2017 +0100

lib506: fix build for Open Watcom

Rename symbol lock to locks to not clash with OW CRTL function name.

Closes #1196

commit 5df25fdce4a697903aa80f0a1b700c914f00cf84
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 7 23:45:48 2017 +0100

ROADMAP: 2017 cleanup

Removed items already fixed, clarified a few others.

commit 7fc0e1dfc475930eada0180ee552f7b6deb3f04e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 7 20:25:43 2017 +0100

COPYING: update the generic copyright year range

commit acd29dc10890822527da329e85e58f6e8b6b8134
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 7 20:23:31 2017 +0100

docs/silent: mention --show-error in --silent description

Reported in #1190
Reported-by: Dan Jacobson

commit e8404adc85ddbb8bf0424fef3ad889905019050c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jan 7 20:21:57 2017 +0100

docs/page-header: mention how to disable the progress meter

curl.1 is regenerated

Fixes #1190

commit ba19feba945d6d4aec2688dd43895eb57625c635
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Jan 7 00:09:10 2017 +0100

wolfssl: display negotiated SSL version and cipher

commit bbee0d4eee0335ed129c37063ea47e14be076e57
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Fri Jan 6 23:00:45 2017 +0100

wolfssl: support setting cipher list

commit 5d7a7fcdcbe2850abe8a3d1403a989a355ed4827
Author: Patrick Monnerat <patrick@monnerat.net>
Date: Fri Jan 6 17:43:57 2017 +0100

CIPHERS.md: document GSKit ciphers

commit feca30419af6c295c698083c4e3396699c3ed7dd
Author: peterpih <railsnewbie257@gmail.com>
Date: Wed Jan 4 01:37:59 2017 -0600

TheArtOfHttpScripting: grammar

commit ffbb0f0d37c3969eb59c2fb78ca8297e319960fa
Author: Nick Zitzmann <nickzman@gmail.com>
Date: Tue Jan 3 17:44:57 2017 -0600

darwinssl: --insecure overrides --cacert if both settings are in use

Fixes #1184

commit 4f2239c5cad235df5dec767b55767b47d0c7e561
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Jan 2 13:39:29 2017 -0500

docs/libcurl: TCP_KEEPALIVE start and interval default to 60

Since the TCP keep-alive options were added in 705f0f7 the start and
interval default values have been 60, but that wasn't documented.

Bug: https://curl.haxx.se/mail/lib-2017-01/0000.html
Reported-by: Praveen Pvs

commit 9b3fbf6b83cd3e8f868e17a7571cb32106e10f23
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 29 11:30:12 2016 +0100

curl.h: CURLE_FUNCTION_NOT_FOUND is no longer in use

This error code was once introduced when some library was dynamically
loaded and a funciton within said library couldn't be found.

commit ad10eb5fed351072ac4528b5e57f92f0a381ac24
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 29 11:24:20 2016 +0100

content_encoding: change return code on a failure

Failure to decompress is now a write error instead of the weird
"function not found".

commit 278034a61c49a1e06f85bcef4b4a277162280784
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 29 11:22:18 2016 +0100

page-footer: error 36 is protocol agnostic!

commit ee3c83f39c90126cabb9be896931725c32f22e09
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Nov 11 02:48:52 2016 -0500

tool_operate: Fix --remote-time incorrect times on Windows

- Use Windows API SetFileTime to set the file time instead of utime.

Avoid utime on Windows if possible because it may apply a daylight
saving time offset to our UTC file time.

Bug: https://curl.haxx.se/mail/archive-2016-11/0033.html
Reported-by: Tim

Closes https://github.com/curl/curl/pull/1121

commit 89b789884680134d5090c6de2e6b621e908b1902
Author: Max Khon <fjoe@samodelkin.net>
Date: Wed Dec 28 18:10:59 2016 +0600

digest_sspi: copy terminating NUL as well

Curl_auth_decode_digest_http_message(): copy terminating NUL as later
Curl_override_sspi_http_realm() expects a NUL-terminated string.

Fixes #1180

commit 0128925de5e49bcf3976bde7da31765d2c06a99d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 28 11:49:00 2016 +0100

curl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunked

Mentioned in #1013

commit 1b711ca107730179d6b588863292347a93038e3b
Author: Kyselgov E.N <kyselgov@gmail.com>
Date: Tue Nov 29 14:19:54 2016 +0200

cmake: use crypt32.lib when building with OpenSSL on windows

Reviewed-by: Peter Wu
Closes #1149
Fixes #1147

commit e53f0736c403aa973e6937ba19d83f07922ac9cb
Author: Chris Araman <chris-araman@users.noreply.github.com>
Date: Thu Dec 22 18:50:31 2016 -0800

darwinssl: fix CFArrayRef leak

Reviewed-by: Nick Zitzmann
Closes #1173

commit 8db3afe16c0916ea5acf6aed6e7cf02f06cc8677
Author: Chris Araman <chris-araman@users.noreply.github.com>
Date: Thu Dec 22 18:27:17 2016 -0800

darwinssl: fix iOS build

Reviewed-by: Nick Zitzmann
Fixes #1172

commit aa6db9642e8044a14ccffa31b4933463d9c02ff0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 27 22:02:14 2016 +0100

curl: remove superfluous include file

The <netinet/tcp.h> is a leftover from the past when TCP socket options
were set in this file. This include causes build issues on AIX 4.3.

Reported-by: Kim Minjoong

Closes #1178

commit 2bb00705bbf9cfc59f6011bb0214e5eddba13ea8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 26 21:12:44 2016 +0100

RELEASE-NOTES: synced with a7b38c9dc98481e

commit a7b38c9dc98481e4a5fc37e51a8690337c674dfb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 26 00:06:33 2016 +0100

vtls: s/SSLEAY/OPENSSL

Fixed an old leftover use of the USE_SSLEAY define which would make a
socket get removed from the applications sockets to monitor when the
multi_socket API was used, leading to timeouts.

Bug: #1174

commit 209b2302272b86c2bbe4d3d2b62e1695655f8670
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 25 11:01:17 2016 +0100

docs/ciphers: link to our own new page about ciphers

... as the former ones always go stale!

commit 7776abb2e605f7a9deedbecc8c66c015b5503b1a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 25 10:58:08 2016 +0100

cmdline-opts/page-footer: add three more exit codes

... and regenerated curl.1

commit e50abe647876a02fdd719566e224471b5f7425f0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 25 10:36:29 2016 +0100

formdata: use NULL, not 0, when returning pointers

commit 9314bf84053bd7ce5106a4e36a64cfb309b64a1a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 25 10:35:34 2016 +0100

ftp: failure to resolve proxy should return that error code

commit 0bc24d6f9d15a2cc5898cae4f214487200e78f44
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 25 01:13:12 2016 +0100

configure: accept --with-libidn2 instead

... which the help text already implied since we switched to libidn2
from libidn in commit 9c91ec778104ae3b back in October 2016.

Reported-by: Christian Weisgerber
Bug: https://curl.haxx.se/mail/lib-2016-12/0110.html

commit 913312f414c7912802c3b33e7e36d3749f86789a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 23 00:07:36 2016 +0100

test1282: verify the ftp-gss check

commit 5fe164a258b2a8524de1bfa58e8faa082770bcdd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 23 00:06:25 2016 +0100

ftp-gss: check for init before use

To avoid dereferencing a NULL pointer.

Reported-by: Daniel Romero

commit 57cad81091bb5b92a9e03b01b52f449e6c3a8cae
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Dec 24 13:49:25 2016 -0500

build-wolfssl: Sync config with wolfSSL 3.10

wolfSSL configure script relevant changes from 3.9 to 3.10:

- DES3 no longer enabled by default
- Shamir no longer enabled by default
- Extended master secret enabled by default
- RSA and ECC timing protections enabled by default

For backwards compatibility I enabled DES3 and ECC shamir config options
(ie no change from 3.9), and the other changes are included.

commit cdbdef6f9f05139f613000f6818f101bb5d6e4ac
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Dec 24 13:25:03 2016 -0500

cyassl: use time_t instead of long for timeout

commit ad4b348c48e1e0b517e0188b7affb3c48c0a2ab6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 23 23:47:33 2016 +0100

bump: toward next release

commit 9aa259a139100c8d5b46b0ca9cc84bdf71e0e96b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 23 23:32:43 2016 +0100

http: remove "Curl_http_done: called premature" message

... it only confuses people.

commit 00c817068ed9e73974b3fedf6b9d7cb085db69f4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 23 15:29:01 2016 +0100

openssl-random: check return code when asking for random

and fail appropriately if it returns error

commit c7834ecd45194dbca9762ad8fc06072b77481a29
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 23 15:01:53 2016 +0100

gnutls-random: check return code for failed random

commit 44b9b4d4f56d6f6de92c89636994c03984e9cd01
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 22 08:53:13 2016 +0100

RELEASE-NOTES: curl 7.52.1

commit fab16de6e5349908e22b9b29810513939bac183a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 22 09:49:02 2016 +0100

lib557.c: use a shorter MAXIMIZE representation

Since several compilers had problems with the previous one

Reported-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2016-12/0098.html

commit 5c823f51dbbd15193350ae9efa94175abee92894
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 21 15:10:14 2016 +0100

runtests: remove the valgrind parser

Old legacy parsing that 1) hid problems for us and 2) probably isn't
needed anymore.

commit f81b2277a8e7e9ce8809ccd30c25b8aa72101215
Author: Kamil Dudka <kdudka@redhat.com>
Date: Wed Dec 21 15:09:31 2016 +0100

randit: store the value in the buffer

commit 7a01b33c313f15294024efe7652ec7ac4e848f5b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 21 23:40:41 2016 +0100

tests/Makefile: run checksrc on debug builds

... just like we already do in src/ and lib/

commit e7458c1bc3f557c529e17a536120c2196d05a5fe
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 21 23:37:05 2016 +0100

lib557: move the "enable LONGLINE" to allow more long lines

This file is riddled with them...

commit 462650e455e1ced8c0a44ffb31fac3560b9ddef8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 21 12:44:09 2016 +0100

bump: toward next release

commit 773cef4faeec7a9c76123aca861525dca7dfb6bf
Author: Marcel Raad <raad@teamviewer.com>
Date: Wed Dec 21 11:05:13 2016 +0100

lib: fix MSVC compiler warnings

Visual C++ complained:
warning C4267: '=': conversion from 'size_t' to 'long', possible loss of data
warning C4701: potentially uninitialized local variable 'path' used

commit 95c717bbd9c327c38b4efcc37d5cda29b8ee2a36
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 19 09:12:43 2016 +0100

THANKS: 13 new contributors from 7.52.0

commit 7fda9ce46e49d86d7efc8b526b2ad636c4bd6cf4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 19 09:12:35 2016 +0100

RELEASE-NOTES: 7.52.0

commit f44cf7914ffc218a9d4af48dbe28b22f3273b63e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 20 14:46:47 2016 +0100

ssh: inhibit coverity warning with (void)

CID 1397391 (#1 of 1): Unchecked return value (CHECKED_RETURN)

commit 21a7a96c9030c0ac69a5af3c5bbc70f4b251877a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 19 09:19:51 2016 +0100

Curl_recv_has_postponed_data: silence compiler warnings

Follow-up to d00f2a8f2

commit c2402b6e02c6de2e4be0f87fd094da8e24d81d87
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Dec 19 02:31:59 2016 -0500

tests: checksrc compliance

commit d00f2a8f2e8529024709f70c8ab4c4138dc651a0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Dec 8 16:32:36 2016 -0500

http_proxy: Fix proxy CONNECT hang on pending data

- Check for pending data before waiting on the socket.

Bug: https://github.com/curl/curl/issues/1156
Reported-by: Adam Langley

commit afb57f7b0bfe179b1d31acf652cc136349de32ec
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 19 08:19:44 2016 +0100

cmdline-opts/tlsv1.d: rephrased

commit 0354eed41085baa5ba8777019ebf5e9ef32c001d
Author: Dan McNulty <dmcnulty@pingidentity.com>
Date: Fri Sep 9 16:56:02 2016 -0500

schannel: fix wildcard cert name validation on Win CE

Fixes a few issues in manual wildcard cert name validation in
schannel support code for Win32 CE:
- when comparing the wildcard name to the hostname, the wildcard
character was removed from the cert name and the hostname
was checked to see if it ended with the modified cert name.
This allowed cert names like *.com to match the connection
hostname. This violates recommendations from RFC 6125.
- when the wildcard name in the certificate is longer than the
connection hostname, a buffer overread of the connection
hostname buffer would occur during the comparison of the
certificate name and the connection hostname.

commit 3ab3c16db6a5674f53cf23d56512a405fde0b2c9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 8 15:32:37 2016 +0100

printf: fix floating point buffer overflow issues

... and add a bunch of floating point printf tests

commit 60450d507f89a310c99a5039f720c18e7799b393
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 23:46:17 2016 +0100

config-amigaos.h: (embarrassed) made the line shorter

commit c56232999688ebbf2bdf45370bfa4d7b6c3c053e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 23:45:22 2016 +0100

config-amigaos.h: fix bug report email reference

commit 3dcbd06d05f53e8e60bd8a99f76fd3d4223c515b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 17:15:09 2016 +0100

RELEASE-NOTES: synced with 4517158abfeba

commit 4517158abfeba0551f3908fbeffdfc738638799f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 16:44:45 2016 +0100

CIPHERS.md: backtick the names to show underscores fine

commit 111f3c1fde1ee3cbd8b7ca37ebcc805df184bf9d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 16:29:59 2016 +0100

form-string.d: fix format mistake

and regenerated curl.1

Reported-by: Gisle Vanem

commit f9484d9fb1d02d0e9a1755a485c86ed0b8c4c2ee
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sun Dec 18 13:09:51 2016 +0100

openssl: simplify expression in Curl_ossl_version

commit afff64dbcde9cf45956f5557a8270b21c0e93dd5
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sun Dec 18 12:51:48 2016 +0100

curl_easy_recv: Improve documentation and example program

Follow-up to 82245ea: Fix the example program sendrecv.c (handle
CURLE_AGAIN, handle incomplete send). Improve the documentation
for curl_easy_recv() and curl_easy_send().

Reviewed-by: Frank Meier
Assisted-by: Jay Satiro

See https://github.com/curl/curl/pull/1134

commit 82245eaa56c368f6b6b9abf4de63e7d6fb786f71
Author: Isaac Boukris <iboukris@gmail.com>
Date: Wed Dec 7 00:39:08 2016 +0200

Curl_getconnectinfo: avoid checking if the connection is closed

It doesn't benefit us much as the connection could get closed at
any time, and also by checking we lose the ability to determine
if the socket was closed by reading zero bytes.

Reported-by: Michael Kaufmann

Closes https://github.com/curl/curl/pull/1134

commit 6bc1051608a03da2e7a457839e7d21a1b3cfb911
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 01:08:55 2016 +0100

CIPHERS.md: attempt to document TLS cipher names

As the official docs seems really hard to keep track of and link to over
time

commit 4c9567e3949cb0bb85927e3f0bcb64d45cbc2674
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 00:48:15 2016 +0100

curl.1: generated after 6cce4dbf830

commit 6cce4dbf83088cf42fef291bfdbbb711c0daf7aa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 18 00:42:36 2016 +0100

cmdline-opts/post30X.d: fix the RFC references

commit 5f9ce4b05cad70e5297ca1572622122beb704fe1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 23:57:34 2016 +0100

curl.1: regenerated

Fixed trailing whitespace and numerous formatting glitches

commit e79d31715a327b238323648d39c034f341a06167
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 23:56:50 2016 +0100

cmdline-opts: formatting fixes

commit 2bd2538eb03ec1056797720a81233cc7bd16d718
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 23:50:14 2016 +0100

curl_easy_setopt.3: removed CURLOPT_SOCKS_PROXYTYPE

commit de0cd5e55aec4f4734065b6f4b475ab54e95dc59
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 23:49:11 2016 +0100

tool_getparam.c: make comments use the up-to-date option names

commit 7618e60c271ca11a8422d48dc91bf397a7953e86
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 23:48:13 2016 +0100

manpage-scan.pl: allow deprecated options to get removed from curl.1

--krb4, --ftp-ssl and --ftp-ssl-reqd no longer need to be documented in the
man page

commit 58206f0ef21df5f20b4932f2fdce181abd579cfe
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 18:14:01 2016 +0100

cmdline-opts/gen.pl: trim off trailing spaces

commit c47b1eced74a6c8b5cd27b2779f7fd7dbbb9d31a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 18:13:47 2016 +0100

cmdline-opts/proxy-tlsuser.d: remove trailing .d

commit 6bec14f38e4601977b8908c626ba7bc148764580
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 18:09:28 2016 +0100

curl_easy_setopt.3: CURLOPT_PRE_PROXY instead of CURLOPT_SOCKS_PROXY

commit 20b12987cfabc329a1ac6a1abea6bb1bd9e98ecc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 18:00:49 2016 +0100

symbols: removed two, added one

commit a8ab99766fb60acc5f34465ed98e99c0e4be03d2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 17 00:23:04 2016 +0100

cmdline-opts: include the man page split up files in the dist

commit c7eab72de05aaedfb6689dfa0e3d0c578873c408
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 22:02:47 2016 +0100

curl.1: generated with gen.pl

This is the first time we replace the manually edited curt.1 with the
generated one created by gen.pl and the individual option documentation
pages.

Do not edit this file, edit the individual pages and regenerate this
output.

This file will be generated by the build system soon and then removed
from git.

commit 4b8b7a2d3647ebc8e774e75e4898b282dc2ca314
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 22:01:01 2016 +0100

cmdline-opts: added some missing info

commit c5888405685866037d1cb4705c93e6aeff05de26
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 16:59:08 2016 +0100

CURLINFO_SSL_VERIFYRESULT.3: language

commit b0fcb92f802157a9e6772222d4db161f812c32fc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 16:57:39 2016 +0100

HTTPS-PROXY docs: update/polish

commit 7ebd9bcfc6f42946ae04b87e513db1194ea8e7a6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 16:07:59 2016 +0100

cmdline-opts/page-header: mention it is generated

... to avoid people from trying to edit the pending curl.1 version that
gets generated by gen.pl

commit 845522cadb6ac9d357d68bb022a148a8c3be2e6a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 16:02:08 2016 +0100

preproxy: renamed what was added as SOCKS_PROXY

CURLOPT_SOCKS_PROXY -> CURLOPT_PRE_PROXY

Added the corresponding --preroxy command line option. Sets a SOCKS
proxy to connect to _before_ connecting to a HTTP(S) proxy.

commit 642398c6517bac82d80089ecba9c2057a0752d74
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 15:34:14 2016 +0100

curl: normal socks proxies still use CURLOPT_PROXY

... the newly introduced CURLOPT_SOCKS_PROXY is special and should be
asked for specially. (Needs new code.)

Unified proxy type to a single variable in the config struct.

commit 7907a2bec9c2d69e901dcc662c9e048ff0248b7d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 16 15:10:19 2016 +0100

CURLOPT_SOCKS_PROXYTYPE: removed

This was added as part of the SOCKS+HTTPS proxy merge but there's no
need to support this as we prefer to have the protocol specified as a
prefix instead.

commit 558b5f68a6da9d03cfd6466bf44af2dc9010098b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 15 17:26:23 2016 +0100

curl_multi_socket.3: fix typo

commit 1c3e8bbfedcd3822aeb1bab22fb56c5ecff4295b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 14 01:29:44 2016 +0100

checksrc: warn for assignments within if() expressions

... they're already frowned upon in our source code style guide, this
now enforces the rule harder.

commit b228d2952b6762b5c9b851fba0cf391e80c6761a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 13 23:34:59 2016 +0100

checksrc: stricter no-space-before-paren enforcement

In order to make the code style more uniform everywhere

commit 5fad800efdf1cb84f863f3634b85c898fb3d0d66
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 11 19:37:44 2016 +0100

ISSUE_TEMPLATE: try mentioning known bugs/todo in new issue template

commit 65c3d3fe94933d4333273be32688969c6b7fbf95
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 8 21:08:35 2016 +0100

RELEASE-NOTES: synced with 71a55534fa6

commit 71a55534fa61b80373271a13de4473d4660364e2
Author: Adam Langley <agl@google.com>
Date: Wed Dec 7 12:18:21 2016 -0800

openssl: don't use OpenSSL's ERR_PACK.

ERR_PACK is an internal detail of OpenSSL. Also, when using it, a
function name must be specified which is overly specific: the test will
break whenever OpenSSL internally change things so that a different
function creates the error.

Closes #1157

commit dacfecb7b676b6ace6d707d65fefdadd28301bd4
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Dec 5 21:38:15 2016 +0100

test2032: Mark test as flaky

commit 254c0b3052bb6dc5e30c62f95953c8d6b55a9b5c
Author: Jeremy Pearson <jeremy.pearson.dev@gmail.com>
Date: Sat Dec 3 21:07:54 2016 +1000

libcurl-multi.3: typo

Closes https://github.com/curl/curl/pull/1153

commit 7117a9a6c68d4db7e8d5bf461115f67207dee226
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Fri Dec 2 15:17:47 2016 +0100

test1281: added http as a required feature

commit cee0fb3247d83d8c07eba62f539c8c0609609c43
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Dec 2 11:25:35 2016 +0100

curl: support zero-length argument strings in config files

... like 'user-agent = ""'

Adjusted test 71 to verify.

commit 74595b223d36ce211d40c3e7acfc925a3b295097
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 30 00:31:23 2016 +0100

http_proxy: simplify CONNECT response reading

Since it now reads responses one byte a time, a loop could be removed
and it is no longer limited to get the whole response within 16K, it is
now instead only limited to 16K maximum header line lengths.

commit 3b77aa6b28cea8e0adb0a350ce80f553acd7bcb5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 30 00:10:18 2016 +0100

tests: fix CONNECT test cases to be more strict

... as they broke with the cleaned up CONNECT handling

commit 3ea3518429c00c422d0b706be13b131b6a443a17
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 30 00:09:13 2016 +0100

CONNECT: read responses one byte at a time

... so that it doesn't read data that is actually coming from the
remote. 2xx responses have no body from the proxy, that data is from the
peer.

Fixes #1132

commit c50b878c15e029111787f6019b46581ecbc30c62
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 29 16:22:35 2016 +0100

CONNECT: reject TE or CL in 2xx responses

A server MUST NOT send any Transfer-Encoding or Content-Length header
fields in a 2xx (Successful) response to CONNECT. (RFC 7231 section
4.3.6)

Also fixes the three test cases that did this.

commit aab33215afb71c52404419bfa0783620a0b5cb75
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 1 10:32:13 2016 +0100

URL parser: reject non-numerical port numbers

Test 1281 added to verify

commit 42253ad943d21310e75829c8e7998b9d57115c06
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Nov 30 22:38:45 2016 +0100

runtests: made Servers: output be more consistent by removing OFF

commit 18b02f1964295a81db3f6e9f0f5e7c3cb6683a9e
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Nov 30 21:57:55 2016 +0100

cyassl: fixed typo introduced in 4f8b1774

commit b34ea05d9d856c421be3a0f70ab84c6ad28e3f37
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Wed Nov 30 11:51:29 2016 +0100

CURLOPT_CONNECT_TO: Skip non-matching "connect-to" entries properly

If a port number in a "connect-to" entry does not match, skip this
entry instead of connecting to port 0.

If a port number in a "connect-to" entry matches, use this entry
and look no further.

Reported-by: Jay Satiro
Assisted-by: Jay Satiro, Daniel Stenberg

Closes #1148

commit 12d6794b103623e432beda441a6d3c56993d948b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Nov 17 23:46:36 2016 +0100

BUGS: describe bug handling process

commit 4e8e22c25b305d312e2e411bb76426ae9f76338c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 28 23:40:48 2016 +0100

RELEASE-NOTES: synced with 19613fb3

commit 19613fb355b480f395a5a68c32fa7c877ead6092
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Nov 28 14:08:35 2016 -0500

http2: check nghttp2_session_set_local_window_size exists

The function only exists since nghttp2 1.12.0.

Bug: https://github.com/curl/curl/commit/a4d8888#commitcomment-19985676
Reported-by: Michael Kaufmann

commit 421f740164cf53ef9dfb6bc96d0b6a8321b32fd5
Author: Anders Bakken <agbakken@gmail.com>
Date: Mon Nov 14 15:32:00 2016 -0800

http2: Fix crashes when parent stream gets aborted

Closes #1125

commit a387d881ecf1cfe8def1460fdf2faa3fdef66302
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 28 01:01:13 2016 +0100

cmdline-docs: more options converted and fixed

Now all options are in the new system.

commit ac85f332f13f2e105e69d5f4b97c1787a824f637
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 28 00:54:16 2016 +0100

gen: include footer in mainpage output

commit 30593d4534ff96fe18e9173e3784278e6147599e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Nov 28 03:06:04 2016 -0500

lib1536: checksrc compliance

commit 5c4a526388e5d45f332d241b03114eaff98c53ce
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 28 00:50:25 2016 +0100

cmdline-opts: more command line options documented

Moved over to the new format

commit 720ea577dc2f850c24adbba463e307eed017bc11
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 28 00:07:45 2016 +0100

curl: remove --proxy-ssl* options

There's mostly likely no need to allow setting SSLv2/3 version for HTTPS
proxy. Those protocols are insecure by design and deprecated.

commit c67f84209335f0db8c4ac30d620290f39abf32b0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Nov 27 00:21:15 2016 +0100

CURLOPT_PROXY_*.3: polished some proxy option man pages

commit d2c5503e0cdc1f75b47b15ba1de9848cdf4c168e
Author: Patrick Monnerat <patrick@monnerat.net>
Date: Sat Nov 26 18:52:30 2016 +0100

os400: support CURLOPT_PROXY_PINNEDPUBLICKEY

Also define it in ILE/RPG binding.

commit a4b2f7aafde33c2ab810adb6c3d119c9a0b824e7
Author: Okhin Vasilij <OkhinVI@gmail.com>
Date: Fri Nov 25 16:27:22 2016 +0700

curl_version_info: add CURL_VERSION_HTTPS_PROXY

Closes #1142

commit e38fe7abbf127c50b846a4456835dd2c1be631a5
Author: Frank Gevaerts <frank@gevaerts.be>
Date: Fri Nov 25 22:32:32 2016 +0100

tests: Add some testcases for recent new features.

Add missing tests for CURLINFO_SCHEME, CURLINFO_PROTOCOL, %{scheme},
and %{http_version}

closes #1143

commit 267b26b24aed410d3aa96e91ee11801970558c7b
Author: Frank Gevaerts <frank@gevaerts.be>
Date: Fri Nov 25 22:33:59 2016 +0100

curl_easy_reset: clear info for CULRINFO_PROTOCOL and CURLINFO_SCHEME

commit 3f7d9b9001e838a69af13a44a364033e46f4a31f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 16:40:32 2016 +0100

CURLOPT_PROXY_CAINFO.3: clarify proxy use

commit 2527dd4378fa0efc1c19080b5417f3d81c70c76c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 16:36:27 2016 +0100

CURLOPT_PROXY_CRLFILE.3: clarify https proxy and availability

commit 67edddeb92c00ec711fefb7221f940e99c2f4bda
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 14:17:22 2016 +0100

curl_easy_setopt.3: add CURLOPT_PROXY_PINNEDPUBLICKEY

Follow-up to 4f8b17743d7c55a

commit 9bfb00efc9250fc8714743d208208730922ca0c0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 11:14:58 2016 +0100

docs: include all opts man pages in dist

Sorted the lists too.

... and include the new ones in the PDF and HTML generation targets

commit 4f8b17743d7c55a0bfb48463238c88564875ae47
Author: Thomas Glanzmann <thomas@glanzmann.de>
Date: Fri Nov 25 10:47:25 2016 +0100

HTTPS Proxy: Implement CURLOPT_PROXY_PINNEDPUBLICKEY

commit 1232dbb8bd49b5502834ae9dd9f7ab1cb7a88b7b
Author: Thomas Glanzmann <thomas@glanzmann.de>
Date: Thu Nov 24 19:40:30 2016 +0100

url: proxy: Use 443 as default port for https proxies

commit 8ebc5cda8f4f53e26ce822cd831001cc2332945e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 09:52:22 2016 +0100

TODO: removed "HTTPS proxy"

commit 65894c98463bcda1fd5f62c572c77de1757686a8
Author: Jan-E <github@ehrhardt.nl>
Date: Fri Nov 25 06:06:14 2016 +0100

winbuild: add config option ENABLE_NGHTTP2

Closes #1141

commit a6618b52508049771c1eb988bebe2f2bcfd9ea33
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Nov 24 22:25:14 2016 -0500

tool_urlglob: Improve sanity check in glob_range

Prior to this change we depended on errno if strtol could not perform a
conversion. POSIX says EINVAL *may* be set. Some implementations like
Microsoft's will not set it if there's no conversion.

Ref: https://github.com/curl/curl/commit/ee4f7660#commitcomment-19658189

commit 4bda3e04b28698cf402d8b1223b6c036c0eb1184
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Nov 24 22:15:14 2016 -0500

tool_help: Change description for --retry-connrefused

Ref: https://github.com/curl/curl/pull/1064#issuecomment-260052409

commit 93c04cb14aef5055c9074e79f95cfae82eb73998
Author: Patrick Monnerat <patrick@monnerat.net>
Date: Fri Nov 25 03:25:21 2016 +0100

os400: sync ILE/RPG binding

commit c34fa31f3a014e5c4a69ca98c5097f3671cb1c63
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Nov 24 19:50:16 2016 -0500

test1135: Fix curl_easy_duphandle prototype for code style

Follow-up to dbadaeb which changed the style.

commit 2127457018d22034cb5ea977db654bd603078fc9
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Nov 24 19:43:20 2016 -0500

x509asn1: Restore the parameter check in Curl_getASN1Element

- Restore the removed parts of the parameter check.

Follow-up to 945f60e which altered the parameter check.

commit 7d967c80bc72a42bce6e995fdcda3a5b544d0621
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 00:47:52 2016 +0100

RELEASE-NOTES: update option counters

commit ba410f6c64af26292d1dc549829c25af5602fbf7
Author: Frank Gevaerts <frank@gevaerts.be>
Date: Wed Nov 23 10:44:18 2016 +0100

add CURLINFO_SCHEME, CURLINFO_PROTOCOL, and %{scheme}

Adds access to the effectively used protocol/scheme to both libcurl and
curl, both in string and numeric (CURLPROTO_*) form.

Note that the string form will be uppercase, as it is just the internal
string.

As these strings are declared internally as const, and all other strings
returned by curl_easy_getinfo() are de-facto const as well, string
handling in getinfo.c got const-ified.

Closes #1137

commit 54789f94448e1a624f02cb4e4e739afe4a687656
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 00:31:48 2016 +0100

RELEASE-NOTES: synced with 63198a4750aeb

commit 63198a4750aeb1f0ec5187946ff884e98e08c98d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 25 00:14:39 2016 +0100

curl.1: the new --proxy options ship in 7.52.0

commit 6832c1d4b2a9eb97a36bb6565c84a8eef451a39c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 23 08:49:04 2016 +0100

checksrc: move open braces to comply with function declaration style

commit 80e7cfeb87c18a7552933ff43a96bd1b709eec22
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 23 08:48:42 2016 +0100

checksrc: detect wrongly placed open braces in func declarations

commit 8657c268e1938c4bd9200b7f5ab69ba156310403
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 23 08:30:18 2016 +0100

checksrc: white space edits to comply to stricter checksrc

commit ec0a5c96ac2f31d09651f04c8b24a30d1f6fa118
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 23 08:29:42 2016 +0100

checksrc: verify ASTERISKNOSPACE

Detects (char*) and 'char*foo' uses.

commit dbadaebfc4e9d453232795f54d4fe5618cf8e84d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 23 07:53:24 2016 +0100

checksrc: code style: use 'char *name' style

commit bc7e08471c1884a5100b6e0513a006c263ec3c6b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 23 07:52:38 2016 +0100

checksrc: add ASTERISKSPACE

Verifies a 'char *name' style, with no space after the asterisk.

commit 74ffa040a44267c35be98d057c8ebd82b6b5be3c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 23 23:11:38 2016 +0100

openssl: remove dead code

Coverity CID 1394666

commit c6da05a5ec0c5250df077e42647c498f8ae38e8d
Author: Okhin Vasilij <OkhinVI@gmail.com>
Date: Mon Nov 21 17:01:25 2016 +0700

HTTPS-proxy: fixed mbedtls and polishing

commit 49765cd75cdd40ceecb125ac893051be90977018
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 18 11:40:01 2016 +0100

darwinssl: adopted to the HTTPS proxy changes

It builds and runs all test cases. No adaptations for actual HTTPS proxy
support has been made.

commit 8b4352658af289926ba9edfe1b456278ac971122
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 18 08:46:59 2016 +0100

gtls: fix indent to silence compiler warning

vtls/gtls.c: In function ‘Curl_gtls_data_pending’:
vtls/gtls.c:1429:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if(conn->proxy_ssl[connindex].session &&
^~
vtls/gtls.c:1433:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
return res;

commit 8cb872df10b267bb7bea6bfd5cca60b7d68c3e0e
Author: Thomas Glanzmann <thomas@glanzmann.de>
Date: Thu Nov 17 13:17:26 2016 +0100

mbedtls: Fix compile errors

commit cb4e2be7c6d42ca0780f8e0a747cecf9ba45f151
Author: Alex Rousskov <rousskov@measurement-factory.com>
Date: Wed Nov 16 10:49:15 2016 -0700

proxy: Support HTTPS proxy and SOCKS+HTTP(s)

* HTTPS proxies:

An HTTPS proxy receives all transactions over an SSL/TLS connection.
Once a secure connection with the proxy is established, the user agent
uses the proxy as usual, including sending CONNECT requests to instruct
the proxy to establish a [usually secure] TCP tunnel with an origin
server. HTTPS proxies protect nearly all aspects of user-proxy
communications as opposed to HTTP proxies that receive all requests
(including CONNECT requests) in vulnerable clear text.

With HTTPS proxies, it is possible to have two concurrent _nested_
SSL/TLS sessions: the "outer" one between the user agent and the proxy
and the "inner" one between the user agent and the origin server
(through the proxy). This change adds supports for such nested sessions
as well.

A secure connection with a proxy requires its own set of the usual SSL
options (their actual descriptions differ and need polishing, see TODO):

--proxy-cacert FILE CA certificate to verify peer against
--proxy-capath DIR CA directory to verify peer against
--proxy-cert CERT[:PASSWD] Client certificate file and password
--proxy-cert-type TYPE Certificate file type (DER/PEM/ENG)
--proxy-ciphers LIST SSL ciphers to use
--proxy-crlfile FILE Get a CRL list in PEM format from the file
--proxy-insecure Allow connections to proxies with bad certs
--proxy-key KEY Private key file name
--proxy-key-type TYPE Private key file type (DER/PEM/ENG)
--proxy-pass PASS Pass phrase for the private key
--proxy-ssl-allow-beast Allow security flaw to improve interop
--proxy-sslv2 Use SSLv2
--proxy-sslv3 Use SSLv3
--proxy-tlsv1 Use TLSv1
--proxy-tlsuser USER TLS username
--proxy-tlspassword STRING TLS password
--proxy-tlsauthtype STRING TLS authentication type (default SRP)

All --proxy-foo options are independent from their --foo counterparts,
except --proxy-crlfile which defaults to --crlfile and --proxy-capath
which defaults to --capath.

Curl now also supports %{proxy_ssl_verify_result} --write-out variable,
similar to the existing %{ssl_verify_result} variable.

Supported backends: OpenSSL, GnuTLS, and NSS.

* A SOCKS proxy + HTTP/HTTPS proxy combination:

If both --socks* and --proxy options are given, Curl first connects to
the SOCKS proxy and then connects (through SOCKS) to the HTTP or HTTPS
proxy.

TODO: Update documentation for the new APIs and --proxy-* options.
Look for "Added in 7.XXX" marks.

commit 8034d8fc624393326ea9874a4e2d60614ed6c78f
Author: Patrick Monnerat <patrick@monnerat.net>
Date: Thu Nov 24 16:14:21 2016 +0100

Declare endian read functions argument as a const pointer.
This is done for all functions of the form Curl_read[136][624]_[lb]e.

commit 945f60e8a7f08aedb0eede5e3574f1972fc86ec8
Author: Patrick Monnerat <patrick@monnerat.net>
Date: Thu Nov 24 14:28:39 2016 +0100

Limit ASN.1 structure sizes to 256K. Prevent some allocation size overflows.
See CRL-01-006.

commit 3e9c0230f45cafb9154bb4fcdc8ff2b51f00701a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Nov 22 16:10:06 2016 -0500

url: Fix conn reuse for local ports and interfaces

- Fix connection reuse for when the proposed new conn 'needle' has a
specified local port but does not have a specified device interface.

Bug: https://curl.haxx.se/mail/lib-2016-11/0137.html
Reported-by: bjt3[at]hotmail.com

commit f18f7bf934233146b18d087658224d734c6d0791
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 21 07:51:42 2016 +0100

rand: pass in number of randoms as an unsigned argument

commit 8626632f3e1a3f8edb48187f73b7633334bf09e5
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Nov 20 23:57:47 2016 -0500

rand: Fix potentially uninitialized result warning

commit c0ae2dbb869bf97d273ae0a4cb66caa020876d0f
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Nov 19 14:09:03 2016 +0100

vtls: fix build warnings

Fix warnings about conversions from long to time_t in openssl.c and
schannel.c.

Follow-up to de4de4e3c7c

commit 21aa32d30dbf319f2d336e0cb68d3a3235869fbb
Author: Marcel Raad <raad@teamviewer.com>
Date: Fri Nov 18 10:07:08 2016 +0100

lib: fix compiler warnings after de4de4e3c7c

Visual C++ now complains about implicitly casting time_t (64-bit) to
long (32-bit). Fix this by changing some variables from long to time_t,
or explicitly casting to long where the public interface would be
affected.

Closes #1131

commit 0b8d682f81ee9acb763dd4c9ad805fe08d1227c0
Author: Isaac Boukris <iboukris@gmail.com>
Date: Mon Nov 7 21:25:44 2016 +0200

Don't mix unix domain sockets with regular ones

When reusing a connection, make sure the unix domain
socket option matches.

commit 2ece147cc216b470023448ddcc7f5359465998b2
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Nov 17 01:04:00 2016 -0500

tests: Fix HTTP2-Settings header for huge window size

Follow-up to a4d8888. Changing the window size in that commit resulted
in a different HTTP2-Settings upgrade header, causing test 1800 to fail.

commit a4d888857ede39a8e2aa5f961048c6362d3a5377
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Nov 16 02:55:30 2016 -0500

http2: Use huge HTTP/2 windows

- Improve performance by using a huge HTTP/2 window size.

Bug: https://github.com/curl/curl/issues/1102
Reported-by: afrind@users.noreply.github.com
Assisted-by: Tatsuhiro Tsujikawa

commit 342aa4797edfabba78755e798d23a5b6d288d50b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 16 14:20:36 2016 +0100

cmdline-docs: more conversion

commit c3c1e9618513d245861c35ec0c563ab71ce892bb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 16 14:20:13 2016 +0100

gen: support 'protos'

and warn on unrecognized lines

commit 5781e3653ed73e7d50febed40ff01db70e7dd780
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 16 11:41:02 2016 +0100

gen: support 'single' to make an individual page man page

commit 41b1f649bf63e3663fcf3d4a678fef37688e32b7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 15 23:44:58 2016 +0100

cmdline-docs: more options converted over

commit 81e61cda396da7eefb15dcf20b9e8be7ada37283
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 16 10:42:02 2016 +0100

gen: support 'redirect'

... and warn for too long --help lines

commit 1ef1f10cab9dd6ca4b2e0e5fea9341a897a589bf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 15 23:44:36 2016 +0100

cmdline/gen: replace options in texts better

commit b65f79d9e84277594f0df98ae4b997053176983d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Nov 16 02:16:10 2016 -0500

http2: Fix address sanitizer memcpy warning

- In Curl_http2_switched don't call memcpy when src is NULL.

Curl_http2_switched can be called like:

Curl_http2_switched(conn, NULL, 0);

.. and prior to this change memcpy was then called like:

memcpy(dest, NULL, 0)

.. causing address sanitizer to warn:

http2.c:2057:3: runtime error: null pointer passed as argument 2, which
is declared to never be null

commit 03d707fc5fe137376a0ae4e5c6fe3d918367550f
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Nov 16 01:52:01 2016 -0500

tool_help: Clarify --dump-header only writes received headers

commit 7f439f1652416e5c0423b3df694f18ae15636722
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Nov 16 01:40:23 2016 -0500

curl.1: Clarify --dump-header only writes received headers

commit 771f3f22dd2514b07c5957f91cedce90766f67eb
Author: Alex Chan <alex@alexwlchan.net>
Date: Tue Nov 15 09:47:07 2016 +0000

docs: Spelling fixes

commit cfd69c133984a5df3de63b4f8c5f64885c6e33ae
Author: Kamil Dudka <kdudka@redhat.com>
Date: Tue Nov 15 12:21:00 2016 +0100

docs: the next release will be 7.52.0

commit b8c35f40f99cd1965d6e3152fc01071b73c3d2f1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 15 09:08:50 2016 +0100

cmdline-opts: support generating the --help output

commit 7c9b9add6ff5626fc8712d8f8b4e607dcbe8dbfe
Author: David Schweikert <david@schweikert.ch>
Date: Fri Nov 4 15:18:16 2016 +0100

darwinssl: fix SSL client certificate not found on MacOS Sierra

Reviewed-by: Nick Zitzmann

Closes #1105

commit 0744506cd283633ad38e42837e296f091f7f4670
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 15 08:32:23 2016 +0100

curl: add --fail-early to help output

Fixes test 1139 failures

Follow-up to f82bbe01c8835

commit 8c630ef059f7e8acd4eef97c85793c80b75f145d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 15 08:22:54 2016 +0100

glob: fix [a-c] globbing regression

Brought in ee4f76606cf

Added test case 1280 to verify

Reported-by: Dave Reisner

Bug: https://github.com/curl/curl/commit/ee4f76606cfa4ee068bf28edd37c8dae7e8db317#commitcomment-19823146

commit f82bbe01c8835b8788c69f05362bb789766473cd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Nov 12 14:19:29 2016 +0100

curl: add --fail-early

Exit with an error on the first transfer error instead of continuing to
do the rest of the URLs.

Discussion: https://curl.haxx.se/mail/archive-2016-11/0038.html

commit f682156a4fc6c43fb38db4abda49b9a1bc1ed368
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 14:53:36 2016 +0100

Curl_rand: fixed and moved to rand.c

Now Curl_rand() is made to fail if it cannot get the necessary random
level.

Changed the proto of Curl_rand() slightly to provide a number of ints at
once.

Moved out from vtls, since it isn't a TLS function and vtls provides
Curl_ssl_random() for this to use.

Discussion: https://curl.haxx.se/mail/lib-2016-11/0119.html

commit 050aa803096f6d745a173d5810c65dd829f2f8b2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Nov 13 23:40:12 2016 +0100

cmdline-opts: first test version of a new man page generator kit

See MANPAGE.md for the description of how this works. Each command line
option is now described in a separate .d file.

commit ebf985c159be0df31848177db0512f282de1de5d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Nov 13 23:09:45 2016 +0100

time_t fix: follow-up to de4de4e3c7c

Blah, I accidentally wrote size_t instead of time_t for two variables.

Reported-by: Dave Reisner

commit de4de4e3c7c4690393de384f81b6c094d9f5d553
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 10:19:22 2016 +0100

timeval: prefer time_t to hold seconds instead of long

... as long is still 32bit on modern 64bit windows machines, while
time_t is generally 64bit.

commit 56bb7b1a3c17657a376a32f39eb7d2d15876a519
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Nov 12 12:33:10 2016 +0100

tests: fixed variable might be clobbered warning

This stops the compiler from potentially making invalid assumptions
about the immutability of sdp and sap across the longjmp boundary.

commit ff662f1c3af6ca668f1bb15838cdbc856159d365
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Nov 12 00:09:25 2016 +0100

RELEASE-NOTES: synced with 346340808c

commit 346340808c89db33803ef7461dee191ff7c3d07f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 08:09:04 2016 +0100

URL-parser: for file://[host]/ URLs, the [host] must be localhost

Previously, the [host] part was just ignored which made libcurl accept
strange URLs misleading users. like "file://etc/passwd" which might've
looked like it refers to "/etc/passwd" but is just "/passwd" since the
"etc" is an ignored host name.

Reported-by: Mike Crowe
Assisted-by: Kamil Dudka

commit 8c15e0de6f70e48eafe9e5b986f032c17dd88e07
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 15:32:07 2016 +0100

test558: adapt to 0649433da

commit ddefc056b68e0eb8912080b6817d17f1a8ad406f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 14:16:17 2016 +0100

openssl: make sure to fail in the unlikely event that PRNG seeding fails

commit 942c952db6d81c4ea52ea40daf8470a0d3e3e420
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 13:54:16 2016 +0100

openssl: avoid unnecessary seeding if already done

1.1.0+ does more of this by itself so we can avoid extra processing this
way.

commit f9de7c405f2fcaca620155cb72f197ce2aba8462
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 13:37:01 2016 +0100

openssl: RAND_status always exists in OpenSSL >= 0.9.7

and remove RAND_screen from configure since nothing is using that
function

commit cbec00d914cd3e3ee4c7e139f470431db4ea0081
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 11 11:02:02 2016 +0100

Curl_pgrsUpdate: use dedicated function for time passed

commit 0649433da53c7165f839e24e889e131e2894dd32
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 7 10:55:25 2016 +0100

realloc: use Curl_saferealloc to avoid common mistakes

Discussed: https://curl.haxx.se/mail/lib-2016-11/0087.html

commit cdfda3ee827da069f1871722278fd82e7cbb4194
Author: Daniel Hwang <gnawhleinad@github.com>
Date: Sun Oct 9 16:00:25 2016 -0700

curl: Add --retry-connrefused

to consider ECONNREFUSED as a transient error.

Closes #1064

commit ea80a2dcfcdc280ff412489dc3928600ec76296c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Nov 10 11:16:25 2016 +0100

openssl: raise the max_version to 1.3 if asked for

Now I've managed to negotiate TLS 1.3 with https://enabled.tls13.com/ when
using boringssl.

commit f43b7b6cb6724792b9680dd6d744648b4a7e5b59
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Nov 7 21:51:27 2016 -0500

vtls: Fail on unrecognized param for CURLOPT_SSLVERSION

- Fix GnuTLS code for CURL_SSLVERSION_TLSv1_2 that broke when the
TLS 1.3 support was added in 6ad3add.

- Homogenize across code for all backends the error message when TLS 1.3
is not available to "<backend>: TLS 1.3 is not yet supported".

- Return an error when a user-specified ssl version is unrecognized.

---

Prior to this change our code for some of the backends used the
'default' label in the switch statement (ie ver unrecognized) for
ssl.version and treated it the same as CURL_SSLVERSION_DEFAULT.

Bug: https://curl.haxx.se/mail/lib-2016-11/0048.html
Reported-by: Kamil Dudka

commit 46f906a1b0e987ff8a044595550ba2a0e3d6368c
Author: Isaac Boukris <iboukris@gmail.com>
Date: Wed Nov 9 15:37:34 2016 +0200

SPNEGO: Fix memory leak when authentication fails

If SPNEGO fails, cleanup the negotiate handle right away.

Fixes #1115

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reported-by: ashman-p

commit 1299df6868e48ffbec747670017f74d18b1bcc9a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 9 09:56:13 2016 +0100

CODE_STYLE.md: link to INTERNALS.md correctly

commit 397abc8b4436c7f3d98d09ba40c4d2c2eb9a2f33
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 9 09:15:58 2016 +0100

bump: next version will be 7.52.0

commit de39e8973f16de531628da594e46bc6b7ba93f09
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 9 09:14:44 2016 +0100

RELEASE-NOTES: synced with dfcdaaba371e9a3

commit dfcdaaba371e9a33fdf1785a29fb09b7ed955b59
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 8 23:00:43 2016 +0100

examples/fileupload.c: fclose the file as well

commit 5dd1b65f79bc6dc75b752c53f3fa853b2a3b6d69
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 8 15:30:33 2016 +0100

printf: fix ".*f" handling

It would always use precision 1 instead of reading it from the argument
list as intended.

Reported-by: Ray Satiro

Bug: #1113

commit c2bc47ddb88057a5cc39c51cd1a11c6e040eefbc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 8 15:28:04 2016 +0100

curl_formadd.3: *_FILECONTENT and *_FILE need the file to be kept

Reported-by: Frank Gevaerts

commit 5e6c04f913c4ad44cf54df498899ccd81bd8f3f9
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Nov 7 15:27:36 2016 +0100

nss: silence warning 'SSL_NEXT_PROTO_EARLY_VALUE not handled in switch'

... with nss-3.26.0 and newer

Reported-by: Daniel Stenberg

commit 9e8b0a283f52e6160626a7ad9f366fe62cc40b06
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 7 14:38:59 2016 +0100

openssl: initial TLS 1.3 adaptions

BoringSSL supports TLSv1.3 already, but these changes don't seem to be anough
to get it working.

commit 50aded1cd4bb751cad52c39c4fa1f06ebc5e133e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 7 12:54:40 2016 +0100

ssh: check md5 fingerprints case insensitively (regression)

Revert the change from ce8d09483eea but use the new function

Reported-by: Kamil Dudka
Bug: https://github.com/curl/curl/commit/ce8d09483eea2fcb1b50e323e1a8ed1f3613b2e3#commitcomment-19666146

commit a110a03b43057879643046538c79cc9dd20d399a
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Oct 27 14:58:43 2016 +0200

curl: introduce the --tlsv1.3 option to force TLS 1.3

Fully implemented with the NSS backend only for now.

Reviewed-by: Ray Satiro

commit 6ad3add60654182a747f5971afb40817488ef0e8
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Oct 27 14:57:11 2016 +0200

vtls: support TLS 1.3 via CURL_SSLVERSION_TLSv1_3

Fully implemented with the NSS backend only for now.

Reviewed-by: Ray Satiro

commit 5d45ced7a45ea38e32f1cbf73d7c63a3e4f241e7
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Oct 27 14:27:25 2016 +0200

nss: map CURL_SSLVERSION_DEFAULT to NSS default

... but make sure we use at least TLSv1.0 according to libcurl API

Reported-by: Cure53
Reviewed-by: Ray Satiro

commit 27302abb9467f21a481fcc6b8eca53d34e04373b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 7 10:36:23 2016 +0100

s/cURL/curl

We're mostly saying just "curl" in lower case these days so here's a big
cleanup to adapt to this reality. A few instances are left as the
project could still formally be considered called cURL.

commit 0269f6446de2e16eab272f9a6e37eec861035ea7
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sun Oct 30 19:04:03 2016 +0900

http2: Don't send header fields prohibited by HTTP/2 spec

Previously, we just ignored "Connection" header field. But HTTP/2
specification actually prohibits few more header fields. This commit
ignores all of them so that we don't send these bad header fields.

Bug: https://curl.haxx.se/mail/archive-2016-10/0033.html
Reported-by: Ricki Hirner

Closes https://github.com/curl/curl/pull/1092

commit 677d8b3fec8960285040f3ed4e8d25aea56740e7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Nov 6 16:02:16 2016 +0100

curl.1: explain the SMTP data expected for -T

Fixes #1107

Reported-by: Adam Piggott

commit 6aa9cfa2b90a818e06c8c414733145ad94ca461f
Author: Peter Wu <peter@lekensteyn.nl>
Date: Mon Oct 31 00:45:17 2016 +0100

cmake: disable poll for macOS

Mirrors the autotools behavior introduced with curl-7_50_3-83-ga34c7ce.

Fixes #1089

commit 4564636781cbb1f8735bc636ff8ba1719ad10ace
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Nov 5 23:05:52 2016 -0400

easy: Initialize info variables on easy init and duphandle

- Call Curl_initinfo on init and duphandle.

Prior to this change the statistical and informational variables were
simply zeroed by calloc on easy init and duphandle. While zero is the
correct default value for almost all info variables, there is one where
it isn't (filetime initializes to -1).

Bug: https://github.com/curl/curl/issues/1103
Reported-by: Neal Poole

commit ebeffe81d8f5bb431c2e1c3968c48f28b7d06869
Author: Mauro Rappa <mauro.rappa@digital.cabinet-office.gov.uk>
Date: Fri Nov 4 14:45:49 2016 +0000

curl -w: added more decimal digits to timing counters

Now showing microsecond resolution.

Closes #1106

commit 8ed52bde060ee41dc25a73a4555900c986f025ba
Author: Jakub Zakrzewski <slither.jz@gmail.com>
Date: Fri Nov 4 20:21:48 2016 +0100

dist: add CMakeLists.txt to the tarball

commit 9ea3a6e150dfc822ba1565f649b634848597d2d9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 4 11:13:16 2016 +0100

mbedtls: fix build with mbedtls versions < 2.4.0

Regression added in 62a8095e714

Reported-by: Tony Kelman

Discussed in #1087

commit 6724242cf15bfb9987ff5dfe00fe95667f42f0f9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Nov 3 23:37:59 2016 +0100

configure: verify that compiler groks -Werror=partial-availability

Reported-by: bemoody

Fixes #1104

commit c8e6e60b4064efffe5aa510e5c436261f7145a83
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Nov 3 12:44:38 2016 +0100

docs: shorten and simplify the top comment in multi-uv.c

and change URL to use https

commit 82b6fd41125bc69a20f5cd7e139509458ebb6294
Author: Andrei Sedoi <bsnote@gmail.com>
Date: Wed Nov 2 10:46:54 2016 +0000

docs: handle CURL_POLL_INOUT in multi-uv example

commit e6882ce4846622dab5bef8b0e566062057068bc6
Author: Andrei Sedoi <bsnote@gmail.com>
Date: Wed Nov 2 09:00:20 2016 +0000

docs: multi-uv: don't use CURLMsg after cleanup

commit b1aeed302d52e2663722ef8694cd4d0f06e38bdf
Author: Andrei Sedoi <bsnote@gmail.com>
Date: Wed Nov 2 08:48:32 2016 +0000

docs: remove unused variables in multi-uv example

commit 71cfce9ce7ae91dc4f8b99042ad122bf07db0a79
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Nov 3 10:08:26 2016 +0100

bump: start working on 7.51.1

commit d7e5f182796c818e6fd412fdd4d2270d838612b5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 2 14:45:24 2016 +0100

winbuild: remove strcase.obj from curl build

Reported-by: Bruce Stephens

Fixes #1098

commit 788b319dfe515ede57dafc676b4f7524f76a0cbe
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Nov 2 09:11:50 2016 +0100

msvc: removed a straggling reference to strequal.c

Follow-up to 502acba2

commit 3c561c657c2f0e553b19115a506592a8bbd744bc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 1 08:45:14 2016 +0100

THANKS: synced with 7.51.0

commit 1fe755f99df2a2791c0fd5030cb8b095481b70a8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 1 08:43:14 2016 +0100

RELEASE-NOTES: 7.51.0

commit f81a8364618caf99b4691ffd494a9b2d4c9fb1f6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 2 07:22:27 2016 +0100

ftp_done: don't clobber the passed in error code

Coverity CID 1374359 pointed out the unused result value.

commit 3c6c2bcd5af8a111738f9190093dbf8a440d167b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 2 07:18:24 2016 +0100

ftp: remove dead code in ftp_done

Coverity CID 1374358

commit 0e727979a565f644cf48783da5a7f41de2562052
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Nov 1 21:31:10 2016 -0400

generate.bat: Include include/curl in libcurl VS projects

.. because including those headers helps Visual Studio's Intellisense.

commit ee96ffa2a41bee5c3aa08e4436b89b5ec06fbd87
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Nov 1 21:29:44 2016 -0400

generate.bat: Remove strcase.[ch] from curl tool VS projects

..because they're no longer needed in the tool build. strcase is still
built by the libcurl project and exports curl_str(n)equal which is used
by the curl tool.

Bug: https://github.com/curl/curl/commit/9363f1a#all_commit_comments

commit 6b52b7eb2beedf82482209db2192e3620ea32bca
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 2 00:08:36 2016 +0100

metalink: simplify the hex parsing function

... and now it avoids using the libcurl toupper() function

commit f9e51fb55d4b43e9b77324190ade1d99aad7d3ba
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue Nov 1 20:39:13 2016 +0100

file: fix compiler warning

follow-up to 46133aa5

commit e44bfc7664ea7d74f09f91bef459a0a596e5e4e9
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Tue Nov 1 11:44:11 2016 +0100

strcase: fixed Metalink builds by redefining checkprefix()

...to use the public function curl_strnequal(). This isn't ideal because
it adds extra overhead to any internal calls to checkprefix.

follow-up to 95bd2b3e

commit e5c49b9e6976da8e055c8f59d28feb46f00a880d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 1 10:27:40 2016 +0100

curl.1: typo

commit b744950f431d911e82097c2e989b41c3e0c56e8b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 1 10:24:49 2016 +0100

curl.1: expand on how multiple uses of -o looks

Suggested-by: Dan Jacobson
Issue: https://github.com/curl/curl/issues/1097

commit 07b95ea2680990055d12c935994044dfa24d8e9b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 23:49:54 2016 +0100

tests/util: get a private strncasecompare clone

... since the curlx_* code no longer provides one and we don't link
libcurl to these test servers.

commit 95bd2b3e7f00b9ecbd4d5ea7d8bc3b59fcb038c0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 21:49:38 2016 +0100

strcase: make the tool use curl_str[n]equal instead

As they are after all part of the public API. Saves space and reduces
complexity. Remove the strcase defines from the curlx_ family.

Suggested-by: Dan Fandrich
Idea: https://curl.haxx.se/mail/lib-2016-10/0136.html

commit 1071680946686f0a76a1b6fcbadd8ec81253282d
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Oct 31 17:33:46 2016 +0100

gskit, nss: do not include strequal.h

follow-up to 811a693b80

commit 47a21ca9ba80d055e3d4974ccf4dd5c85990d4b0
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Oct 31 15:17:35 2016 +0100

strcasecompare: include curl.h in strcase.c

This should fix the "warning: 'curl_strequal' redeclared without
dllimport attribute: previous dllimport ignored" message and subsequent
link error on Windows because of the missing CURL_EXTERN on the
prototype.

commit 64c2d24c423c1bd079fbab0a6089b6c85ca2bb64
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 15:19:26 2016 +0100

strcase: fix the remaining rawstr users

commit 309d6e80d0fe4d4c19c19332b416e6e2d212669a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 13:35:09 2016 +0100

msvc builds: s/rawstr/strcase

Follow-up to 811a693b

commit 9363f1a37f803ac92cbe88e407035c58e441b986
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Oct 31 12:51:45 2016 +0100

strcasecompare: replaced remaining rawstr.h with strcase.h

This is a followup to commit 811a693b

commit 4f97d9832cdfc67cf84df39a245d9d2b205ab0ab
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Oct 31 12:48:48 2016 +0100

digest_sspi: fix include

Fix compile break from 811a693b80

commit 52a2c2fb51ef687332020782b76cd1826d7ddd05
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Oct 31 12:42:47 2016 +0100

libauthretry: use the external function curl_strequal

The internal version strcasecompare isn't available outside libcurl

commit 9934f4fe9f5695e084aaa63d9a997f7e89a8ef12
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 10:50:32 2016 +0100

RELEASE-NOTES: synced with d14538d2501ef0da

commit d14538d2501ef0da2e15cf98b79889f3eb5f4d5c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 10:19:22 2016 +0100

configure: raise the default minimum version for macos to 10.8

follow-up to 4f8d0b6f02aa7043. Since the darwinssl code breaks
otherwise. If you build without darwinssl 10.5 works fine.

commit 06bc2100d2c6c4b26a10e0751fcabac8e64b1990
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 09:53:34 2016 +0100

unit1301: keep testing curl_strequal

as that is still part of the API, fix from 8fe4bd084412f30

commit cce5250f6a8a517680c0e9bb7535de3cd6f8bda8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 09:50:41 2016 +0100

ldap: fix include

Fix bug from 811a693b80

commit c27013c05d99d92370b57e1a7af1b854eef4e7c1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 09:49:50 2016 +0100

url: remove unconditional idn2.h include

Mistake brought by 9c91ec778104a

commit 8fe4bd084412f3085638907268c5ffd8bf93c339
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 09:45:17 2016 +0100

curl_strequal: part of public API/ABI, needs to be kept

These two public functions have been mentioned as deprecated since a
very long time but since they are still part of the API and ABI we need
to keep them around.

commit 44c53cc38bea66b7612a82fa4c9b68884b9167fa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 09:37:30 2016 +0100

strcase: s/strequal/strcasecompare

some more follow-ups to 811a693b80

commit 532491a27cf97678934741809043040431674b86
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 09:30:36 2016 +0100

ldap: fix strcase use

follow-up to 811a693b80

commit ad16f89791917a977df42dacf5a94863fc919212
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 31 08:35:08 2016 +0100

test165: adapted to the libidn2 use and IDNA2008 fix

commit cff89bc088b7884098ea0c5378bbda3d49c437bc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 27 17:36:19 2016 +0200

cookie: replace use of fgets() with custom version

... that will ignore lines that are too long to fit in the buffer.

CVE-2016-8615

Bug: https://curl.haxx.se/docs/adv_20161102A.html
Reported-by: Cure53

commit 811a693b803a8715e15ba56fb161d9e6b3b6b016
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 30 18:54:02 2016 +0200

strcasecompare: all case insensitive string compares ignore locale now

We had some confusions on when each function was used. We should not act
differently on different locales anyway.

commit 502acba2af821391b85a2cd4ac7b91ad8e9d4180
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 30 17:15:05 2016 +0200

strcasecompare: is the new name for strequal()

... to make it less likely that we forget that the function actually
does case insentive compares. Also replaced several invokes of the
function with a plain strcmp when case sensitivity is not an issue (like
comparing with "-").

commit 1833a45dde4d27febfce42813699533b1ae993d1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 30 16:46:47 2016 +0200

ftp: check for previous patch must be case sensitive!

... otherwise example.com/PATH and example.com/path would be assumed to
be the same and they usually aren't!

commit ce8d09483eea2fcb1b50e323e1a8ed1f3613b2e3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 28 10:20:35 2016 +0200

SSH: check md5 fingerprint case sensitively

commit b3ee26c5df75d97f6895e6ec4538894ebaf76e48
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 27 18:01:53 2016 +0200

connectionexists: use case sensitive user/password comparisons

CVE-2016-8616

Bug: https://curl.haxx.se/docs/adv_20161102B.html
Reported-by: Cure53

commit efd24d57426bd77c9b5860e6b297904703750412
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 28 00:05:12 2016 +0200

base64: check for integer overflow on large input

CVE-2016-8617

Bug: https://curl.haxx.se/docs/adv_20161102C.html
Reported-by: Cure53

commit 3d6460edeee21d7d790ec570d0887bed1f4366dd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 28 12:56:02 2016 +0200

krb5: avoid realloc(0)

If the requested size is zero, bail out with error instead of doing a
realloc() that would cause a double-free: realloc(0) acts as a free()
and then there's a second free in the cleanup path.

CVE-2016-8619

Bug: https://curl.haxx.se/docs/adv_20161102E.html
Reported-by: Cure53

commit 8732ec40db652c53fa58cd13e2acb8eab6e40874
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 28 10:15:34 2016 +0200

aprintf: detect wrap-around when growing allocation

On 32bit systems we could otherwise wrap around after 2GB and allocate 0
bytes and crash.

CVE-2016-8618

Bug: https://curl.haxx.se/docs/adv_20161102D.html
Reported-by: Cure53

commit ee4f76606cfa4ee068bf28edd37c8dae7e8db317
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 17:25:09 2016 +0200

range: reject char globs with missing end like '[L-]'

... which previously would lead to out of boundary reads.

Reported-by: Luật Nguyễn

commit 269a88910436d730ac212f4dc01cbe6961338061
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 3 18:23:22 2016 +0200

glob_next_url: make sure to stay within the given output buffer

commit fbb5f1aa0326d485d5a7ac643b48481897ca667f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 3 17:27:16 2016 +0200

range: prevent negative end number in a glob range

CVE-2016-8620

Bug: https://curl.haxx.se/docs/adv_20161102F.html
Reported-by: Luật Nguyễn

commit 96a80b5a262fb6dd2ddcea7987296f3b9a405618
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 16:59:38 2016 +0200

parsedate: handle cut off numbers better

... and don't read outside of the given buffer!

CVE-2016-8621

bug: https://curl.haxx.se/docs/adv_20161102G.html
Reported-by: Luật Nguyễn

commit 46133aa536f7f5bf552b83369e3851b6f811299e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 8 11:21:38 2016 +0200

escape: avoid using curl_easy_unescape() internally

Since the internal Curl_urldecode() function has a better API.

commit 53e71e47d6b81650d26ec33a58d0dca24c7ffb2c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 18:56:45 2016 +0200

unescape: avoid integer overflow

CVE-2016-8622

Bug: https://curl.haxx.se/docs/adv_20161102H.html
Reported-by: Cure53

commit c5be3d7267c725dbd093ff3a883e07ee8cf2a1d5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 23:26:13 2016 +0200

cookies: getlist() now holds deep copies of all cookies

Previously it only held references to them, which was reckless as the
thread lock was released so the cookies could get modified by other
handles that share the same cookie jar over the share interface.

CVE-2016-8623

Bug: https://curl.haxx.se/docs/adv_20161102I.html
Reported-by: Cure53

commit fba28277ca17cb102209772e8bb214854a05cc6a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 24 14:26:38 2016 +0200

TODO: remove IDNA2008

commit 9c91ec778104ae3b744b39444d544e82d5ee9ece
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 12 09:01:06 2016 +0200

idn: switch to libidn2 use and IDNA2008 support

CVE-2016-8625

Bug: https://curl.haxx.se/docs/adv_20161102K.html
Reported-by: Christian Heimes

commit 42b650b9ea5f26b2f5347af3072eaf690658ed62
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 11 00:54:51 2016 +0200

test1246: verify URL parsing with host name ending with '#'

commit 3bb273db7e40ebc284cff45f3ce3f0475c8339c2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 11 00:48:35 2016 +0200

urlparse: accept '#' as end of host name

'http://example.com#@127.0.0.1/x.txt' equals a request to example.com
for the '/' document with the rest of the URL being a fragment.

CVE-2016-8624

Bug: https://curl.haxx.se/docs/adv_20161102J.html
Reported-by: Fernando Muñoz

commit 164ee10b0b734b350f05114b78327d6985b880cc
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Oct 31 00:38:27 2016 -0400

INTERNALS: better markdown (follow-up)

- Wrap more words with underscores in backticks.

Follow-up to 13f4913.

commit 13f491330392414ec22a02b0e20ad979e4b2f8f4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 30 23:45:25 2016 +0100

INTERNALS: better markdown

words with underscore need to be within `these`

Bug: https://github.com/curl/curl-www/issues/19
Reported-by : Jay Satiro

commit 2e750ce452c37ec4cd494538d2f3c94acde3e718
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Oct 30 01:01:29 2016 -0400

mk-ca-bundle.vbs: Fix UTF-8 output

- Change initial message box to mention delay when downloading/parsing.

Since there is no progress meter it was somewhat unexpected that after
choosing a filename nothing appears to happen, when actually the cert
data is in the process of being downloaded and parsed.

- Warn if OpenSSL is not present.

- Use a UTF-8 stream to make the ca-bundle data.

- Save the UTF-8 ca-bundle stream as binary so that no BOM is added.

---

This is a follow-up to d2c6d15 which switched mk-ca-bundle.vbs output to
ANSI due to corrupt UTF-8 output, now fixed.

This change completes making the default certificate bundle output of
mk-ca-bundle.vbs as close as possible to that of mk-ca-bundle.pl, which
should make it easier to review any difference between their output.

Ref: https://github.com/curl/curl/pull/1012

commit d0623f856c54f176bddc3cc51077fa0053e569ed
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 28 09:46:49 2016 +0200

BINDINGS: converted to markdown

To make it render better on the web site, at the price of it becoming
slightly less readable as text.

commit 568037f6af69c52fb1796a147eb18d6eb5638f0d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Oct 27 23:15:12 2016 -0400

CURLMOPT_MAX_PIPELINE_LENGTH.3: Clarify it's not for HTTP/2

- Clarify that this option is only for HTTP/1.1 pipelining.

Bug: https://github.com/curl/curl/issues/1059
Reported-by: Jeroen Ooms

Assisted-by: Daniel Stenberg

commit 4eb7657a1344a372e2c1fdc321523db0239ae115
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 27 23:47:59 2016 +0200

KNOWN_BUGS: HTTP/2 server push enabled when no pushes can be accepted

Closes #927

commit c443a8ce21ee68bb3519bfe923d5585523c8b5d9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 27 23:45:58 2016 +0200

KNOWN_BUGS: c-ares deviates from stock resolver on http://1346569778

Closes #893

commit 905f493bd0c72e4320b5b4bd8ab72ae179f5954f
Author: Michael Osipov <1983-01-06@gmx.net>
Date: Thu Oct 27 13:39:37 2016 +0200

configure.in: Fix test syntax

Some versions of test allow == for equality, but others (such as the HP-UX
version) do not. Use a single = for correctness.

Error output:
checking for monotonic clock_gettime... ./configure[20445]: ==: A test command parameter is not valid.

commit a65db0bbcbcafb6bb7fa58c606cd92199b3d5aa7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 27 10:21:52 2016 +0200

SECURITY: minor updates

- we allow the security push up to 48 hours before the release

- add a mention about possible pre-notifications

- lower case the 'curl-security' title

commit 50ef91b59ae4b0bad0956f6e0424878f5de366e3
Author: Andrei Sedoi <bsnote@gmail.com>
Date: Thu Oct 27 06:43:04 2016 +0000

docs: fix req->data in multi-uv example

Closes #1088

commit 62a8095e714734459cea12301c3f52fa48b63c5c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 26 23:38:04 2016 +0200

mbedtls: stop using deprecated include file

Reported-by: wyattoday
Fixes #1087

commit eb84412b33aa9cbe109d3e2874f9dbba48043263
Author: Martin Frodl <mfrodl@redhat.com>
Date: Mon Oct 24 17:44:45 2016 +0200

nss: fix tight loop in non-blocking TLS handhsake over proxy

... in case the handshake completes before entering
CURLM_STATE_PROTOCONNECT

Bug: https://bugzilla.redhat.com/1388162

commit d2c6d1568e85b97cf3a74437709c52885da6aab8
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Oct 25 03:17:26 2016 -0400

mk-ca-bundle: Update the vbscript version

Bring the VBScript version more in line with the perl version:

- Change timestamp to UTC.

- Change URL retrieval to HTTPS-only by default.

- Comment out the options that disabled SSL cert checking by default.

- Assume OpenSSL is present, get SHA256. And add a flag to toggle it.

- Fix cert issuer name output.

The cert issuer output is now ansi, converted from UTF-8. Prior to this
it was corrupt UTF-8. It turns out though we can work with UTF-8 the
FSO object that writes ca-bundle can't write UTF-8, so there will have
to be some alternative if UTF-8 is needed (like an ADODB.Stream).

- Disable the certificate text info feature.

The certificate text info doesn't work properly with any recent OpenSSL.

commit 4d7fc0a9bbea88e06e702ff211ba06f20ee3b3c8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 24 14:03:08 2016 +0200

TODO: indent code to make it render properly

commit cc8c8f957e35fc8bda22a80862a0e90a5979bffb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 24 13:38:29 2016 +0200

TODO: Remove the generated include file

commit 21b9e54058bd0dd5108803facd4ee678a4846ae5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 24 11:56:26 2016 +0200

TODO: add "--retry should resume"

See #1084

commit f435308cfa897277acc398f2dc64282c3638622d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 24 10:24:27 2016 +0200

mk-ca-bundle.1: document -k

Brought in 1ad2bdcf110266c. Now does HTTPS by default and needs -k to
fall back to plain HTTP.

commit 1ad2bdcf110266c33eea70b895cb8c150eeac790
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Sep 15 02:26:56 2016 -0400

mk-ca-bundle: Change URL retrieval to HTTPS-only by default

- Change all predefined Mozilla URLs to HTTPS (Gregory Szorc).

- New option -k to allow URLs other than HTTPS and enable HTTP fallback.

Prior to this change the default URL retrieval mode was to fall back to
HTTP if HTTPS didn't work.

Reported-by: Gregory Szorc

Closes #1012

commit c30a2d97ed8aba511dde1fc503eff66d85aba9f5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 24 08:03:07 2016 +0200

RELEASE-NOTES: synced with 50ee3aaf1a9b22d

commit 50ee3aaf1a9b22deb82287594219f12c309e5fa9
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Oct 23 22:42:19 2016 +0200

INSTALL.md: Updated minimum file sizes for 7.50.3

commit 6290c3c26bada49229d16ab465c8f964b5e9a868
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 21 11:03:10 2016 +0200

multi: force connections to get closed in close_all_connections

Several independent reports on infinite loops hanging in the
close_all_connections() function when closing a multi handle, can be
fixed by first marking the connection to get closed before calling
Curl_disconnect.

This is more fixing-the-symptom rather than the underlying problem
though.

Bug: https://curl.haxx.se/mail/lib-2016-10/0011.html
Bug: https://curl.haxx.se/mail/lib-2016-10/0059.html

Reported-by: Dan Fandrich, Valentin David, Miloš Ljumović

commit 406506ca928eb7a787489e9670bc2da3506b2499
Author: Anders Bakken <agbakken@gmail.com>
Date: Thu Oct 20 09:37:05 2016 -0700

curl_multi_remove_handle: fix a double-free

In short the easy handle needs to be disconnected from its connection at
this point since the connection still is serving other easy handles.

In our app we can reliably reproduce a crash in our http2 stress test
that is fixed by this change. I can't easily reproduce the same test in
a small example.

This is the gdb/asan output:

==11785==ERROR: AddressSanitizer: heap-use-after-free on address 0xe9f4fb80 at pc 0x09f41f19 bp 0xf27be688 sp 0xf27be67c
READ of size 4 at 0xe9f4fb80 thread T13 (RESOURCE_HTTP)
#0 0x9f41f18 in curl_multi_remove_handle /path/to/source/3rdparty/curl/lib/multi.c:666

0xe9f4fb80 is located 0 bytes inside of 1128-byte region [0xe9f4fb80,0xe9f4ffe8)
freed by thread T13 (RESOURCE_HTTP) here:
#0 0xf7b1b5c2 in __interceptor_free /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_malloc_linux.cc:45
#1 0x9f7862d in conn_free /path/to/source/3rdparty/curl/lib/url.c:2808
#2 0x9f78c6a in Curl_disconnect /path/to/source/3rdparty/curl/lib/url.c:2876
#3 0x9f41b09 in multi_done /path/to/source/3rdparty/curl/lib/multi.c:615
#4 0x9f48017 in multi_runsingle /path/to/source/3rdparty/curl/lib/multi.c:1896
#5 0x9f490f1 in curl_multi_perform /path/to/source/3rdparty/curl/lib/multi.c:2123
#6 0x9c4443c in perform /path/to/source/src/net/resourcemanager/ResourceManagerCurlThread.cpp:854
#7 0x9c445e0 in ...
#8 0x9c4cf1d in ...
#9 0xa2be6b5 in ...
#10 0xf7aa5780 in asan_thread_start /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_interceptors.cc:226
#11 0xf4d3a16d in __clone (/lib/i386-linux-gnu/libc.so.6+0xe716d)

previously allocated by thread T13 (RESOURCE_HTTP) here:
#0 0xf7b1ba27 in __interceptor_calloc /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_malloc_linux.cc:70
#1 0x9f7dfa6 in allocate_conn /path/to/source/3rdparty/curl/lib/url.c:3904
#2 0x9f88ca0 in create_conn /path/to/source/3rdparty/curl/lib/url.c:5797
#3 0x9f8c928 in Curl_connect /path/to/source/3rdparty/curl/lib/url.c:6438
#4 0x9f45a8c in multi_runsingle /path/to/source/3rdparty/curl/lib/multi.c:1411
#5 0x9f490f1 in curl_multi_perform /path/to/source/3rdparty/curl/lib/multi.c:2123
#6 0x9c4443c in perform /path/to/source/src/net/resourcemanager/ResourceManagerCurlThread.cpp:854
#7 0x9c445e0 in ...
#8 0x9c4cf1d in ...
#9 0xa2be6b5 in ...
#10 0xf7aa5780 in asan_thread_start /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_interceptors.cc:226
#11 0xf4d3a16d in __clone (/lib/i386-linux-gnu/libc.so.6+0xe716d)

SUMMARY: AddressSanitizer: heap-use-after-free /path/to/source/3rdparty/curl/lib/multi.c:666 in curl_multi_remove_handle
Shadow bytes around the buggy address:
0x3d3e9f20: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9f30: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9f40: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9f50: fd fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa
0x3d3e9f60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x3d3e9f70:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9f80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9f90: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9fa0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9fb0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x3d3e9fc0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==11785==ABORTING

Thread 14 "RESOURCE_HTTP" received signal SIGABRT, Aborted.
[Switching to Thread 0xf27bfb40 (LWP 12324)]
0xf7fd8be9 in __kernel_vsyscall ()
(gdb) bt
#0 0xf7fd8be9 in __kernel_vsyscall ()
#1 0xf4c7ee89 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#2 0xf4c803e7 in __GI_abort () at abort.c:89
#3 0xf7b2ef2e in __sanitizer::Abort () at /opt/toolchain/src/gcc-6.2.0/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc:122
#4 0xf7b262fa in __sanitizer::Die () at /opt/toolchain/src/gcc-6.2.0/libsanitizer/sanitizer_common/sanitizer_common.cc:145
#5 0xf7b21ab3 in __asan::ScopedInErrorReport::~ScopedInErrorReport (this=0xf27be171, __in_chrg=<optimized out>) at /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_report.cc:689
#6 0xf7b214a5 in __asan::ReportGenericError (pc=166993689, bp=4068206216, sp=4068206204, addr=3925146496, is_write=false, access_size=4, exp=0, fatal=true) at /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_report.cc:1074
#7 0xf7b21fce in __asan::__asan_report_load4 (addr=3925146496) at /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_rtl.cc:129
#8 0x09f41f19 in curl_multi_remove_handle (multi=0xf3406080, data=0xde582400) at /path/to/source3rdparty/curl/lib/multi.c:666
#9 0x09f6b277 in Curl_close (data=0xde582400) at /path/to/source3rdparty/curl/lib/url.c:415
#10 0x09f3354e in curl_easy_cleanup (data=0xde582400) at /path/to/source3rdparty/curl/lib/easy.c:860
#11 0x09c6de3f in ...
#12 0x09c378c5 in ...
#13 0x09c48133 in ...
#14 0x09c4d092 in ...
#15 0x0a2be6b6 in ...
#16 0xf7aa5781 in asan_thread_start (arg=0xf2d22938) at /opt/toolchain/src/gcc-6.2.0/libsanitizer/asan/asan_interceptors.cc:226
#17 0xf5de52b5 in start_thread (arg=0xf27bfb40) at pthread_create.c:333
#18 0xf4d3a16e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Fixes #1083

commit fc458679cad498d8c80a3b927964a11e4506ee7f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 22 15:15:34 2016 +0200

testcurl.1: fix the URL to the autobuild summary

commit a84e0713e8ffb258147ab2a0e4d0162b000048da
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 22 14:57:20 2016 +0200

testcurl.1: update URLs

commit 8571d1c0b4ac9688961436603587cff4c09e4116
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 21 15:55:24 2016 +0200

INSTALL: converted to markdown => INSTALL.md

Also heavily edited for content. Removed lots of old cruft that we added
like 10+ years ago that is likely incorrect by now.

Also removed INSTALL.devcpp for same reason.

commit c9cb17fbd6bc224a739ba794e3569830d87a5f6a
Author: Martin Storsjo <martin@martin.st>
Date: Thu Oct 20 13:16:10 2016 +0300

configure: Check for other variants of the -m*os*-version-min flags

In addition to -miphoneos-version-min, the same version can be set
using -mios-version-min. And for WatchOS and TvOS, there's
-mwatchos-version-min and -mtvos-version-min.

commit 4f8d0b6f02aa7043656bd354e7d55d2bbed0b5e3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 19 14:36:32 2016 +0200

configure: set min version flags for builds on mac

This helps building binaries that can work on multiple macOS versions.

Help-by: Martin Storsjö

Fixes #1069

commit 5c3d8d20a6cf21daef2c265daa840afde9d7de3f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 17:32:01 2016 +0200

curl_multi_add_handle: set timeouts in closure handles

The closure handle only ever has default timeouts set. To improve the
state somewhat we clone the timeouts from each added handle so that the
closure handle always has the same timeouts as the most recently added
easy handle.

Fixes #739

commit a34c7ce7546f39f24692925d66c2f42324dd94e9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 22:42:53 2016 +0200

configure/CURL_CHECK_FUNC_POLL: disable poll completely on mac

... so that the same libcurl build easier can run on any version.

Follow-up to issue #1057

commit 97dfe38641f6b36f4bc83ec001f13f7040513c46
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 17:17:54 2016 +0200

RELEASE-NOTES: synced with f36f8c14551efc6772

commit f36f8c14551efc6772cdda4e9ab4ec000ec11808
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 14:10:59 2016 +0200

test14xx: fixed --libcurl output tests again after 8e8afa82cbb

commit 0f1996321f110de3de37776f1fab64f5dbfdaa92
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 13:59:54 2016 +0200

s/cURL/curl

The tool was never called cURL, only the project. But even so, we have
more and more over time switched to just use lower case.

commit 88753c1e8999f26febfd56bac9e6d3487006d1bd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 13:27:37 2016 +0200

polarssl: indented code, removed unused variables

commit 8748d4787fb4f93fb6ac95c11e63799df32b0b9a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 13:17:05 2016 +0200

polarssl: reduce #ifdef madness with a macro

commit 1e3161a20d5759409fec9aa339f79c5f71cabe65
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 13:11:55 2016 +0200

polarssl: fix unaligned SSL session-id lock

commit ace237ae4ee4a6399f2ab835aea937e6d4471d69
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 13:05:43 2016 +0200

Curl_polarsslthreadlock_thread_setup: clear array at init

... since if it fails to init the entire array and then tries to clean
it up, it would attempt to work on an uninitialized pointer.

commit 8e8afa82cbb629bd2a95eba1cdf47f65dd62a6d5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 12:09:56 2016 +0200

curl: set INTERLEAVEDATA too

As otherwise the callback could be called with a NULL pointer when RTSP
data is provided.

commit 9a509680f6b9f7d7fd2ef99380e2460a3973f31d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 11:12:03 2016 +0200

gopher: properly return error for poll failures

commit 8a6e89a9ebbaa79a2c4e4301774770efb3d24ef7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 10:58:58 2016 +0200

select: switch to macros in uppercase

Curl_select_ready() was the former API that was replaced with
Curl_select_check() a while back and the former arg setup was provided
with a define (in order to leave existing code unmodified).

Now we instead offer SOCKET_READABLE and SOCKET_WRITABLE for the most
common shortcuts where only one socket is checked. They're also more
visibly macros.

commit a05906190ca6f7d6135f82595107bcabe4b75c77
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 09:46:10 2016 +0200

select: use more proper macro-looking names

... so that it becomes more obvious in the code what is what. Also added
a typecast for one of the calculations.

commit 9aa2afc3a57939e9cfc04926a2ffc20fb87286cf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 18 09:45:34 2016 +0200

Curl_socket_check: add extra check to avoid integer overflow

commit d18c5464541185e43a3fbaae5a36b4ce75343d79
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 10 14:11:44 2016 +0200

maketgz: make it support "only" generating version info

... to allow you to update the local repository with the given version
number data.

commit aec0c993cb087ae211dcea7f0b0f04c6b7422599
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Oct 17 02:44:39 2016 -0400

url: skip to-be-closed connections when pipelining (follow-up)

- Change back behavior so that pipelining is considered possible for
connections that have not yet reached the protocol level.

This is a follow-up to e5f0b1a which had changed the behavior of
checking if pipelining is possible to ignore connections that had
'bits.close' set. Connections that have not yet reached the protocol
level also have that bit set, and we need to consider pipelining
possible on those connections.

commit 9291a34d5dbefb8b0524cff537f820cedeb08fc7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 17 08:01:44 2016 +0200

HTTP2: mention the tool's limited support

commit f7d6bdca6c804a7a399a97c42d5bdaa75c5f5327
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 16 13:31:42 2016 +0200

RELEASE-NOTES: synced with a1a5cd04877fd6fd

commit a1a5cd04877fd6fd54dce257138ee860a0aab5bc
Author: David Woodhouse <David.Woodhouse@intel.com>
Date: Tue Aug 23 11:46:23 2016 +0100

curl: do not set CURLOPT_SSLENGINEDEFAULT automatically

There were bugs in the PKCS#11 engine, and fixing them triggers bugs in
OpenSSL. Just don't get involved; there's no need to be making the
engine methods the default anyway.

https://github.com/OpenSC/libp11/pull/108
https://github.com/openssl/openssl/pull/1639

Merges #1042

commit 96e3c0774466c1b87dc94131c65a6cbe370f5b01
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 16 12:54:59 2016 +0200

KNOWN_BUGS: two more existing problems

commit 422db18f15925b8ad7983329ca08041049783071
Author: Marcel Raad <raad@teamviewer.com>
Date: Sat Oct 1 17:55:37 2016 +0200

win: fix Universal Windows Platform build

This fixes a merge error in commit 7f3df80 caused by commit 332e8d6.

Additionally, this changes Curl_verify_windows_version for Windows App
builds to assume to always be running on the target Windows version.
There seems to be no way to determine the Windows version from a
UWP app. Neither GetVersion(Ex), nor VerifyVersionInfo, nor the
Version Helper functions are supported.

Bug: https://github.com/curl/curl/pull/820#issuecomment-250889878
Reported-by: Paul Joyce

Closes https://github.com/curl/curl/pull/1048

commit 4ddc772b30db523742178c194b605572a0835698
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 16 11:53:54 2016 +0200

KNOWN_BUGS: minor formatting edit

commit e5f0b1ab43ad62eabc3d3a5254381254ed102c66
Author: Rider Linden <rider@lindenlab.com>
Date: Fri Feb 19 11:18:33 2016 -0800

url: skip to-be-closed connections when pipelining

No longer attempt to use "doomed" to-be-closed connections when
pipelining. Prior to this change connections marked for deletion (e.g.
timeout) would be erroneously used, resulting in sporadic crashes.

As originally reported and fixed by Carlo Wood (origin unknown).

Bug: https://github.com/curl/curl/issues/627
Reported-by: Rider Linden

Closes https://github.com/curl/curl/pull/1075
Participation-by: nopjmp@users.noreply.github.com

commit 1671d84b38ac61f0852e8ff2915fef3346dc53f7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 10 16:47:54 2016 +0200

vtls: only re-use session-ids using the same scheme

To make it harder to do cross-protocol mistakes

commit 3b36bd8e1a242b6cd037bb8109e1fc56478951a6
Author: Torben Dannhauer <torben@dannhauer.de>
Date: Tue Oct 11 12:08:31 2016 +0200

dist: add missing cmake modules to the tarball

Closes https://github.com/curl/curl/pull/1070

commit 9297ca49f5f3caca938a679b9c1feeb719e61ddb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 11 11:04:06 2016 +0200

configure: detect the broken poll() in macOS 10.12

Fixes #1057

commit 358fd32820357c444c12386548872430be01549d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 10 08:42:26 2016 +0200

dist: remove PDF and HTML converted docs from the releases

commit d522ff4690f373721e014dca676f8c73da428383
Author: Remo E <remo.eichenberger@gmail.com>
Date: Thu Jul 21 11:28:54 2016 +0200

cmake: add nghttp2 support

Closes #922

commit eb5199317ee729ab1893fc629a8f4f0ca7f7aa1e
Author: Andreas Streichardt <andreas@arangodb.com>
Date: Mon Oct 10 13:08:24 2016 +0200

resolve: add error message when resolving using SIGALRM

Closes #1066

commit 7cc9c876e84368e02cc306959379e21eeabd4d36
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 10 10:29:19 2016 +0200

GIT-INFO: remove the Mac 10.1-specific details

There shouldn't be many devs out there anymore using such outdated macOS
versions. And it removes the dead link.

Closes #1049

commit 8c2b5580a60c3a3fca2755008d6c19bb1e330cdb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 10 08:14:28 2016 +0200

RELEASE-NOTES: spellfix

commit f68042a2a5cf73b6f84c2948dd03c29d1994db92
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 10 08:13:01 2016 +0200

RELEASE-NOTES: synced with 82720490628cb53a

5 more fixes, 2 more contributors

commit 82720490628cb53a5fd41e27fcfebace27d3b5b0
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date: Mon Oct 3 21:48:31 2016 +0200

smb: properly check incoming packet boundaries

Not all reply messages were properly checked for their lengths, which
made it possible to access uninitialized memory (but this does not lead
to out of boundary accesses).

Closes #1052

commit ac8a3149133fd3420770baf37190e47f5f7a46c7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 8 20:47:44 2016 +0200

test557: verify printf() with 128 and 129 arguments

commit 71588c9aef8112025c7525d20f57eb367a947344
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 8 20:47:04 2016 +0200

mprintf: return error on too many arguments

128 arguments should be enough for everyone

commit 8238ba9c5f10414a88f502bf3f5d5a42d632984c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 8 13:39:29 2016 +0200

ftp: fix Curl_ftpsendf()

... it no longer takes printf() arguments since it was only really taken
advantage by one user and it was not written and used in a safe
way. Thus the 'f' is removed from the function name and the proto is
changed.

Although the current code wouldn't end up in badness, it was a risk that
future changes could end up springf()ing too large data or passing in a
format string inadvertently.

commit 9885c9508ec757f7f658dab11658e4a3e643a420
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 8 12:50:42 2016 +0200

formpost: avoid silent snprintf() truncation

The previous use of snprintf() could make libcurl silently truncate some
input data and not report that back on overly large input, which could
make data get sent over the network in a bad format.

Example:

$ curl --form 'a=b' -H "Content-Type: $(perl -e 'print "A"x4100')"

commit f74baaf3b3c8a4297d40322bf0ea9a6e136a3a73
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 8 12:17:26 2016 +0200

TODO: build: Enable PIE and RELRO by default

commit e11da9f4b7e0404790b85bccaac2c2b334c4ca26
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 8 11:51:21 2016 +0200

TODO: Support better than MD5 hostkey hash (for ssh)

commit 4f43236a406396ade1c7af64e1d28317c417c551
Author: Daniel Gustafsson <daniel@hobbit.se>
Date: Sat Oct 8 11:39:12 2016 +0200

tests: Fix a small typo in the tests README (#1060)

The subdirectory for logs in tests/ is named log/ without an 's'
at the end.

commit 13f3912471b8b34d8c3b7e188c1e01a25925e706
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 6 17:45:06 2016 +0200

TODO: Introduce --fail-fast to exit on first transfer fail

See #1054

commit da1a2d1ac8d49e519cfa5928689fd313f4ba71d7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 6 09:40:47 2016 +0200

TODO: Leave secure cookies alone

commit c271b1c29a176612c98977fd1c722952e86aace9
Author: Rainer Müller <raimue@codingfarm.de>
Date: Thu Oct 6 08:06:13 2016 +0200

CURLOPT_DEBUGFUNCTION.3: unused argument warning (#1056)

The 'userp' argument is unused in this example code.

commit 2a3bca9aa03e3a5a129e268a53eb11f33172d697
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 5 11:50:50 2016 +0200

TODO: TCP Fast Open for windows

commit 6bf909d5ce7df84f16350f507af2c8e902ecf012
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 23:50:24 2016 +0200

RELEASE-NOTES: synced with 8fd2a754f0de

commit 15aefc6adc89322e975915625a121aebda7fda66
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 23:46:45 2016 +0200

CURLOPT_KEEP_SENDING_ON_ERROR.3: mention when it is added

commit 8fd2a754f0de4537286816ea8f52b7184e7b2d3d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 23:18:52 2016 +0200

memdup: use 'void *' as return and source type

commit 203c5d5b3c4a174e5a8441590fc6fdf071951347
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 18:34:31 2016 +0200

TODO: Add easy argument to formpost functions

commit bdf162af255b8dc1498da6f312f04fe2e83f1a48
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 4 09:13:02 2016 +0200

formpost: trying to attach a directory no longer crashes

The error path would previously add a freed entry to the linked list.

Reported-by: Toby Peterson

Fixes #1053

commit 54e48b14e1ecf399149b137bb741cf84a73b1f32
Author: Sergei Kuzmin <sergeikuzmin@gmail.com>
Date: Sun Oct 2 21:34:59 2016 -0700

cookies: same domain handling changed to match browser behavior

Cokie with the same domain but different tailmatching property are now
considered different and do not replace each other. If header contains
following lines then two cookies will be set: Set-Cookie: foo=bar;
domain=.foo.com; expires=Thu Mar 3 GMT 8:56:27 2033 Set-Cookie: foo=baz;
domain=foo.com; expires=Thu Mar 3 GMT 8:56:27 2033

This matches Chrome, Opera, Safari, and Firefox behavior. When sending
stored tokens to foo.com Chrome, Opera, Firefox store send them in the
stored order, while Safari pre-sort the cookies.

Closes #1050

commit 2a1d538963c5861d729eea2b4bb271fad03217d1
Author: Stephen Brokenshire <stephen@brokenshi.re>
Date: Sat Oct 1 16:36:50 2016 +0100

FAQ: Fix typos in section 5.14 (#1047)

Type required for YourClass::func C++ function (using size_t in line
with the documentation for CURLOPT_WRITEFUNCTION) and missing second
colon when specifying the static function for CURLOPT_WRITEFUNCTION.

commit 9eda44a2004af0826ab46594da88e7b0ce58fd38
Author: Sebastian Mundry <mundry@outlook.com>
Date: Fri Sep 30 20:34:21 2016 +0200

KNOWN_BUGS: Fix typos in section 5.8.

Closes #1046

commit dd42963a52f25dcd35078451cf8204e9a5f0b21b
Author: mundry <mundry@outlook.com>
Date: Fri Sep 30 20:49:48 2016 +0200

CONTRIBUTE.md: Fix typo in 'About pull requests' section. (#1045)

commit 7ea14694687facdf51c3622c27bcfc5989930681
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 30 17:14:39 2016 +0200

curl.1: --trace supports % for sending to stderr!

commit bd742adb6f13dc668ffadb2e97a40776a86dc124
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 26 11:44:00 2016 +0200

KNOWN_BUGS: 5.8 configure finding libs in wrong directory

commit 1e7b79731b6cb2db56a9ee9ab7ac9f4818affeda
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Sep 24 08:52:01 2016 +0200

configure: Fixed builds with libssh2 in a custom location

A libssh2 library in the standard system location was being used in
preference to the desired one while linking.

commit cd7f562bdc965be414c28347d32f6903a38f8a62
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 23 22:11:55 2016 +0200

SECURITY: remove the top ascii logo

commit e9e536619333b0ebd1b096be5c27a39c78e812c5
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Thu Sep 22 22:15:13 2016 +0200

New libcurl option to keep sending on error

Add the new option CURLOPT_KEEP_SENDING_ON_ERROR to control whether
sending the request body shall be completed when the server responds
early with an error status code.

This is suitable for manual NTLM authentication.

Reviewed-by: Jay Satiro

Closes https://github.com/curl/curl/pull/904

commit d1f1c857ad559eafef9373621d30174c046261ef
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Sep 19 17:45:53 2016 +0200

nss: add chacha20-poly1305 cipher suites if supported by NSS

commit 049aa9254687f6738642bd73da9bf96d8af2a833
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Sep 19 17:38:23 2016 +0200

nss: add cipher suites using SHA384 if supported by NSS

commit 75912202709e0f74a5bab91ef57254d7038f5f42
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Sep 19 16:37:05 2016 +0200

nss: fix typo in ecdhe_rsa_null cipher suite string

As it seems to be a rarely used cipher suite (for securely established
but _unencrypted_ connections), I believe it is fine not to provide an
alias for the misspelled variant.

commit 36e53ec6ff93cf2c20934f65fb405c662ff0f604
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Sep 21 15:34:57 2016 -0400

docs: Remove that --proto is just used for initial retrieval

.. and add that --proto-redir and CURLOPT_REDIR_PROTOCOLS do not
override protocols denied by --proto and CURLOPT_PROTOCOLS.

- Add a test to enforce: --proto deny must override --proto-redir allow

Closes https://github.com/curl/curl/pull/1031

commit 82279c82c8d94d8999de68fceadb4f1d7cd0df3b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 21 23:17:39 2016 +0200

dist: add CurlSymbolHiding.cmake to the tarball

Follow-up to 6140dfcf3e784

Reported-by: Alexander Sinditskiy

commit aab94da6195521d3ec0c879a6e3fd55a1b01d656
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 20 22:59:53 2016 +0200

curl_global_cleanup.3: don't unload the lib with sub threads running

Discussed in #997

Assisted-by: Jay Satiro

commit 88e3743dde074aec43cc93b0567e29c6451554d3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 20 15:37:46 2016 +0200

MAIL-ETIQUETTE: language

commit 22cfeac730d5b115b04f6b6ebf2f0a74f0bc978d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Sep 17 01:48:20 2016 -0400

easy: Reset all statistical session info in curl_easy_reset

Bug: https://github.com/curl/curl/issues/1017
Reported-by: Jeroen Ooms

commit 6834ebaaa3de5799bf4d4430005af5bca5bbe448
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 19 23:58:55 2016 +0200

RELEASE-NOTES: synced with 79607eec51055

commit 79607eec51055039a484f4efbebc6e58c3948342
Author: Daniel Gustafsson <dgustafsson@pivotal.io>
Date: Mon Sep 19 21:32:48 2016 +0200

darwinssl: Fix typo in comment

Closes https://github.com/curl/curl/pull/1028

commit 01c8db47aa020d426c196f5f4968f710396dc164
Author: Bernard Spil <Sp1l@users.noreply.github.com>
Date: Mon Sep 19 21:11:45 2016 +0200

libressl: fix version output

LibreSSL defines `OPENSSL_VERSION_NUMBER` as `0x20000000L` for all
versions returning `LibreSSL/2.0.0` for any LibreSSL version.

This change provides a local OpenSSL_version_num function replacement
returning LIBRESSL_VERSION_NUMBER instead.

Closes #1029

commit 31dd3bf674ff7e627700bcb2c65e2e501ffe1037
Author: rugk <rugk@posteo.de>
Date: Mon Sep 19 16:23:38 2016 +0200

TODO: Add PINNEDPUBLICKEY - HPKP compatibility, HSTS & HPKP

Closes #1025
Closes #1026
Closes #1027

commit a2b360f8908139db9caad9011f43d47c442cc8c1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 19 14:32:59 2016 +0200

openssl: don't call ERR_remote_thread_state on >= 1.1.0

Follow-up fix to d9321562

commit de71e68000c8624ea13f90b136f8734dd0fb1bdc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 19 11:33:14 2016 +0200

openssl: don’t call CRYTPO_cleanup_all_ex_data

The OpenSSL function CRYTPO_cleanup_all_ex_data() cannot be called
multiple times without crashing - and other libs might call it! We
basically cannot call it without risking a crash. The function is a
no-op since OpenSSL 1.1.0.

Not calling this function only risks a small memory leak with OpenSSL <
1.1.0.

Bug: https://curl.haxx.se/mail/lib-2016-09/0045.html
Reported-by: Todd Short

commit fb0032a33e3c3705f45ea09a1a55ac0b1d4f0fd6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 19 10:29:00 2016 +0200

TODO: Support SSLKEYLOGFILE

commit 6ee9ea5e70aa85e493747efc225e8b73641bb175
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Sep 18 17:56:13 2016 -0400

CURLOPT_PINNEDPUBLICKEY.3: fix the AVAILABILITY formatting

commit 227ee9d84d390f37c28dfe43ceda308c6083b1f6
Author: Nick Zitzmann <nickzman@gmail.com>
Date: Sun Sep 18 15:01:03 2016 -0500

darwinssl: disable RC4 cipher-suite support

RC4 was a nice alternative to CBC back in the days of BEAST, but it's insecure and obsolete now.

commit d086b2394cb92a838d87c02a108460fcfd12c9ac
Author: Nick Zitzmann <nickzman@gmail.com>
Date: Sun Sep 18 14:50:17 2016 -0500

configure: change "iOS/Mac OS X native" to "Apple OS native"

Since I first wrote that text, Apple introduced tvOS and watchOS, and renamed "Mac OS X" to "macOS." Let's make the text a little more inclusive, since curl can be built for all four operating systems.

commit 19445f35ba123282db2d980cb07a6893563b338c
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Sep 18 15:33:15 2016 -0400

test2048: fix url

commit 45c1c54c423cb8b2004e11f67131955f36d1cad8
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Sep 14 01:55:13 2016 -0400

examples/imap-append: Set size of data to be uploaded

Prior to this commit this example failed with error
'Cannot APPEND with unknown input file size'.

Bug: https://github.com/curl/curl/issues/1008
Reported-by: lukaszgn@users.noreply.github.com

Closes https://github.com/curl/curl/pull/1011

commit e01d0f1030b984e0530f4bcd37896ce73cb663ff
Author: Tony Kelman <tony@kelman.net>
Date: Fri Sep 16 14:17:05 2016 -0700

LICENSE-MIXING.md: update with mbedTLS dual licensing

Recent versions of mbedTLS are available under either Apache 2.0 or GPL
2.0, see https://tls.mbed.org/how-to-get

Closes #1019

commit 710f0572c9a1a01b824865debe28e96633613592
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 15 14:19:09 2016 +0200

KNOWN_BUGS: chunked-encoded requests with HTTP/2 is fixed

commit f423a009715ce3fb5505434f97598fcf3a39f7ab
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 15 14:12:53 2016 +0200

http2: debug ouput sent HTTP/2 request headers

commit d4c5a917226ad6d5bee1b1d6deb099e1d9a895e6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 15 14:01:06 2016 +0200

http: accept "Transfer-Encoding: chunked" for HTTP/2 as well

... but don't send the actual header over the wire as it isn't accepted.
Chunked uploading is still triggered using this method.

Fixes #1013
Fixes #662

commit d93215621f029b5048117496afdbba1b49e953a1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 29 23:18:31 2016 +0200

openssl: fix per-thread memory leak usiong 1.0.1 or 1.0.2

OpenSSL 1.0.1 and 1.0.2 build an error queue that is stored per-thread
so we need to clean it when easy handles are freed, in case the thread
will be killed in which the easy handle was used. All OpenSSL code in
libcurl should extract the error in association with the error already
so clearing this queue here should be harmless at worst.

Fixes #964

commit 4ba1569ad18f793be06d99a1098ab146b0247e1e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 14 09:00:00 2016 +0200

RELEASE-NOTES: reset and go toward 7.51.0 (again)

commit 8986c86e1ef297e95518ae4695339f2d64d913cf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 14 07:56:18 2016 +0200

THANKS: updated with curl 7.50.3 contributors

commit 0b4a85352bfa984a6b2904179cf59ad6e9ad3bfd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 14 07:54:38 2016 +0200

RELEASE-NOTES: curl 7.50.3

commit 8dcc074f365ada380a999746b49729a02db756b8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 13 23:01:22 2016 +0200

test1605: verify negative input lengths to (un)escape functions

commit 01cf1308ee2e792c77bb1d2c9218c56a30fd40ae
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 13 23:00:50 2016 +0200

curl_easy_unescape: deny negative string lengths as input

CVE-2016-7167

Bug: https://curl.haxx.se/docs/adv_20160914.html

commit 826a9ced2bed217155e34065ef4048931f327b1e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 8 22:59:54 2016 +0200

curl_easy_escape: deny negative string lengths as input

CVE-2016-7167

Bug: https://curl.haxx.se/docs/adv_20160914.html

commit ffa0709a889a3d59553538ee00ce81a0e524a96e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 13 15:20:05 2016 +0200

curl: make --create-dirs on windows grok both forward and backward slashes

Reported-by: Ryan Scott

Fixes #1007

commit 4a35bbbe8ee57e6549e89e655819fae75410236e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 13 15:09:29 2016 +0200

RELEASE-NOTES: synced with 665694979b6

commit 665694979b6291857861d9d96ecea69490f24fa8
Author: Tony Kelman <tony@kelman.net>
Date: Sun Sep 11 21:16:30 2016 -0700

mbedtls: switch off NTLM in build if md4 isn't available

NTLM support with mbedTLS was added in 497e7c9 but requires that mbedTLS
is built with the MD4 functions available, which it isn't in default
builds. This now adapts if the funtion isn't there and builds libcurl
without NTLM support if so.

Fixes #1004

commit 511838f1d803f926156a99022ac2a715dbd541b4
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Sep 12 01:51:37 2016 -0400

CODE_STYLE: fix long-line guideline

- Change maximum allowed line length from 80 to 79.

commit 27c2131b027710866c2124d6723c19a9f1cc06f4
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Sep 11 19:12:14 2016 -0400

CODE_STYLE: add column alignment section

Note that since the added examples are for column alignment I had to
encapsulate with ~~~c markdown to preserve their alignment.

commit 2f3feda273d7d31362c20b24602241fa0fcd0492
Author: Peter Wu <peter@lekensteyn.nl>
Date: Wed Jun 1 22:24:35 2016 +0200

cmake: fix curl-config --static-libs

The `curl-config --static-libs` command should not output paths like
-l/usr/lib/libssl.so, instead print the absolute path without `-l`.

This also removes the confusing message "Static linking is broken" which
was printed because curl-config --static-libs was disfunctional even
though the static libcurl.a library works properly.

Fixes https://github.com/curl/curl/issues/841

commit a8e751a51a53c59e832c8351a1356763fa5766c4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 9 15:57:44 2016 +0200

http: refuse to pass on response body with NO_NODY was set

... like when a HTTP/0.9 response comes back without any headers at all
and just a body this now prevents that body from being sent to the
callback etc.

Adapted test 1144 to verify.

Fixes #973

Assisted-by: Ray Satiro

commit d58682f28bfbbfafcd2dd939bd4f944db2bef0c0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 11 00:06:17 2016 +0200

RELEASE-NOTES: synced with 257bf3ac67eb6

commit 257bf3ac67eb6267c6185af79247daf0c8d744d6
Author: Jakub Zakrzewski <slither.jz@gmail.com>
Date: Sun Sep 4 12:58:35 2016 +0200

CMake: Don't build unit tests if private symbols are hidden

This only excludes building unit tests from default build ( 'all' Make
target or "Build Solution" in VisualStudio). The projects and Make
targets will still be generated and shown in supporting IDEs.

Fixes https://github.com/curl/curl/issues/981
Reported-by: Randy Armstrong

Closes https://github.com/curl/curl/pull/990

commit 6140dfcf3e7845f11dee755de6865379aa96dab7
Author: Jakub Zakrzewski <slither.jz@gmail.com>
Date: Sun Sep 4 12:37:46 2016 +0200

CMake: Try to (un-)hide private library symbols

Detect support for compiler symbol visibility flags and apply those
according to CURL_HIDDEN_SYMBOLS option.
It should work true to the autotools build except it tries to unhide
symbols on Windows when requested and prints warning if it fails.

Ref: https://github.com/curl/curl/issues/981#issuecomment-242665951
Reported-by: Daniel Stenberg

commit 83ef21e5e9946de2805ae10cc5e6ef9431b22702
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 9 23:33:09 2016 +0200

openssl: fix bad memory free (regression)

... by partially reverting f975f06033b1. The allocation could be made by
OpenSSL so the free must be made with OPENSSL_free() to avoid problems.

Reported-by: Harold Stuart
Fixes #1005

commit 85033bcfccc826047bc4f847ecc0c21c2a9415fe
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 6 23:12:12 2016 +0200

http2: support > 64bit sized uploads

... by making sure we don't count down the "upload left" counter when the
uploaded size is unknown and then it can be allowed to continue forever.

Fixes #996

commit af2d679e1414369f23a2d37a113634b0ac7f38b0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Aug 22 15:37:03 2016 -0400

errors: new alias CURLE_WEIRD_SERVER_REPLY (8)

Since we're using CURLE_FTP_WEIRD_SERVER_REPLY in imap, pop3 and smtp as
more of a generic "failed to parse" introduce an alias without FTP in
the name.

Closes https://github.com/curl/curl/pull/975

commit add8ee7d57bf9d61a586126e1182e7eb356834fe
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 7 15:45:24 2016 +0200

bump: toward 7.51.0

commit ebd620d6914db3e8464a154d2824013b3dba99ef
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 7 14:29:19 2016 +0200

HISTORY: remove ascii logo to render nicer on web

commit b96509096336474f0e26b80792b021472ae33fcd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 7 10:43:40 2016 +0200

curl: whitelist use of strtok() in non-threaded context

commit 5871dfcc16e07be462a3e090994abc6f82b65f01
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 7 09:26:00 2016 +0200

checksrc: detect strtok() use

... as that function slipped through once before.

commit 8fa20da8e1a2f38440610221576ff027eb0c7e5e
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Sep 7 10:41:11 2016 +0200

mk-ca-bundle.pl: use SHA256 instead of SHA1

This hash is used to verify the original downloaded certificate bundle
and also included in the generated bundle's comment header. Also
rename related internal symbols to algorithm-agnostic names.

commit 9ce6d0d52821c6e33506cb173f0e27c68014e60e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 6 23:29:37 2016 +0200

RELEASE-NOTES: curl 7.50.2 release

commit e79de9e326875cd8b61361262cad67723109445a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 6 23:37:41 2016 +0200

THANKS: updated for 7.50.2

commit 8e176a7c799749af50df057c1bf63f1a6afb7dd5
Author: Gaurav Malhotra <malhotrag@gmail.com>
Date: Wed Sep 7 00:39:35 2016 +0530

openssl: fix CURLINFO_SSL_VERIFYRESULT

CURLINFO_SSL_VERIFYRESULT does not get the certificate verification
result when SSL_connect fails because of a certificate verification
error.

This fix saves the result of SSL_get_verify_result so that it is
returned by CURLINFO_SSL_VERIFYRESULT.

Closes https://github.com/curl/curl/pull/995

commit 022dbdb8ac07379fa9cc2cbb3eba503b7f77a6ed
Author: Daniel Gustafsson <daniel@hobbit.se>
Date: Tue Sep 6 10:37:31 2016 +0200

darwinssl: test for errSecSuccess in PKCS12 import rather than noErr (#993)

While noErr and errSecSuccess are defined as the same value, the API
documentation states that SecPKCS12Import() returns errSecSuccess if
there were no errors in importing. Ensure that a future change of the
defined value doesn't break (however unlikely) and be consistent with
the API docs.

commit 8331b08d228697eec15c99162d8bae5a9ca1ef05
Author: Daniel Gustafsson <daniel@hobbit.se>
Date: Tue Sep 6 10:35:00 2016 +0200

docs: Fix link to CONTRIBUTE in Github contribution guidelines (#994)

commit 4af389353a93dba11f12da554c40861b814ee2cb
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Sep 5 18:15:25 2016 +0200

openssl: Fix compilation with OPENSSL_API_COMPAT=0x10100000L

With OPENSSL_API_COMPAT=0x10100000L (OpenSSL 1.1 API), the cleanup
functions are unavailable (they're no-ops anyway in OpenSSL 1.1). The
replacements for SSL_load_error_strings, SSLeay_add_ssl_algorithms, and
OpenSSL_add_all_algorithms are called automatically [1][2]. SSLeay() is
now called OpenSSL_version_num().

[1]: https://www.openssl.org/docs/man1.1.0/ssl/OPENSSL_init_ssl.html
[2]: https://www.openssl.org/docs/man1.1.0/crypto/OPENSSL_init_crypto.html

Closes #992

commit 72abf4f59ea1b9b8cf6642e4eaec70abff413f1d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 5 14:55:01 2016 +0200

RELEASE-NOTES: synced with 3d4c0c8b9bc1d

commit 3d4c0c8b9bc1d53df2e38961343f755a84579f83
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 5 11:07:40 2016 +0200

http2: return EOF when done uploading without known size

Fixes #982

commit 03bb48159831682fb39a92a6b62b7c4551ef63c8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 5 08:51:06 2016 +0200

http2: skip the content-length parsing, detect unknown size

commit cd5c03aa6da7d29590dde3b9e048c838e69e5027
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 5 09:52:09 2016 +0200

http2: minor white space edit

commit 71e2acaad6cd5bdcab8ef84eced1f918f61daf77
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Sep 5 09:25:58 2016 +0200

http2: use named define instead of magic constant in read callback

commit 46398941e45b6fd67efb70ee27e5693d8686a4f8
Author: Craig Davison <craig65535@gmail.com>
Date: Thu Aug 11 21:37:13 2016 -0600

configure: make the cpp -P detection not clobber CPPFLAGS

CPPPFLAGS is now CPPPFLAG. Fixes CURL_CHECK_DEF.

Fixes #958

commit 4b86113f5ed66270364738a351ebb5bb23cd0882
Author: Olivier Brunel <jjk@jjacky.com>
Date: Tue Aug 16 20:32:02 2016 +0200

speed caps: not based on average speeds anymore

Speed limits (from CURLOPT_MAX_RECV_SPEED_LARGE &
CURLOPT_MAX_SEND_SPEED_LARGE) were applied simply by comparing limits
with the cumulative average speed of the entire transfer; While this
might work at times with good/constant connections, in other cases it
can result to the limits simply being "ignored" for more than "short
bursts" (as told in man page).

Consider a download that goes on much slower than the limit for some
time (because bandwidth is used elsewhere, server is slow, whatever the
reason), then once things get better, curl would simply ignore the limit
up until the average speed (since the beginning of the transfer) reached
the limit. This could prove the limit useless to effectively avoid
using the entire bandwidth (at least for quite some time).

So instead, we now use a "moving starting point" as reference, and every
time at least as much as the limit as been transferred, we can reset
this starting point to the current position. This gets a good limiting
effect that applies to the "current speed" with instant reactivity (in
case of sudden speed burst).

Closes #971

commit 85e5ebe75f8432333a53832d7acd0ebd65ae2506
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Sep 3 23:12:46 2016 +0200

HISTORY.md: the multi socket was put in the wrong year!

commit 9a84dc31de6c0d3073f41af4f2e5b5d594eeeb6c
Author: Mark Hamilton <TheDarkCode@users.noreply.github.com>
Date: Sat Sep 3 14:14:07 2016 -0700

tool_helpers.c: fix comment typo (#989)

commit 5d563a10b3bf8f74b88ff436583098a83ef9f396
Author: Mark Hamilton <TheDarkCode@users.noreply.github.com>
Date: Sat Sep 3 14:12:22 2016 -0700

libtest/test.h: fix typo (#988)

commit 4c44155cfe67c2eb009b49ba03876767dfa18ea5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 1 14:09:21 2016 +0200

CURLMOPT_PIPELINING.3: language

commit a409b4b4668ea8f98ec0175e27bc1e1eb510aff9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 1 14:07:28 2016 +0200

CURLMOPT_PIPELINING.3: extended and clarified

Especially in regards to the multiplexing part.

commit ef5d3facd58f2af751d1b7098b61915cee6ccc79
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 31 11:57:28 2016 +0100

curl_sspi.c: Updated function description comments

* Added description to Curl_sspi_free_identity()
* Added parameter and return explanations to Curl_sspi_global_init()
* Added parameter explaination to Curl_sspi_global_cleanup()

commit dafef391f7630c323e02ebd93458e7a40e5f363e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 31 11:34:50 2016 +0100

README: Corrected the supported Visual Studio versions

Missed from commit 8356022d17.

commit 7c6c2194b88fddccb1e5eb418758dd2292a1358d
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 31 11:33:22 2016 +0100

KNOWN_BUGS: Move the Visual Studio project shortcomings from local README

commit 088ffcba3e091fdd4d3a12b6c1e626ce92130820
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 31 11:22:12 2016 +0100

KNOWN_BUGS: Expand 6.4 to include Kerberos V5

...and discuss a possible solution.

commit c69cafe7e260144142f8cc89f74c5b3dc8294451
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 30 23:38:06 2016 +0200

connect: fix #ifdefs for debug versions of conn/streamclose() macros

CURLDEBUG is for the memory debugging

DEBUGBUILD is for the extra debug stuff

Pointed-out-by: Steve Holme

commit b73b423ba09c68e9381a5ca8a024f0cb2712de48
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 29 23:01:49 2016 +0200

KNOWN_BUGS: mention some cmake "support gaps"

commit e171968ba3ae44cae618c75b24cf7fd19a124be2
Author: Nick Zitzmann <nickzman@gmail.com>
Date: Sun Aug 28 16:46:59 2016 -0500

darwinssl: add documentation stating that the --cainfo option is intended for backward compatibility only

In other news, I changed one other reference to "Mac OS X" in the documentation (that I previously wrote) to say "macOS" instead.

commit 0d729d9e015cba7a05e16a25b21156abf4ca6409
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Aug 28 23:28:52 2016 +0200

http2: return CURLE_HTTP2_STREAM for unexpected stream close

Follow-up to c3e906e9cd0f, seems like a more appropriate error code

Suggested-by: Jay Satiro

commit c3e906e9cd0f17be5ffc13ca258b87049da8d544
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sun Aug 28 16:44:03 2016 +0200

http2: handle closed streams when uploading

Fixes #986

commit 3533def3d556e09f178e52e37b89fe8015b907f9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 11 14:00:23 2016 +0200

http2: make sure stream errors don't needlessly close the connection

With HTTP/2 each transfer is made in an indivial logical stream over the
connection, making most previous errors that caused the connection to get
forced-closed now instead just kill the stream and not the connection.

Fixes #941

commit a6ddd6555e02bb3114e3d193f7474c402269a040
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Aug 27 18:08:16 2016 +0200

Curl_verify_windows_version: minor edit to avoid compiler warnings

... instead of if() before the switch(), add a default to the switch so
that the compilers don't warn on "warning: enumeration value
'PLATFORM_DONT_CARE' not handled in switch" anymore.

commit 8a529ef01d73efbf3d9af82dbb0db88b48f197b1
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 27 11:10:17 2016 +0100

RELEASE-NOTES: Added missing fix from commit 15592143f

commit 895168bfd3d817f7cc5e4b1ee86e2f6007e47a64
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Aug 25 23:57:56 2016 -0400

schannel: Disable ALPN for Wine since it is causing problems

- Disable ALPN on Wine.

- Don't pass input secbuffer when ALPN is disabled.

When ALPN support was added a change was made to pass an input secbuffer
to initialize the context. When ALPN is enabled the buffer contains the
ALPN information, and when it's disabled the buffer is empty. In either
case this input buffer caused problems with Wine and connections would
not complete.

Bug: https://github.com/curl/curl/issues/983
Reported-by: Christian Fillion

commit 3a5d5de9ef52ebe8ca2bda2165edc1b34c242e54
Author: Peter Wang <novalazy@gmail.com>
Date: Fri Aug 26 16:28:39 2016 +1000

nss: work around race condition in PK11_FindSlotByName()

Serialise the call to PK11_FindSlotByName() to avoid spurious errors in
a multi-threaded environment. The underlying cause is a race condition
in nssSlot_IsTokenPresent().

Bug: https://bugzilla.mozilla.org/1297397

Closes #985

commit 7700fcba64bf5806de28f6c1c7da3b4f0b38567d
Author: Kamil Dudka <kdudka@redhat.com>
Date: Mon Aug 22 10:24:35 2016 +0200

nss: refuse previously loaded certificate from file

... when we are not asked to use a certificate from file

commit 822082d8327a41aafa4c6b7696bfcb8b56037cbf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 26 09:34:41 2016 +0200

ftp_done: remove dead code

commit 39ba8dd09b5f2883108d3ddf15ef61bb4cff437b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 26 10:01:19 2016 +0200

TLS: random file/egd doesn't have to match for conn reuse

commit 152e5c2105aa6b4701923b11096fcc30284ea848
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 26 08:59:48 2016 +0200

test161: add comment for the exit code

commit b5286189b5485456129ccf78384685046d246ac6
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Fri Aug 26 08:32:01 2016 +0200

test219: Add http as a required feature

commit 7bda07b0466a192e082f32d363d1b1ce1881d483
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue Jun 28 10:57:30 2016 +0200

HTTP: stop parsing headers when switching to unknown protocols

- unknown protocols probably won't send more headers (e.g. WebSocket)
- improved comments and moved them to the correct case statements

Closes #899

commit 9cb851e3718a6af4ca7c42de6ff98f929b7d2f49
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 25 12:27:31 2016 +0200

openssl: make build with 1.1.0 again

synced with OpenSSL git master commit cc06906707

commit a032a6f2bbdc09326157278f6d15df1472331b83
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 25 11:00:28 2016 +0200

INTERNALS: fix title

commit a71c9d4c404e53226ea4310414ddebc6d83f7786
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 24 13:49:53 2016 +0200

configure: detect zlib with our pkg-config macros

... instead of relying on the pkg-config autoconf macros to be present.

Fixes #972 (again...)

commit 2c36cb1cbbd679c915856fbac551eee953025b5e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Aug 25 02:43:19 2016 -0400

http2: Remove incorrect comments

.. also remove same from scp

commit 7ad50a61f28f773ad2d2f03031423da81bfb69fe
Author: Ales Novak <alnovak@suse.cz>
Date: Tue Aug 23 14:13:18 2016 +0200

ftp: fix wrong poll on the secondary socket

When we're uploading using FTP and the server issues a tiny pause
between opening the connection to the client's secondary socket, the
client's initial poll() times out, which leads to second poll() which
does not wait for POLLIN on the secondary socket. So that poll() also
has to time out, creating a long (200ms) pause.

This patch adds the correct flag to the secondary socket, making the
second poll() correctly wait for the connection there too.

Signed-off-by: Ales Novak <alnovak@suse.cz>

Closes #978

commit 15592143f3bf9ca05293ea849767ea4704a18e4d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 22 14:48:13 2016 +0200

RELEASE-NOTES: synced with 95ded2c56

commit 95ded2c5691866d2ea86f673648777a677a30093
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Aug 21 23:34:48 2016 +0200

configure: make it work without PKG_CHECK_MODULES

With commit c2f9b78 we added a new dependency on pkg-config for
developers which may be unwanted. This change make the configure script
still work as before if pkg-config isn't installed, it'll just use the
old zlib detection logic without pkg-config.

Reported-by: Marc Hörsken

Fixes #972

commit fba9dec5c53ac180ff253ff6087b9f07e33ad292
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sun Aug 21 17:57:29 2016 +0200

Revert "KNOWN_BUGS: SOCKS proxy not working via IPv6"

This reverts commit 9cb1059f92286a6eb5d28c477fdd3f26aed1d554.

As discussed in #835 SOCKS5 supports IPv6 proxies and destinations.

commit 7f3df8040858bc604b4b7ec9e6e3544e7184c9ca
Author: Marco Deckel <marco.deckel@gmail.com>
Date: Sun Aug 21 13:44:33 2016 +0200

win: Basic support for Universal Windows Platform apps

Closes #820

commit a78c61a4bf5b7eb90b0945d94568b7b3b1f23c6e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 21 11:56:23 2016 +0100

sasl: Don't use GSSAPI authentication when domain name not specified

Only choose the GSSAPI authentication mechanism when the user name
contains a Windows domain name or the user is a valid UPN.

Fixes #718

commit 43dbd766164153d49ab266355d2f35e6bf010b30
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Mar 24 19:03:58 2016 +0000

vauth: Added check for supported SSPI based authentication mechanisms

Completing commit 00417fd66c and 2708d4259b.

commit 317795d1bf49e6ec048999c55d204093dd1626d4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 21 10:25:45 2016 +0100

http.c: Remove duplicate (authp->avail & CURLAUTH_DIGEST) check

From commit 2708d4259b.

commit b820e40f340f142b8475721538f768d59dc9c353
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Aug 20 21:38:09 2016 +0200

socks.c: display the hostname returned by the SOCKS5 proxy server

Instead of displaying the requested hostname the one returned
by the SOCKS5 proxy server is used in case of connection error.
The requested hostname is displayed earlier in the connection sequence.

The upper-value of the port is moved to a temporary variable and
replaced with a 0-byte to make sure the hostname is 0-terminated.

commit 670802bd0b88e81490d21accc423957b5dafeffc
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 20 20:20:32 2016 +0100

urldata.h: Corrected comment for httpcode which is also populated by SMTP

As of 7.25.0 and commit 5430007222.

commit d6bf400e9f9480509c7356b814842477563a87e4
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Aug 20 21:14:46 2016 +0200

socks.c: use Curl_printable_address in SOCKS5 connection sequence

Replace custom string formatting with Curl_printable_address.
Add additional debug and error output in case of failures.

commit 213c27e487a4953a4b8006a8c520012b25ee22ae
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Aug 20 21:12:34 2016 +0200

socks.c: align SOCKS4 connection sequence with SOCKS5

Calling sscanf is not required since the raw IPv4 address is
available and the protocol can be detected using ai_family.

commit c6b869ec79fb1a6a4882cef9f2697ee14fb78026
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 20 19:34:54 2016 +0100

http.c: Corrected indentation change from commit 2708d4259b

Made by Visual Studio's auto-correct feature and missed by me in my own
code reviews!

commit 2708d4259ba2a7832f91105f1c00ac14ee9e30d2
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 20 12:18:23 2016 +0000

http: Added calls to Curl_auth_is_<mechansism>_supported()

Hooked up the HTTP authentication layer to query the new 'is mechanism
supported' functions when deciding what mechanism to use.

As per commit 00417fd66c existing functionality is maintained for now.

commit d1bfb1cf54d3e862581fb12590ee845da39869e4
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Aug 20 20:07:10 2016 +0200

socks.c: improve verbose output of SOCKS5 connection sequence

commit 8f7f5a8b0677f0260ed87b29fdf07dbe25151313
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Aug 20 19:49:51 2016 +0200

configure.ac: add missing quotes to PKG_CHECK_MODULES

commit 00417fd66c2b4bcffb9f7be2cf17e2be9bafafe0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 20 12:02:10 2016 +0000

sasl: Added calls to Curl_auth_is_<mechansism>_supported()

Hooked up the SASL authentication layer to query the new 'is mechanism
supported' functions when deciding what mechanism to use.

For now existing functionality is maintained.

commit 0796a993171f627d546c42a8fb28e906528cc688
Author: Miroslav Franc <mfranc@gmx.com>
Date: Fri Aug 19 14:46:07 2016 +0200

spnego_sspi: fix memory leak in case *outlen is zero (#970)

commit 2497c42172307485fb60100474b68c1620041df5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 19 09:40:40 2016 +0200

CURLMOPT_MAX_TOTAL_CONNECTIONS.3: mention it can also multiplex

commit a0f212946b1e839a673973930034b98031f1507c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 20 11:56:07 2016 +0000

vauth: Introduced Curl_auth_is_<mechansism>_supported() functions

As Windows SSPI authentication calls fail when a particular mechanism
isn't available, introduced these functions for DIGEST, NTLM, Kerberos 5
and Negotiate to allow both HTTP and SASL authentication the opportunity
to query support for a supported mechanism before selecting it.

For now each function returns TRUE to maintain compatability with the
existing code when called.

commit cdd61dc35fc093f6e78da0168070a09f45becf5c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 18 11:44:45 2016 +0200

test1144: verify HEAD with body-only response

commit cf582d7bc0bc776c9dd5654680c8557260c192bb
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 17 23:25:04 2016 +0100

RELEASE-PROCEDURE: Added some more future release dates

...and removed some old ones

commit 01f69232b09edd118a238119a3294686d07a74b3
Author: David Woodhouse <dwmw2@infradead.org>
Date: Wed Aug 17 11:30:21 2016 +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.

commit 667fcb04a6385f9e398d64f2073a76a6e0ad3ad6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 17 10:50:06 2016 +0200

nss: make the global variables static

commit f975f06033b13033cda040484a011dc287fe1926
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 12 10:06:07 2016 +0200

openssl: use regular malloc instead of OPENSSL_malloc

This allows for better memmory debugging and torture tests.

commit fa6b6f1a46298f6c8957f67673d6ab1a75052e0b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 16 10:14:48 2016 +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

commit 93b0d907d57453b481cd9aa15bd258942e4dd34e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 16 08:36:04 2016 +0200

Revert "Proxy-Connection: stop sending this header by default"

This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.

commit 84e45f4b3ae49978cca282bf652d30c376518827
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 15 14:49:26 2016 +0200

CURLOPT_PROXY.3: unsupported schemes cause errors now

Follow-up to a96319ebb9 (document the new behavior)

commit d5fa91b3231758160d4fb1e0d965a450f7241789
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 15 11:36:17 2016 +0200

tests/README: mention nghttpx for HTTP/2 tests

commit ee1fa9cda970dc1116123dab9ae764f504799395
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 15 11:15:01 2016 +0200

README.md: add our CII Best Practices badge

commit 321c897c065fe9948c4da68c5fdd21aaa99ca3e7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 15 11:11:46 2016 +0200

proxy: polished the error message for unsupported schemes

Follow up to a96319ebb93

commit f1cdcc4c3eb5b1e5f66520c5e91ecb95faa85bff
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 15 11:09:59 2016 +0200

test219: verify unsupported scheme for proxies get rejected

commit a96319ebb934ac8d3df4b88c8eb0d7ba00d5f883
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 15 10:46:27 2016 +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.

commit a5174b022bc8190eeda999418e7df56caa15b0c8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 15 08:47:21 2016 +0200

RELEASE-NOTES: synced with b7ee5316c2fd5b

commit b7ee5316c2fd5b0fa933a4fcdf2049e112ace669
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sun Aug 14 17:07:11 2016 +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

commit cc3384a254bbffc64f3dd2a2d3d61fe84ec7472d
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sun Aug 14 17:05:32 2016 +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

commit 59580e12bac9e62075523d056aa36d8a92432283
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sun Aug 14 17:01:13 2016 +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

commit cdaed772061891fdddf75dd7b982a7dbb8f35c53
Author: Ronnie Mose <rm@travelaccommodation.eu>
Date: Sat Aug 13 14:38:09 2016 +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.

commit b6fcdc32eb346ab2e1ff0c60eeb3d73ed29238a4
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Aug 12 04:10:29 2016 -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

commit c2f9b78afe15bfb9e0fa89bbb93e7b4aafd9d7b4
Author: Dambaev Alexander <theice@inbox.ru>
Date: Thu Aug 11 23:49:48 2016 +0800

configure.ac: add zlib search with pkg-config

Closes #956

commit 2c8ccdac14f87464e2a15eb7bab0d77c08dec2cf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 11 11:37:00 2016 +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

commit 31e33a9a4663e0bf62b0815d22af879f2209bf6f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 11 08:33:36 2016 +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

commit 04f84edd5bfaad5af81c165cbcecc53fdfc1251b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 11 08:21:33 2016 +0200

mk-ca-bundle.1: document -m, added in 1.26

commit 6301692faec68d3c119db2e54e17445bdc8c544a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 10 09:12:34 2016 +0200

RELEASE-NOTES: synced with e577c43bb5

commit e577c43bb5c6728ae12c8171bac102a89c0cb0f9
Author: Erik Janssen <erik.janssen@axis.com>
Date: Wed Aug 10 08:58:10 2016 +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

commit 85e63bcfc77a826cbe8a3410761b54e02ce2d08b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 21:34:47 2016 +0200

symbols-in-versions: add CURL_STRICTER

Added in 5fce88aa8c12564

commit dec93464603aba0b28e6a1ee91d795e9cdc5acd3
Author: Simon Warta <simon@kullo.net>
Date: Tue Aug 9 21:27:36 2016 +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

commit 50cb384fd9967b0d658baf92db29ab4b8b7bab63
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 15:04:50 2016 +0200

LICENSE-MIXING.md: switched to markdown

commit dcdc5f416d45fa099c9f5c0a1d535f2813de7221
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 14:47:20 2016 +0200

docs-make: have markdown files use .md

commit 5fce88aa8c1256486377471186fc353c50d610b1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 14:46:51 2016 +0200

curl.h: make CURL_NO_OLDIES define CURL_STRICTER

commit 6152b5916e19368e1764e5f86853baf9e3f3328c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 12:05:43 2016 +0200

HISTORY.md: use markdown extension

commit 615a12cbad3ca87b3ff499abe9ae39479e915322
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 12:03:46 2016 +0200

SSLCERTS.md: renamed to markdown extension

commit d263e83079722586c3a491dd11bf403fdc6fd707
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 12:01:47 2016 +0200

INTERNALS.md: use markdown extension for markdown content

commit e24597dc8309e5d388bde4dfa79d1941ccc0e7db
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 11:40:39 2016 +0200

CONTRIBUTE.md: markdown extension

commit 08fd82f370f9f068d90fcda540d7e483e040b7dc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 11:39:58 2016 +0200

CONTRIBUTE: changed to markdown

commit 1af59589789c5ccd7581bc6e669935d1624dc97a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 10:53:42 2016 +0200

CONTRIBUTE: refreshed

commit 296c180bb764ec926f78073a9a9afbcb984fdb93
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 10:05:26 2016 +0200

TODO: added an SSH section and two SFTP things to do

commit 63cc40638993aa82e86aa4b011b563d2479cc452
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 09:55:16 2016 +0200

TODO: remove the 1.22 duplicated item

commit 4e1ebe63cf86be74fb771fcdf9763c5ee6b2fc1d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 09:53:06 2016 +0200

TODO: move "CURLOPT_MAIL_CLIENT" to SMTP section

commit 546d4a3505111b61a8a4e648b10065a88c7a042a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 09:51:43 2016 +0200

TODO: API for URL parsing/splitting

commit ca3e8268c5d48595d34174647286a8cca29f7448
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 9 09:43:52 2016 +0200

TODO: move QUIC to the HTTP section

commit b2ac016510c54c1bd1b88b97b48f7716343840ac
Author: Simon Warta <simon@kullo.net>
Date: Tue Aug 9 08:29:59 2016 +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.

commit 36ee0ea57c8d525000b2ae26619d041181b5592b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 8 23:46:11 2016 +0200

TODO: Use huge HTTP/2 windows

commit 26424ba07fea5cd999ad27d15e562327645fc755
Author: Simon Warta <simon@kullo.net>
Date: Mon Aug 8 21:26:57 2016 +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.

commit 82617e7499138077db55a0bc2878e17edd16dd06
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Aug 8 02:37:29 2016 -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.

commit 11049e007abfaa3daad0a6d6548d4923872d54cd
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Aug 8 00:25:03 2016 -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

commit 5a86fddfba0230223e474c675842f384f5c38a81
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Aug 7 23:52:06 2016 +0200

TODO: added several ideas, removed SPDY

commit ea45b4334f45b4b51484e7728719143441bc3e2a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 5 00:42:52 2016 +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

commit 9803e832d9a31a7fa36fefe6e816ad60179d7e8d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 5 00:37:03 2016 +0200

RELEASE-NOTES: synced with 7b4bf37a44791

commit 7b4bf37a44791fdd578e68e08adbcfa592380935
Author: Thomas Glanzmann <thomas@glanzmann.de>
Date: Wed Aug 3 08:20:16 2016 +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.

commit 4732ca5724072f132876f520c8f02c7c5b654d95
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 30 14:56:02 2016 +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

commit edeabf741fed90aecb39bb38dc0eeb68d6e305eb
Author: Serj Kalichev <serj.kalichev@gmail.com>
Date: Wed Aug 3 00:29:09 2016 +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

commit 600bb4e852e23769efd575c5a6383e9b1988384f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 2 12:17:10 2016 +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

commit bde2f09d5e4c4a3b2826aefdda0a10c07bbb551a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 2 10:57:30 2016 +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.

commit 6eb60c2dc589a15ff8a3aa5961745d86044a9b78
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 2 00:48:23 2016 +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

commit 497e7c9d3460566712b3cd81b272cde7826f264c
Author: Bill Nagel <wnagel@tycoint.com>
Date: Thu Jul 7 08:40:45 2016 -0700

mbedtls: Added support for NTLM

commit db3887632c735f90592daddf2b1e86664b4facb7
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Tue Aug 2 13:43:23 2016 +0300

travis: removed option to rebuild autotool from source

Fixes #943

commit 73878278d86f22285681db2e75eb1c711bfab41b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 3 09:36:27 2016 +0200

bump: start working toward 7.50.2
/external/curl/lib/vtls/openssl.c
e3149cc1cf501b46caba8d47652ac90b95c78eac 05-Oct-2016 Alex Deymo <deymo@google.com> Update libcurl from 7.49.1 to 7.50.1.

Bug: 31271247
Test: Build and run update_engine with the new version. mmma external/curl

Note: This patch includes the following squashed commits from upstream:

commit f2cb3a01192d36395d16acec6cdb93446ca6fd45
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 3 08:37:16 2016 +0200

THANKS: 7 new contributors from the 7.50.1 release

commit 95addfe828999399f1a3458c547dbd159e9df81e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 2 11:30:41 2016 +0200

RELEASE-NOTES: 7.50.1

commit 11ec5ad4352bba384404c56e77c7fab9382fd22d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 31 00:51:48 2016 +0200

TLS: only reuse connections with the same client cert

CVE-2016-5420
Bug: https://curl.haxx.se/docs/adv_20160803B.html

commit 247d890da88f9ee817079e246c59f3d7d12fde5f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jul 1 13:32:31 2016 +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

commit 75dc096e01ef1e21b6c57690d99371dedb2c0b80
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 31 01:09:04 2016 +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

commit 9cb1059f92286a6eb5d28c477fdd3f26aed1d554
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 3 00:24:08 2016 +0200

KNOWN_BUGS: SOCKS proxy not working via IPv6

Closes #835

commit ac09c422d36c0d1c946bed6d4d99b83cced9eaba
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 3 00:21:42 2016 +0200

KNOWN_BUGS: CURLOPT_SEEKFUNCTION not called with CURLFORM_STREAM

Closes #768

commit 80ab2b5ad9360fce3c313ed03050ce61631e2c78
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 3 00:19:53 2016 +0200

KNOWN_BUGS: transfer-encoding: chunked in HTTP/2

Closes #662

commit 52276b51e056ed7855884e1960ba80dde6e1b6dd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 3 00:15:58 2016 +0200

TODO: Provide cmake config-file

Closes #885

commit a0c2ab93700069a03fad0115442bad9a3ca996fe
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Tue Aug 2 14:21:31 2016 +0200

os400: define BUILDING_LIBCURL in make script.

commit 2136a6a8924000fb82e23b00c6365db4310574ee
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 1 23:40:27 2016 +0200

RELEASE-NOTES: synced with aa9f536a18b

commit aa9f536a18b4c222961fbacd9347d06928eec458
Author: Thomas Glanzmann <thomas@glanzmann.de>
Date: Mon Aug 1 13:16:42 2016 -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

commit 120fe1a22deecde49b9c46b125285d0cf846b159
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Mon Aug 1 15:42:15 2016 +0300

travis: fix OSX build by re-installing libtool

Apparently due to a broken homebrew install

fixes #934
Closes #939

commit 608b11a91f4e994d26f99baf4dd0a7dff03578ab
Author: Martin Vejnár <martin.vejnar@avg.com>
Date: Mon Aug 1 10:18:55 2016 +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

commit d6604524ad24daf4581efbe0020da058d2b3af84
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 31 11:48:44 2016 +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

commit 2bbed9c4f0d2c192cd3b3b61fd6a1c21911936c3
Author: Yonggang Luo <luoyonggang@gmail.com>
Date: Fri Jul 15 02:16:18 2016 +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

commit cb9ba5cf8dfca61d8ce96086330ccde967c2d418
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jul 28 00:52:44 2016 -0400

Revert "travis: Install libtool for OS X builds"

Didn't work.

This reverts commit 50723585ed380744358de054e2a55dccee65dfd7.

commit 50723585ed380744358de054e2a55dccee65dfd7
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jul 28 00:36:55 2016 -0400

travis: Install libtool for OS X builds

CI is failing due to missing libtoolize, so I'm trying this.

commit 17bf323221cf1852457eb29a861e589b5e5e7aa3
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Tue Jul 26 16:36:29 2016 +0200

TODO: minor typo in last commit

merged #931

commit f3cad5bbf2fa2487061ce0f4a15dc2c334ba410e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jul 26 16:01:50 2016 +0200

TODO: Timeout idle connections from the pool

commit ea886941841610e15ae9fe4244434cd7a700b7a6
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Mon Jul 25 18:58:23 2016 +0200

os400: minimum supported OS version: V6R1M0.
Do not log compilation informational messages.

commit 6b130d6be6607dce07d1054af929b17b969f3bf5
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Jul 24 02:49:47 2016 -0400

tests: Fix for http/2 feature

Bug: https://curl.haxx.se/mail/lib-2016-07/0070.html
Reported-by: Paul Howarth

commit 1979008703cb50bab16111658202cfd05745f0d8
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Jul 23 21:34:46 2016 +0100

README: Mention wolfSSL in the 'Dependencies' section

commit 3fc845914ad050fcb78ddb8ab947ddbe3928de2a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Jul 22 20:42:20 2016 +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.

commit 25bf71ab0757694e691ad77c48fa6c438df9416e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Jul 22 20:38:32 2016 +0100

spnego: Corrected miss-placed * in Curl_auth_spnego_cleanup() declaration

Typo introduced in commit ad5e9bfd5d.

commit c7468e8ea2eeac748bb1f3d1410d2de55e9b5802
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jul 22 01:47:13 2016 +0200

SECURITY: mention how to get windows-specific CVEs

... and make the distros link a proper link

commit 47fa8f0dae69ffe1e7a6ad1e7a6075d8cbe804a4
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Jul 21 17:06:04 2016 +0200

test558: fix test by stripping file paths from FD lines

commit 5e26d9ceeaca8a6730bf405e6512bfe542698c26
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Jul 21 13:03:16 2016 +0200

tests: distribute the http2-server.pl script, too

commit 8b9ba132f0aad9ba1ada8879ab2a9bb03eba57f6
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Jul 21 12:49:43 2016 +0200

docs: distribute the CURLINFO_HTTP_VERSION(3) man page, too

commit 001f8d06fef3c5f1e3b2ab45a2f46de39b70bd9e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jul 21 11:16:08 2016 +0200

bump: start working on 7.50.1

commit 79e63a53bb9598af863b0afe49ad662795faeef4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jul 21 01:53:01 2016 +0200

RELEASE-NOTES: version 7.50.0 ready

commit d78cf1f03a30d9c19eb6eaefce367ea5278361b9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jul 21 00:34:01 2016 +0200

THANKS: 13 new contributors from the 7.50.0 release

commit af8eb69cb29d4cc05eea9578514fe16572443b72
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jul 21 01:37:29 2016 -0400

winbuild: fix embedded manifest option

Embedded manifest option didn't work due to typo.

Reported-by: Stefan Kanthak

commit c5cffce56e4c6f6c26e82438a61abf85e39cac4a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jul 20 22:00:45 2016 -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.

commit dcdd4be35213d4ba36e41ad92fe2ae4ddab1205d
Author: Saurav Babu <saurav.babu@samsung.com>
Date: Wed Jul 20 11:08:02 2016 +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.

commit c6d3fa11e687808ea9f0047d591a39135a4b9f4e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jul 20 23:04:06 2016 +0200

test558: updated after ipv6-check move

Follow-up commit to c50980807c5 to make this test pass.

commit 4ee203542d042e9ba4f137ab252637742998de42
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jul 20 02:49:19 2016 -0400

connect: disable TFO on Linux when using SSL

- Linux TFO + TLS is not implemented yet.

Bug: https://github.com/curl/curl/issues/907

commit 57ac61a46907edc068fbd0f221751b48082fdfce
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jul 19 23:10:39 2016 +0200

ROADMAP: QUIC and TLS 1.3

commit 545562f13e27da87275e421a3b54d063cf2e494e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jul 19 23:04:26 2016 +0200

RELEASE-NOTES: synced with c50980807c5

commit c50980807c55f91c2fb2d09f3b6dc0ae69f4cf45
Author: Brian Prodoehl <bprodoehl@connectify.me>
Date: Fri Jul 15 11:53:13 2016 -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

commit 16fe3f6b0a73fa4e3e1c2298143e11f4fb4d5f6a
Author: Timothy Polich <tpolich@users.noreply.github.com>
Date: Wed Jul 13 18:45:32 2016 -0700

CURLMOPT_SOCKETFUNCTION.3: fix typo

Closes https://github.com/curl/curl/pull/914

commit bf430ecdef3d7c49cf01a57e3289ff7aaa1e0278
Author: Miroslav Franc <mfranc@gmx.com>
Date: Wed Jul 13 18:43:18 2016 +0200

library: Fix memory leaks found during static analysis

Closes https://github.com/curl/curl/pull/913

commit bcc8f485e5e364deb6b5ad8502635b4358aaa277
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Tue Jul 12 22:44:31 2016 +0200

cookie.c: Fix misleading indentation

Closes https://github.com/curl/curl/pull/911

commit f9eed596a3115e583a124ccf7f929573ee5a7da4
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jul 9 03:05:55 2016 -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

commit 7c9cfd6c5145217e9678310ac0677494a59da36e
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Wed Jun 22 15:42:10 2016 +0300

Appveyor: Updates for options - CURL_STATICLIB/BUILD_TESTING

Closes #892

commit c4f108ece8be881bf70edbd5d22334d1143be88c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 30 23:45:49 2016 +0200

TODO: 17.4 also brings more HTTP/2 support

commit a194e6c9ae40ffe3ab5e281f1096358cdd369d3e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 30 23:42:06 2016 +0200

TODO: try next proxy if one doesn't work

Closes #896

commit 6655e3069120cd069be9b7e2ff268342513c93bf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 29 23:11:43 2016 +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

commit e89489d8f4ceb869ae4e080b34053d4ecba22955
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 29 23:06:32 2016 +0200

test1244: test different proxy ports same URL

commit 306192ba55637864e6bf20991cc209c17ff21e55
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 29 16:00:46 2016 +0200

curl_global_init.3: improved formatting of the flags

commit bbd99a277bf05bd8c1f6fa682e20646f29ac1de4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 29 15:57:44 2016 +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

commit 38685f86c8709c0670e81812b98f8181814212bf
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue Jun 21 22:43:58 2016 +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

commit b6ddc0ac075ecb7e86b25a26ba2faf7e7880ce13
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 28 15:28:04 2016 +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: 暖和的和暖

commit 614b5034233b95f7a3bbbbe9b0539180fabd7527
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 28 15:02:46 2016 +0200

ROADMAP: http2 tests are merged, mention http2 perf

commit c8b2010c5f225ea0c3922ca198dfe1ed9502d591
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 28 14:09:08 2016 +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!

commit bf3222e053d03d044f70af59426db2f278201f2d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 28 13:58:07 2016 +0200

README.md: change host name for the svg logo

rawgit.com asks to use the domain cdn.rawgit.com for production

See #900

commit 9305b1cf072990efd259d5fe71581473436afbf1
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Tue Jun 28 13:00:05 2016 +0200

README.md: use the SVG logo

commit f4955a05537b9f772f0f32aba54326e72f111875
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 28 10:41:22 2016 +0200

README.md: logo on top!

commit a69f27ae91b791360f4a77b7b82e2e88ec097b08
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 28 08:24:16 2016 +0200

KNOWN_BUGS: 3.4 POP3 expects "CRLF.CRLF" eob for some

Closes #740

commit 91792d83b7ca401372854c58d32e0df2f4eb91a0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 27 17:06:52 2016 +0200

RELEASE-NOTES: synced with d61c80515aa8

commit d61c80515aa8e4086863fcc0a9693d50d309fc50
Author: Michael Osipov <1983-01-06@gmx.net>
Date: Fri Jun 24 15:17:53 2016 +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

commit 91697d22a83e274378b957ed878e62467634ff98
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 22 14:23:46 2016 +0200

configure: don't specify .lib for libs on windows

Another follow up for crypt32.lib linking with winssl

commit 5c24fc7768d758b3803ccdb2ec54c910badea7ad
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 22 13:50:56 2016 +0200

configure: fix winssl LIBS change typo

follow-up from 120bf29e

commit b5d1b498fc4f62e8c63480aaf79c32f24223becf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 22 12:06:47 2016 +0200

TODO: "TCP Fast Open" is done, add monitor pool connections

commit 120bf29ef2c9dcc56414656d77040c24187b01bc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 22 11:57:25 2016 +0200

configure: add crypt32.lib for winssl builds

Necessary since 6cabd78531f

commit 7530ef5c15f6d90e8a3d043cf59a46225e8ccdd7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 22 11:07:05 2016 +0200

Makefile.vc: link with crypt32.lib for winssl builds

Necessary since 6cabd78531f

Fixes #853

commit 66c447e51e7c066f2ef425e912cee5157c363d55
Author: Joel Depooter <joel.depooter@safe.com>
Date: Wed Jun 1 16:29:32 2016 -0700

VC: Add crypt32.lib to Visual Sudio project template files

Closes #854

commit 05a69ce32c318109815bbaa9a57700c4594aa267
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 22 10:53:28 2016 +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.

commit 80388edefca58f8199cdfde077efb7f6d91e60fa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 21 19:31:24 2016 +0200

typedefs: use the full structs in internal code...

... and save the typedef'ed names for headers and external APIs.

commit 434f8d0389f2969b393ff81ead713b7600502f27
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 21 15:47:12 2016 +0200

internals: rename the SessionHandle struct to Curl_easy

commit 9adf3c473a01b289c781aab111f9ad2fc541ed4e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 21 14:39:33 2016 +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

commit 04b4ee5498b14d320e3b375c64d0162cc2b53c99
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Jun 12 23:47:12 2016 -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.

commit 046c2c85c4c365d4ae8a621d7886caf96f51e0e7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 22 00:37:36 2016 +0200

curl.1: the used progress meter suffix is k in lower case

Closes #883

commit 12e21fab26bd83dfa75f009a24380d144ea51857
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Thu Jun 16 13:53:50 2016 +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

commit 0bdec5e01d9914d97bb9ed1301b1590162fe2945
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue Jun 21 09:47:34 2016 +0200

cleanup: fix method names in code comments

Closes #887

commit b2dcf0347f1ee5041cccd64632bb8dd7ccbbae91
Author: Kamil Dudka <kdudka@redhat.com>
Date: Tue Jun 21 12:40:26 2016 +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.

commit 5f2e3b886759e0822ff31c36ef10ca8df59fcf59
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jun 19 23:52:01 2016 +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.

commit bb4e7921e70637a43bb01952888fcb0870fb915f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jun 19 23:21:54 2016 +0200

openssl: use more 'const' to fix build warnings with 1.1.0 branch

commit 2668d8df9a61eadbb7de44903f05963984507d3d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 17 10:40:20 2016 +0200

curl.1: missed 'T' in the progress unit suffixes

commit c9a6ab6d921a02a198a543d5b0650fb0c94fd94d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 17 00:32:34 2016 +0200

curl.1: mention the unix for the progress meter

commit 13d633d27492ccd86a3424b34952b0ef8026306e
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Thu Jun 16 19:05:42 2016 +0200

os400: add new definitions to ILE/RPG binding.

commit d4643d6e799b088e0a7e9b768facc0d1e1e86257
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 15 15:36:40 2016 +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

commit b1839f6ed8bc8d9324c1fcf334955ddabf47b936
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Jun 16 08:44:08 2016 +0200

axtls: Use Curl_wait_ms instead of the less-portable usleep

commit 52c5e9488c0bebc002d114d747fee697d422d02d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Jun 16 08:29:10 2016 +0200

axtls: Fixed compile after compile 31c521b0

commit 67176e2b840486c58a107ab1178d19cfa65faf0f
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Jun 15 23:04:48 2016 +0200

tests: Added HTTP proxy keywords to tests 1141 & 1142

commit b70ca5281d93b621dee700c74740b2621d1e30b4
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Tue Jun 14 17:11:48 2016 +0300

cmake: Fix build with winldap

Bug: https://github.com/curl/curl/pull/874
Reported-by: Sergei Nikulov

commit f77dfbc5fbb7a20f8d3ef918df35b68c0b60f1e9
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jun 11 17:33:16 2016 -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

commit 929520582cdd3708f845af637757837b1d2a7d16
Author: Michael Wallner <mike@php.net>
Date: Tue Jun 7 07:51:34 2016 +0200

curl_multi_socket_action.3: Fix rewording

- Remove some erroneous text.

Closes https://github.com/curl/curl/pull/865

commit 608d161b605e4ac0ebdab6c89c64e14423a0457a
Author: Luo Jinghua <sunmoon1997@gmail.com>
Date: Wed Jun 8 07:23:54 2016 +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

commit 01a49a7626ee4a226cd0b50d70591ab147d60ee0
Author: Luo Jinghua <sunmoon1997@gmail.com>
Date: Tue Jun 7 18:11:37 2016 +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

commit 9b6d3a662ea81ec3bbb12002ca79fd27d750671e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jun 5 11:28:31 2016 +0200

tests: two more HTTP/2 tests

1701 and 1702

commit 320905a34589a987a5afe29c84316b1bfbcb8290
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jun 5 11:17:29 2016 +0200

runtests: don't display logs when http2 server fails to start

commit d3b5c153af6998e2fd64bfc2b3033b2b5526a8cf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 3 23:54:06 2016 +0200

runtests: make stripfile work on stdout as well

... and have test 1700 use that to strip out the nghttpx server: headers

commit bf05606ef1f7a982c821396c3ef9fddeb4a1b011
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 3 23:36:10 2016 +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

commit c53d8a0b41a661251fc08ef696040a77842e2049
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 6 23:23:44 2016 +0200

RELEASE-NOTES: synced with 34855feeb4c299

commit 34855feeb4c2991f7a158064abef16829bd4425f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Mon Jun 6 20:53:30 2016 +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

commit 84a48e5732d9dd0c98fda3597352e4b16f35a7ad
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Jun 5 21:07:03 2016 -0400

checksrc: Add LoadLibrary to the banned functions list

LoadLibrary was supplanted by Curl_load_library for security
reasons in 6df916d.

commit 1aa899ff38548a5d1c196f5c9ad7047f0fae3f5a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Jun 5 03:13:32 2016 -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

commit 61c92c7850cb83c572827dc348247b8b9b57c25a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Jun 4 21:52:08 2016 +0100

connect.c: Fixed compilation warning from commit 332e8d6164

connect.c:952:5: warning: suggest explicit braces to avoid ambiguous 'else'

commit 332e8d6164bfb33dfae19704ef8c3e851a71b2d3
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Jun 4 20:58:39 2016 +0100

win32: Used centralised verify windows version function

Closes #845

commit dde5e430e21605e94b24262deef4800e04fb6ba5
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Jun 4 20:51:32 2016 +0100

win32: Added verify windows version functionality

commit 6020ce5fa70212f105e74456037a2f5cc66c4e09
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Jun 4 20:06:56 2016 +0100

win32: Introduced centralised verify windows version function

commit 584d0121c353ed855115c39f6cbc009854018029
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Jun 3 11:26:20 2016 +0200

tool_urlglob: fix off-by-one error in glob_parse()

... causing SIGSEGV while parsing URL with too many globs.
Minimal example:

$ curl $(for i in $(seq 101); do printf '{a}'; done)

Reported-by: Romain Coltel
Bug: https://bugzilla.redhat.com/1340757

commit 873b4346bafdec388fa4bd61ebdee0161da661a0
Author: Benjamin Kircher <kircher@otris.de>
Date: Wed Jun 1 19:02:18 2016 +0200

libcurl-multi.3: fix small typo

Closes #850

commit 55ab64ed1a0472f70a466d5b53c317992c0640c0
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Jun 1 10:35:38 2016 +0200

makefile.m32: add crypt32 for winssl builds

Dependency added by 6cabd78

Closes #849

commit 31c521b0470e57125ffcd0f1b0c6edf3b9af96c1
Author: Ivan Avdeev <me@w23.ru>
Date: Wed Jun 1 09:30:03 2016 +0200

vtls: fix ssl session cache race condition

Sessionid cache management is inseparable from managing individual
session lifetimes. E.g. for reference-counted sessions (like those in
SChannel and OpenSSL engines) every session addition and removal
should be accompanied with refcount increment and decrement
respectively. Failing to do so synchronously leads to a race condition
that causes symptoms like use-after-free and memory corruption.
This commit:
- makes existing session cache locking explicit, thus allowing
individual engines to manage lock's scope.
- fixes OpenSSL and SChannel engines by putting refcount management
inside this lock's scope in relevant places.
- adds these explicit locking calls to other engines that use
sessionid cache to accommodate for this change. Note, however,
that it is unknown whether any of these engines could also have
this race.

Bug: https://github.com/curl/curl/issues/815
Fixes #815
Closes #847

commit 6cabd78531f80d5c6cd942ed1aa97eaa5ec080df
Author: Andrew Kurushin <ajax16384@gmail.com>
Date: Wed Jun 1 08:48:30 2016 +0200

schannel: add CURLOPT_CERTINFO support

Closes #822

commit c444ace5568cdbd7c4f85fecb3f05680aaa5b96d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 31 23:33:48 2016 +0200

RELEASE-NOTES: synced with 142ee9fa15002315

commit 142ee9fa1500231557333a70691049166e79854a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 31 19:54:35 2016 +0200

openssl: rename the private SSL_strerror

... to make it not look like an OpenSSL function

commit 7108e53fb58a194df54149e3a52c7df006f24ae7
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue May 31 16:25:56 2016 +0200

openssl: Use correct buffer sizes for error messages

Closes #844

commit 6dbc23cfd86bbf8c1616759068a5909ced3dcc99
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 31 14:13:33 2016 +0200

curl: fix -q [regression]

This broke in 7.49.0 with commit e200034425a7625

Fixes #842

commit 5409e1d793de755c7433336b80b0c8370a359d45
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 8 15:11:10 2016 +0200

URL parser: allow URLs to use one, two or three slashes

Mostly in order to support broken web sites that redirect to broken URLs
that are accepted by browsers.

Browsers are typically even more leniant than this as the WHATWG URL
spec they should allow an _infinite_ amount. I tested 8000 slashes with
Firefox and it just worked.

Added test case 1141, 1142 and 1143 to verify the new parser.

Closes #791

commit ed8b8f2456fc485fa81fb3d3eaef684121bb1aef
Author: Renaud Lehoux <renaud.lehoux@ercom.fr>
Date: Mon May 30 17:26:10 2016 +0200

cmake: Added missing mbedTLS support

Closes #837

commit 2072b4ae4f337a46283bfcc98a6f42c063d43bdf
Author: Renaud Lehoux <renaud.lehoux@ercom.fr>
Date: Mon May 30 18:10:23 2016 +0200

mbedtls: removed unused variables

Closes #838

commit 071c56139463137a4e32a8d841a70c16f3682bb7
Author: Frank Gevaerts <frank@gevaerts.be>
Date: Wed May 11 14:23:37 2016 +0200

http: add CURLINFO_HTTP_VERSION and %{http_version}

Adds access to the effectively used http version to both libcurl and
curl.

Closes #799

commit 4bffaad85f7ba9ba12272a06ce4e4a81a9a3178a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 30 22:55:54 2016 +0200

bump: start the journey toward 7.50.0

commit c9b4e6e85907f1581c8d6e1ab52c7f8b9282f266
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon May 30 13:26:20 2016 +0200

openssl: fix build with OPENSSL_NO_COMP

With OPENSSL_NO_COMP defined, there is no function
SSL_COMP_free_compression_methods

Closes #836

commit 9a1593501cb30e36ea7109680cab368f9425000d
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Mon May 30 11:43:04 2016 +0200

memdebug: fix MSVC crash with -DMEMDEBUG_LOG_SYNC

Fixes #828

commit 27c86c887194088551577832d284237678e837b4
Author: Jonathan <vanillajonathan@users.noreply.github.com>
Date: Mon May 30 10:46:35 2016 +0200

README.md: polish

Closes #834

commit 602a6bdf6f378b5f44ba7f5f9c9cf87d52c507bd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 30 08:21:16 2016 +0200

RELEASE-NOTES: fix vuln link

Change-Id: I794e042ee8550487e0d42a4df72c73f2b4f89500
/external/curl/lib/vtls/openssl.c
d15eaac64ca1a7244824d660ea84e8815a23d058 28-Jun-2016 Alex Deymo <deymo@google.com> Update libcurl from 7.43 to 7.49.1

Bug: 29602883

Squashed commit of the following:

commit f3066c00398854c5c6ff5c81a02d1c0429ba42c7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 27 16:58:43 2016 +0200

RELEASE-NOTES: 7.49.1

commit 3b18f1567d23817736116b1d9aa3e6e5e5ed62f4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun May 29 22:57:40 2016 +0200

loadlibrary: Only load system DLLs from the system directory

Inspiration provided by: Daniel Stenberg and Ray Satiro

Bug: https://curl.haxx.se/docs/adv_20160530.html

Ref: Windows DLL hijacking with curl, CVE-2016-4802

commit 7f9d8d9e7452cc2a5c36fd2e94ee3b0b2844ab28
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 30 08:14:13 2016 +0200

ssh: fix version number check typo

commit fef1924717aea8146036bac4b341e51b2e10628a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun May 29 16:27:44 2016 -0400

curl_share_setopt.3: Add min ver needed for ssl session lock

Bug: https://github.com/curl/curl/issues/826
Reported-by: Michael Wallner

commit bcd72a98405316a432cf4429d59e90c13275f7cc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 29 00:20:14 2016 +0200

ssh: fix build for libssh2 before 1.2.6

The statvfs functionality was added to libssh2 in that version, so we
switch off that functionality when built with older libraries.

Fixes #831

commit 369291218fe75bdc6a8d6fc71ba94ffc1520f03a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 24 12:14:18 2016 +0200

mbedtls: fix includes so snprintf() works

Regression from the previous *printf() rearrangements, this file missed to
include the correct header to make sure snprintf() works universally.

Reported-by: Moti Avrahami
Bug: https://curl.haxx.se/mail/lib-2016-05/0196.html

commit 24b8cdcabb84447e4a8491953b873be032c715b0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Mon May 23 12:13:41 2016 +0100

checksrc.pl: Added variants of strcat() & strncat() to banned function list

Added support for checking the tchar, unicode and mbcs variants of
strcat() and strncat() in the banned function list.

commit 78d99b275946a0ba41dc5b8a44148988892f40e3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 12:59:58 2016 +0200

smtp: minor ident (white space) fixes

commit 962015081a2b173ae89d71fe574ae6a53d80722c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 10:08:34 2016 +0200

THANKS: updated after script fixes

Now giving credit properly to github user names, fixed some UTF-8 issues
and added names discovered when contrithanks was improved.

commit 581695693940ad81c3336844a2f88268a198366b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 10:08:15 2016 +0200

THANKS-filter: more name cleanups

commit 81ab42b9a6443ce4492c9f6f14cc84177b143922
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 10:07:48 2016 +0200

contrithanks.sh: exclude existing names case insensitively

commit eb62c62aad1e11f318b69a9f66370d50fc986cb2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 09:14:19 2016 +0200

contrithanks.sh: use same grep pattern and -a flag as contributors.sh

commit 2d05f5d616940a1656cc9f5b50d9ba65c2fb158d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 09:13:43 2016 +0200

contributors.sh: better grep pattern, use grep -a

commit de8a6a6a4d4c8d4e178e1a8bb75c8ce59a0cccff
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 09:13:20 2016 +0200

THANKS-filter: fix more names

commit 4cc626af3dfe15ef67d34781e0c2b3543e7c74d7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 23 08:50:53 2016 +0200

contrithanks.sh: do the same github fix as contributors.sh

from 1577bfa35ba

commit 35d806245513c216863c371ca645a881213ff691
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon May 23 02:42:12 2016 -0400

contributors: Show GitHub username if real name unknown

Prior to this change if a GitHub contributor's real name was unknown
they would be omitted from the list.

Bug: https://github.com/curl/curl/issues/824

commit d1c6da6965a2ac89a410fb8cc182b92dfc370467
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat May 21 16:05:54 2016 +0200

RELEASE-NOTES: synced with 3caaeffbe8ded4

commit 85b88c85fd739ab869de26c6bf62c169eaef846d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri May 20 16:44:01 2016 -0400

openssl: cleanup must free compression methods

- Free compression methods if OpenSSL 1.0.2 to avoid a memory leak.

Bug: https://github.com/curl/curl/issues/817
Reported-by: jveazey@users.noreply.github.com

commit 8e4cca04059718825c99b6a6e05c9d98bc72c3ae
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Fri May 20 16:50:04 2016 +0200

curl_multibyte: fix compiler error

While compiling lib/curl_multibyte.c with '-DUSE_WIN32_IDN' etc. I was
getting:

f:\mingw32\src\inet\curl\lib\memdebug.h(38): error C2054: expected '('
to follow 'CURL_EXTERN'

f:\mingw32\src\inet\curl\lib\memdebug.h(38): error C2085:
'curl_domalloc': not in formal parameter list

commit 70e55706b7ea2dc66589ecc9f01fec6d7e8d2117
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 20 16:44:34 2016 +0200

THANKS-filter: make Jan-E get proper credit

commit 7cf41326f3c1d9872e3318ce9f74ba8f7e4e39e1
Author: Alexander Traud <pabstraud@compuserve.com>
Date: Fri May 20 14:57:48 2016 +0200

libcurl.m4: Avoid obsolete warning

Closes #821

commit b7a2ba8a4b24a3f8394210a783f63dd5b632cbec
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Fri May 20 00:06:40 2016 +0200

CURLOPT_CONNECT_TO.3: user must not free the list prematurely

The connect-to list isn't copied so as long as the handle may be used
for a transfer the list must be valid.

Bug: https://github.com/curl/curl/pull/819
Reported-by: Michael Kaufmann

commit f59e45381fd74766cc824dccf94d6fca08a55636
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 19 14:01:30 2016 +0200

RELEASE-NOTES: synced with 48114a8634242c

commit 234359a35e616abed1df03bb136badc4707d8f07
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 19 11:39:59 2016 +0200

openssl: ERR_remove_thread_state() is deprecated in latest 1.1.0

See OpenSSL commit 21e001747d4a

commit 34072e6b841eb4c6c6b64d8e961df761759a5c14
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu May 19 11:16:30 2016 +0200

http2: use HTTP/2 in the HTTP/1.1-alike header

... when generating them, not "2.0" as the protocol is called just
HTTP/2 and nothing else.

commit eca9b047ead3f083acc997afb0f487c832a94f87
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu May 19 03:13:07 2016 -0400

dist: include curl_multi_socket_all.3

Closes https://github.com/curl/curl/pull/816

commit 456a5917b84f83ffa8c2e4147bab3665d2539e86
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed May 18 17:47:38 2016 +0100

bump: Start work on 7.49.1

commit 1a9bd0a56b02f511e052fd435c2ba47d3a078d51
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 18 14:10:36 2016 +0200

curlbuild.h.dist: check __LP64__ as well to fix MIPS build

The preprocessor check that sets up the 32bit defines for non-configure
builds didn't work properly for MIPS systems as __mips__ is defined for
both 32bit and 64bit. Now __LP64__ is also checked and indicates 64bit.

Reported-by: Tomas Jakobsson
Fixes #813

commit 4aed60b2fcd5530d9f5120dc4267df66d91831f9
Author: Marcel Raad <MarcelRaad@users.noreply.github.com>
Date: Wed May 18 11:54:58 2016 +0200

schannel: fix compile break with MSVC XP toolset

For the Windows XP toolset of Visual C++ 2013/2015, the old Windows SDK
7.1 is used. In this case, _USING_V110_SDK71_ is defined.

Closes #812

commit 7b751afff720c902890e9325d343975976105ce9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 18 10:35:15 2016 +0200

dist: include CHECKSRC.md

Reported-by: Paul Howarth
Bug: https://curl.haxx.se/mail/lib-2016-05/0116.html

commit d04299a3f0dccc0a4f6ce3d66edcf31b543a29dc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed May 18 09:17:27 2016 +0200

test/Makefile.am: include manpage-scan.pl and nroff-scan.pl in dist

Reported-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2016-05/0113.html

commit 44e3f1b1994cf191fb12b54b34accd3d0d5ef3f3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 14:50:19 2016 +0200

THANKS: 24 new names from 7.49.0 release notes

commit 75de066af318eb800fcff13908f17e7f8e8c28ba
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 14:02:11 2016 +0200

RELEASE-NOTES: 7.49.0

commit 668279d7886e77b0bdea75ee1f491227cc038334
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 24 17:52:18 2016 +0200

mbedtls/polarssl: set "hostname" unconditionally

...as otherwise the TLS libs will skip the CN/SAN check and just allow
connection to any server. curl previously skipped this function when SNI
wasn't used or when connecting to an IP address specified host.

CVE-2016-3739

Bug: https://curl.haxx.se/docs/adv_20160518A.html
Reported-by: Moti Avrahami

commit 655dc6765af2744ac83e7aa35d528ae848997e0b
Author: Frank Gevaerts <frank@gevaerts.be>
Date: Tue May 17 14:22:56 2016 +0200

CURLOPT_RESOLVE.3: fix typo

Closes #811

commit d4ac13e8b1e25804616811596d43b5a19e2808fe
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 13:17:07 2016 +0200

docs: CURLOPT_RESOLVE overrides CURLOPT_IPRESOLVE

commit 687af54a81c551b3d2cf05f18efcf2e00bac59e7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 11:13:48 2016 +0200

KNOWN_BUGS: GnuTLS backend skips really long certificate fields

Closes #762

commit 0e2daece7fc985fbd752e45b8a3b6f88f2bd8665
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 11:08:10 2016 +0200

CURLOPT_HTTPPOST.3: the data needs to be around while in use

commit 479ecd7db082e813a050b7013603bb24bdf47ff0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 09:34:33 2016 +0200

openssl: get_cert_chain: fix NULL dereference

CID 1361815: Explicit null dereferenced (FORWARD_NULL)

commit b5c90dd535eeafc3132e9279d7d0c6b537d96ac1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 09:14:06 2016 +0200

openssl: get_cert_chain: avoid NULL dereference

CID 1361811: Explicit null dereferenced (FORWARD_NULL)

commit ca80fc55f8034ae162de943ec0326559059bbd88
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue May 17 09:06:32 2016 +0200

dprintf_formatf: fix (false?) Coverity warning

CID 1024412: Memory - illegal accesses (OVERRUN). Claimed to happen when
we run over 'workend' but the condition says <= workend and for all I
can see it should be safe. Compensating for the warning by adding a byte
margin in the buffer.

Also, removed the extra brace level indentation in the code and made it
so that 'workend' is only assigned once within the function.

commit 442633b6389a8d3cc2f4a0a67861fad4cf7ca76b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 16 09:05:03 2016 +0200

RELEASE-NOTES: synced with 2dcb5adc72d6

commit fdf5fa1ec78b6a022291aa52c4b8dbbde0ed8524
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 16 09:04:13 2016 +0200

THANKS-filter: fixed Jonathan Cardoso

commit f727be5b9168b3b324e95cf4474a00e1703e5828
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun May 15 23:48:47 2016 -0400

ftp: fix incorrect out-of-memory code in Curl_pretransfer

- Return value type must match function type.

s/CURLM_OUT_OF_MEMORY/CURLE_OUT_OF_MEMORY/

Caught by Travis CI

commit 115c262e43a0414adeb5b267facf65230a8adab5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 15 00:37:36 2016 +0200

ftp wildcard: segfault due to init only in multi_perform

The proper FTP wildcard init is now more properly done in Curl_pretransfer()
and the corresponding cleanup in Curl_close().

The previous place of init/cleanup code made the internal pointer to be NULL
when this feature was used with the multi_socket() API, as it was made within
the curl_multi_perform() function.

Reported-by: Jonathan Cardoso Machado
Fixes #800

commit 2bff329fe002e3ef6c8060a250e9d8141be1af7f
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri May 13 16:01:35 2016 -0400

libcurl-tlibcurl-thread: Update OpenSSL links

Because the old OpenSSL link now redirects to their master documentation
(currently 1.1.0), which does not document the required actions for
OpenSSL <= 1.0.2.

commit 679c0c533feb0db3f6025ef2b2de30f6dc94bc53
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Fri May 13 09:25:54 2016 +0200

darwinssl.c: fix OS X codename typo in comment

commit 0d07a7d8236f7b824de5de98267ddf15b9ee9c56
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri May 13 00:18:53 2016 +0200

RELEASE-NOTES: synced with 68701e51c1f7

Added 8 bug fixes and 5 more contrbutors

commit 40513b6443a2382788d280fdea582bc5e683e924
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Mar 9 02:59:05 2016 -0500

mprintf: Fix processing of width and prec args

Prior to this change a width arg could be erroneously output, and also
width and precision args could not be used together without crashing.

"%0*d%s", 2, 9, "foo"

Before: "092"
After: "09foo"

"%*.*s", 5, 2, "foo"

Before: crash
After: " fo"

Test 557 is updated to verify this and more

commit e98d916b1fb32aa9efcdf5468f314667e7649c16
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Fri May 13 00:02:21 2016 +0200

ConnectionExists: follow-up fix for proxy re-use

Follow-up commit to 5823179

Closes #648

commit c0c7f7b3c4a18a328650bfe78a7465b18839a932
Author: Per Malmberg <per.malmberg@snowsoftware.com>
Date: Thu May 12 12:16:16 2016 +0200

darwinssl: fix certificate verification disable on OS X 10.8

The new way of disabling certificate verification doesn't work on
Mountain Lion (OS X 10.8) so we need to use the old way in that version
too. I've tested this solution on versions 10.7.5, 10.8, 10.9, 10.10.2
and 10.11.

Closes #802

commit d8dcc863c443467b5ddb0fc04f7882fdd6214957
Author: Cory Benfield <lukasaoz@gmail.com>
Date: Wed May 11 12:35:05 2016 +0100

http2: Add space between colon and header value

curl's representation of HTTP/2 responses involves transforming the
response to a format that is similar to HTTP/1.1. Prior to this change,
curl would do this by separating header names and values with only a
colon, without introducing a space after the colon.

While this is technically a valid way to represent a HTTP/1.1 header
block, it is much more common to see a space following the colon. This
change introduces that space, to ensure that incautious tools are safely
able to parse the header block.

This also ensures that the difference between the HTTP/1.1 and HTTP/2
response layout is as minimal as possible.

Bug: https://github.com/curl/curl/issues/797

Closes #798
Fixes #797

commit 5dfc9472377fba79ae7387ca8abbd5ef09c8557f
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu May 12 08:36:21 2016 +0200

openssl: fix compile-time warning in Curl_ossl_check_cxn()

... introduced in curl-7_48_0-293-g2968c83:

Error: COMPILER_WARNING:
lib/vtls/openssl.c: scope_hint: In function ‘Curl_ossl_check_cxn’
lib/vtls/openssl.c:767:15: warning: conversion to ‘int’ from ‘ssize_t’
may alter its value [-Wconversion]

commit e43046d2acdb834528447ca26bf001890cefcf62
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed May 11 21:21:15 2016 -0400

openssl: stricter connection check function

- In the case of recv error, limit returning 'connection still in place'
to EINPROGRESS, EAGAIN and EWOULDBLOCK.

This is an improvement on the parent commit which changed the openssl
connection check to use recv MSG_PEEK instead of SSL_peek.

Ref: https://github.com/curl/curl/commit/856baf5#comments

commit 3015848733b70e73457d6caba257a309e143e1d2
Author: Anders Bakken <agbakken@gmail.com>
Date: Tue May 10 12:49:33 2016 -0700

TLS: SSL_peek is not a const operation

Calling SSL_peek can cause bytes to be read from the raw socket which in
turn can upset the select machinery that determines whether there's data
available on the socket.

Since Curl_ossl_check_cxn only tries to determine whether the socket is
alive and doesn't actually need to see the bytes SSL_peek seems like
the wrong function to call.

We're able to occasionally reproduce a connect timeout due to this
bug. What happens is that Curl doesn't know to call SSL_connect again
after the peek happens since data is buffered in the SSL buffer and thus
select won't fire for this socket.

Closes #795

commit c255912dfd8fcaa06720bb736dc253434ed42be1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 9 16:50:11 2016 +0200

TLS: move the ALPN/NPN enable bits to the connection

Only protocols that actually have a protocol registered for ALPN and NPN
should try to get that negotiated in the TLS handshake. That is only
HTTPS (well, http/1.1 and http/2) right now. Previously ALPN and NPN
would wrongly be used in all handshakes if libcurl was built with it
enabled.

Reported-by: Jay Satiro

Fixes #789

commit b5354fc1f99756ab9cf8540d5feb67c6e0ecb46d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 8 15:48:26 2016 +0200

libcurl-thread.3: openssl 1.1.0 is safe, and so is boringssl

commit 5d9516199c4e6c4e26e2c3913fb24d311f3c3e0e
Author: Antonio Larrosa <larrosa@kde.org>
Date: Thu May 5 19:50:15 2016 +0200

connect: fix invalid "Network is unreachable" errors

Sometimes, in systems with both ipv4 and ipv6 addresses but where the
network doesn't support ipv6, Curl_is_connected returns an error
(intermittently) even if the ipv4 socket connects successfully.

This happens because there's a for-loop that iterates on the sockets but
the error variable is not resetted when the ipv4 is checked and is ok.

This patch fixes this problem by setting error to 0 when checking the
second socket and not having a result yet.

Fixes #794

commit 90fa4d7fff229814c8698a6cb1a43f5af227ce86
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu May 5 14:34:27 2016 -0400

FAQ: refer to thread safety guidelines

commit d02ab0afd3d640d51105f537aa17603ad1c3f2a0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 2 23:15:05 2016 +0200

connections: non-HTTP proxies on different ports aren't reused either

Reported-by: Oleg Pudeyev and fuchaoqun

Fixes #648

commit 44577c9ad426222f0c49887521fecf1b1e7a3e17
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 2 11:24:11 2016 +0200

http: make sure a blank header overrides accept_decoding

Reported-by: rcanavan
Assisted-by: Isaac Boukris
Closes #785

commit 2e77fc44fa39ac83ef5a3f54aa1bdbe40b0f04a7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 2 11:18:59 2016 +0200

CHECKSRC.md: clarified, explained the whitelist file

commit 80fbb64602d3142da9c8faa34e86bb79ea092062
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 2 09:09:16 2016 +0200

nroff-scan.pl: verify that references are made with \fI

commit 814abf8a78a4a08e824c6060cb5a9d457076f6ef
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 2 09:09:36 2016 +0200

docs: unified man page references to use \fI

commit abb9392f47f078f13f43eab1ee9591c39ecd76a5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon May 2 08:36:54 2016 +0200

TODO: 17.14 --fail without --location should treat 3xx as a failure

Closes #727

commit cfd22fe432a74ba872bc4d3cf32e25a6c9eff9ff
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 23:44:02 2016 +0200

RELEASE-NOTES: synced with 7987f5cb14d

commit 516b948e1cd493f349d8ebd25567ad0c1e1dfe17
Author: Isaac Boukris <iboukris@gmail.com>
Date: Sat Apr 23 15:52:04 2016 +0300

CURLOPT_ACCEPT_ENCODING.3: Follow-up clarification

Mention possible content-length mismatch with sum of bytes reported
by write callbacks when auto decoding is enabled.

See #785

commit 4ed86b17332198915d0fcb22b71808782dc838d9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 23:07:35 2016 +0200

test1140: run nroff-scan to verify man pages

commit ee4eaef37334771515b434bb29c468961fce517d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 23:07:06 2016 +0200

nroff-scan.pl: verify the .BR references as well

commit be8bb56607f76f5a0d130bb12595c73bd7a9c9dd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 23:06:43 2016 +0200

CURLOPT_CONV_TO_NETWORK_FUNCTION.3: fix bad man page reference

commit 287911ab351da110b56f739a86dd1cee2e2e46c7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 23:06:15 2016 +0200

CURLOPT_BUFFERSIZE.3: fix reference to CURLOPT_MAX_RECV_SPEED_LARGE

commit 61f2805e3d1b7a71a05a78b87f2e310b55d68d9e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 23:05:55 2016 +0200

curl_easy_pause.3: fix man page reference

commit a4305a67583eeeb52c9473de3d0d449b82d2ed56
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun May 1 16:07:04 2016 -0400

tool_cb_hdr: Fix --remote-header-name with schemeless URL

- Move the existing scheme check from tool_operate.

In the case of --remote-header-name we want to parse Content-disposition
for a filename, but only if the scheme is http or https. A recent
adjustment 0dc4d8e was made to account for schemeless URLs however it's
not 100% accurate. To remedy that I've moved the scheme check to the
header callback, since at that point the library has already determined
the scheme.

Bug: https://github.com/curl/curl/issues/760
Reported-by: Kai Noda

commit bf412cbe0eafc775648fd131a73e4105408402ee
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 17:05:38 2016 +0200

tls: make setting pinnedkey option fail if not supported

to make it obvious to users trying to use the feature with TLS backends
not supporting it.

Discussed in #781
Reported-by: Travis Burtrum

commit 76c831213e77e0970662d6a224479de27155ebc0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 16:41:35 2016 +0200

nroff-scan.pl: verifies nroff pages

... not used by any test yet but can be used stand-alone.

commit 32dd6a5d71b8ffc7ff5dc3af2d0eaade5ec54683
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 16:41:04 2016 +0200

opts: fix broken/bad references

commit 5259ac9abd43ea647e2fb2510abbf4a60275ecf3
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sun May 1 13:22:16 2016 +0200

docs: fix bugs in CURLOPT_HTTP_VERSION.3 and CURLOPT_PIPEWAIT.3

Closes #786

commit 7199a99bf4f8b914e59f9bf689bf51513f2af4ef
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun May 1 13:29:11 2016 +0200

CURLOPT_ACCEPT_ENCODING.3: clarified

As discussed in #785

commit 677c1b453c35daf094ef8e9687cfbcc93844e17c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Apr 30 00:15:44 2016 +0200

curl.1: --mail-rcpt can be used multiple times

Reported-by: mgendre
Closes #784

commit 3ef3eed84e0e8d779d7b85f7764a25ff887fee71
Author: Karlson2k <k2k@narod.ru>
Date: Mon Feb 22 10:06:53 2016 +0300

tests: Use 'pathhelp' for paths conversions in secureserver.pl

Closes #675

commit f4f19b838451966761a3e67b79ff08a3e2e3d2cc
Author: Karlson2k <k2k@narod.ru>
Date: Sun Feb 21 23:17:57 2016 +0300

tests: Use 'pathhelp' for paths conversions in sshserver.pl

commit 059cad2a994286246386be181a8a4185e8cf32b8
Author: Karlson2k <k2k@narod.ru>
Date: Wed Mar 16 00:14:47 2016 +0300

tests: Use 'pathhelp' for current path in runtests.pl

commit 9e1429c09847bd15200ff837c3ed7e6f9988e39c
Author: Karlson2k <k2k@narod.ru>
Date: Tue Mar 15 23:07:19 2016 +0300

tests: pathhelp.pm to process paths on Msys/Cygwin

commit 6c4a308a688c6f9bfd218d6c7faced84745d964a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 29 15:46:40 2016 +0200

lib: include curl_printf.h as one of the last headers

curl_printf.h defines printf to curl_mprintf, etc. This can cause
problems with external headers which may use
__attribute__((format(printf, ...))) markers etc.

To avoid that they cause problems with system includes, we include
curl_printf.h after any system headers. That makes the three last
headers to always be, and we keep them in this order:

curl_printf.h
curl_memory.h
memdebug.h

None of them include system headers, they all do funny #defines.

Reported-by: David Benjamin

Fixes #743

commit c273bf8e8fb146190cfe7974eafc79fe65ae474d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 29 15:33:46 2016 +0200

memdebug.h: remove inclusion of other headers

Mostly because they're not needed, because memdebug.h is always included
last of all headers so the others already included the correct ones.

But also, starting now we don't want this to accidentally include any
system headers, as the header included _before_ this header may add
defines and other fun stuff that we won't want used in system includes.

commit dd865137fafade1ee1ea2d4e8f39e27b915416ff
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Apr 29 15:24:10 2016 +0200

curl -J: make it work even without http:// scheme on URL

It does open up a miniscule risk that one of the other protocols that
libcurl could use would send back a Content-Disposition header and then
curl would act on it even if not HTTP.

A future mitigation for this risk would be to allow the callback to ask
libcurl which protocol is being used.

Verified with test 1312

Closes #760

commit ac019c3d473f88553eb15264a138498b6bde6089
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:52:37 2016 +0200

manpage-scan.pl: also verify the command line option docs

This script now also scans src/tool_getparam.c, docs/curl.1 and
src/tool_help.c and will warn if any of them lists a command line option
not mentioned in one of the other places.

commit a111f803aef53cfa339a924823343fd19a2a1147
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:50:52 2016 +0200

curl: show the long option version of -q in the -h list

commit f01933f079e72b0bb5c7276dc211ee03cf628c2a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:47:03 2016 +0200

curl: remove "--socks" as "--socks5" turned 8

In commit 2e42b0a2524 (Jan 2008) we made the option "--socks" deprecated
and it has not been documented since. The more explicit socks options
(like --socks4 or --socks5) should be used.

commit 500177d9de72cec03d85a24423ead24a33ba8a40
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:46:31 2016 +0200

curl.1: document the deprecated --ftp-ssl option

commit 2bd39a8a16f99a44612937466574c1ead7a5327c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:38:28 2016 +0200

curl: remove --http-request

It was mentioned as deprecated already in commit ae1912cb0d4 from
1999. It has not been documented in this millennium.

commit a925bd58567a44ba47c7aabf2ace8240e81290e5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:33:27 2016 +0200

curl: mention --ntlm-wb in -h list

commit ab8392d34a70f514aa9277fe7d2e11165c81605c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:31:53 2016 +0200

curl: -h output lacked --proxy-header

commit 19c03ca2f367b99aa2ed11aed356eb13c105e737
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:26:52 2016 +0200

curl.1: document --ntlm-wb

commit 2c6382994de9ae6834b7df86a0fd2e1306b38c14
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:23:44 2016 +0200

curl.1: document the long format of -q: --disable

commit 48a27255cce7077c54f6e27770c7421689df084c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:23:17 2016 +0200

curl.1: mention the deprecated --krb4 option

commit 50dcd06fca6d95d0240ec66613d04be93402ca94
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:18:28 2016 +0200

curl.1: document --ftp-ssl-reqd

Even if deprecated, document it so that people will find it as old
scripts may still use it.

commit 5b98227a56c3f383ab9febe06e735816f3419d42
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:13:55 2016 +0200

curl: use --telnet-option as documented

The code said "telnet-options" but no documentation ever said so. It
worked fine since the code is fine with a unique match of the first
part.

commit daf1a22df81eb90f484240b25d957111a2343418
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 23:08:42 2016 +0200

getparam: remove support for --ftpport

It has been deprecated and undocumented since commit ad5ead8bed7 (Dec
2003). --ftp-port is the proper long option name.

commit bac90204b3a5bc745a716c559dc9bd522fe3ddb6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 22:32:05 2016 +0200

curl: make --disable work as long form of -q

To make the aliases list reflect reality.

commit 862768dcec82e1704c4606d28185d158b6d15e2c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 22:28:37 2016 +0200

aliases: remove trailing space from capath string

commit d511fd9c19603418e184670063654c3ef0f311ad
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 22:24:10 2016 +0200

cmdline parse: only single letter options have single-letter strings

... moved around options so that parsing the code to find all
single-letter options easier.

commit 55fa26fb7b7e44c989352ed25d40518abfdf94ae
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Apr 28 16:48:38 2016 -0400

CURLINFO_TLS_SSL_PTR.3: Clarify SSL pointer availability

Bug: https://curl.haxx.se/mail/lib-2016-04/0126.html
Reported-by: Bru Rom

commit a5fe7027b7173015ef72d8477ede65ca573e8747
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 16:31:37 2016 +0200

curl_easy_getinfo.3: remove superfluous blank lines

commit ca2a93176aedfacaf600ed2e45d1152195f454b4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 16:27:51 2016 +0200

test1139: verifies libcurl option man page presence

- checks that each option has its own man page present

- checks that each option is mentioned in its corresponding index man
page

commit 3567c6611567b7afb5170c61b0cad28841b2a522
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 28 16:26:42 2016 +0200

curl_easy_getinfo.3: added missing mention of CURLINFO_TLS_SESSION

... although it is deprecated.

commit c5498c5dae9493021afab86f8311bd850969520a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Apr 28 02:57:12 2016 -0400

mbedtls: Fix session resume

This also fixes PolarSSL session resume.

Prior to this change the TLS session information wasn't properly
saved and restored for PolarSSL and mbedTLS.

Bug: https://curl.haxx.se/mail/lib-2016-01/0070.html
Reported-by: Thomas Glanzmann

Bug: https://curl.haxx.se/mail/lib-2016-04/0095.html
Reported-by: Moti Avrahami

commit 73323130a5d74b81f54f82ff8a8a582d86cc7e99
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 27 15:31:38 2016 +0200

RELEASE-NOTES: synced with f4298fcc6d2

commit 1a26114061f097a84544c0796d81d5f0885ee1aa
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Tue Apr 26 23:51:50 2016 +0200

opts: Fix some syntax errors in example code fragments

Fixes #779

commit c6ce372b239d13d143f85080a1c8c503f49a959f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 26 23:55:31 2016 +0200

openssl: avoid BN_print a NULL bignum

OpenSSL 1.1.0-pre seems to return NULL(?) for a whole lot of those
numbers so make sure the function handles this.

Reported-by: Linus Nordberg

commit 5abce4f5941db07ede65dec1e5c61d042484fa14
Author: Marcel Raad <raad@teamviewer.com>
Date: Mon Feb 15 08:58:36 2016 +0100

CONNECT_ONLY: don't close connection on GSS 401/407 reponses

Previously, connections were closed immediately before the user had a
chance to extract the socket when the proxy required Negotiate
authentication.

This regression was brought in with the security fix in commit
79b9d5f1a42578f

Closes #655

commit 1e6ac00de13959b1d1945d4e024a287efc929c6a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 26 15:17:07 2016 +0200

CURLINFO_TLS_SESSION.3: clarify TLS library support before 7.48.0

commit 62ffc7de90adfb6f3a882707a82983bbd0c7277e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 26 00:28:40 2016 +0200

mbedtls.c: silly spellfix of a comment

commit 6aee1e17934fd3dc9604df0a415710f6d1ab249c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 26 00:07:40 2016 +0200

KNOWN_BUGS: 1.10 Strips trailing dot from host name

Closes #716

commit 24ae676c66294f0f9051a7c6e6ddb060577d78fc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 25 23:51:33 2016 +0200

test1322: verify stripping of trailing dot from host name

While being debated (in #716) and a violation of RFC 7230 section 5.4,
this test verifies that the existing functionality works as intended. It
strips the dot from the host name and uses the host without dot
throughout the internals.

commit 83e671d225c5cdb982d3a89e9143975dcf532f46
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Apr 23 22:46:15 2016 +0200

multi: accidentally used resolved host name instead of proxy

Regression introduced in 09b5a998

Bug: https://curl.haxx.se/mail/lib-2016-04/0084.html
Reported-by: BoBo

commit d212b90b1a4167bb9aa6b9f20c8f2332f11eb86e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 25 23:15:00 2016 +0200

symbols-in-versions: added new CURLSSLBACKEND_ symbols

commit 8f2ae61d9e3604c19d5adfcbdfc106ed14d19409
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 25 23:10:13 2016 +0200

test148: fixed after the --ftp-create-dirs retry change

follow-up commit to 3c1e84f569 as it made curl try a little harder

commit a668d5bbe33d8c7acdda77af19060bb1716ef03c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 25 11:35:12 2016 +0200

curl.h: clarify curl_sslbackend for openssl clones and renames

commit cadb702ac30c58522ac60cbf06bf8d11a4394651
Author: Karlson2k <k2k@narod.ru>
Date: Mon Apr 25 12:12:26 2016 +0300

url.c: fixed DEBUGASSERT() for WinSock workaround

If buffer is allocated, but nothing is received during prereceive
stage, than number of processed bytes must be zero.

Closes #778

commit c13f42898f81ca023afa67f0db0c82b997f6406c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 25 11:20:23 2016 +0200

KNOWN_BUGS: --interface for ipv6 binds to unusable IP address

Closes #686 for now.

commit 5f46d6f694c7b59ae6bec5561a202064bbaf5bcf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 24 23:51:34 2016 +0200

TODO: 1.17 Add support for IRIs

Adding support for IRIs is a mouthful, but is probably interesting at
least for areas and countries where the use of such "URLs" are growing
popularity.

Closes #776

commit 9c6a48fcedf56d54ffdb8a5dee2da660c324d343
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 24 12:46:41 2016 +0200

THANKS-filter: Travis Burtrum

commit c143ec0ac918d973ec1b718b5e82d4dd90da1534
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 24 12:27:22 2016 +0200

lib1517: checksrc compliance

commit ec80fa3185eefcd26ed616eaff7aa60effce5702
Author: moparisthebest <admin@moparisthebest.com>
Date: Thu Apr 21 21:21:45 2016 -0400

PolarSSL: Implement public key pinning

commit 140f6df1c9f66333dc2d9500f1ec5ac0c56e677b
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Fri Apr 22 16:50:30 2016 +0200

os400: upgrade ILE/RPG binding

commit ec429a02e4d6ec0d5328153131e291aa60dbf04b
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Fri Apr 22 16:49:02 2016 +0200

curl.h: CURLOPT_CONNECT_TO sets a struct slist *, not a string

commit eaee7dfb7bf7263db19070a5d1c5bf8c329386cf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 22 15:53:42 2016 +0200

contributors.sh: make --releasenotes implied

It got too annoying to type =)

commit 9d415a922c5ae1ee7ce70fa52e1ae0a4e8bca88a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 22 15:46:34 2016 +0200

RELEASE-NOTES: synced with 3c1e84f5693d8093

commit 93430cb00430e45521bf043694cdfc707c01ba3d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 22 15:25:13 2016 +0200

curl: make --ftp-create-dirs retry on failure

The underlying libcurl option used for this feature is
CURLOPT_FTP_CREATE_MISSING_DIRS which has the ability to retry the dir
creation, but it was never set to do that by the command line tool.

Now it does.

Bug: https://curl.haxx.se/mail/archive-2016-04/0021.html
Reported-by: John Wanghui
Help-by: Leif W

commit 521b69dde4bc36b97bc7830824b8d32cf6777db3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 21 23:14:13 2016 +0200

KNOWN_BUGS: fixed "5.6 Improper use of Autoconf cache variables"

As of commit d9f3b365a3

commit 1b1c7b55c63ca4b5b53b9f8faff6cb626d5570ad
Author: Irfan Adilovic <i.adilovic@nfotex.com>
Date: Sun Apr 17 22:05:15 2016 +0200

configure: ac_cv_ -> curl_cv_ for write-only vars

These configure vars are modified in a curl-specific way but never
evaluated or loaded from cache, even though they are designated as
_cv_. We could either implement proper AC_CACHE_CHECKs for them, or
remove them completely.

Fixes #603 as ac_cv_func_gethostbyname is no longer clobbered, and
AC_CHECK_FUNC(gethostbyname...) will no longer spuriously succeed after
the first configure run with caching.

`ac_cv_func_strcasecmp` is curious, see #770.

`eval "ac_cv_func_$func=yes"` can still cause problems as it works in
tandem with AC_CHECK_FUNCS and then potentially modifies its result. It
would be best to rewrite this test to use a new CURL_CHECK_FUNCS macro,
which works the same as AC_CHECK_FUNCS but relies on caching the values
of curl_cv_func_* variables, without modifiying ac_cv_func_*.

commit 4c09479d6298cdd15668d084fb925deab9cd8f05
Author: Irfan Adilovic <i.adilovic@nfotex.com>
Date: Sun Apr 17 21:58:15 2016 +0200

configure: ac_cv_ -> curl_cv_ for r/w vars

These configure vars are modified in a curl-specific way and modified by
the configure process, but are never loaded from cache, even though they
are designated as _cv_. We should implement proper AC_CACHE_CHECKs for
them eventually.

commit 8f363a559b17328934000ae9d0c2b733586b7cb0
Author: Irfan Adilovic <i.adilovic@nfotex.com>
Date: Sun Apr 17 17:01:13 2016 +0200

configure: ac_cv_func_clock_gettime -> curl_...

This variable must not be cached in its current form, as any cached
information will prevent the next configure run from determining the
correct LIBS needed for the function. Thus, rename prefix `ac_cv_` to
just `curl_`.

commit c9db2a9b5a077e1f15ce6ba728a9fcffae34d825
Author: Irfan Adilovic <i.adilovic@nfotex.com>
Date: Fri Apr 15 16:37:20 2016 +0200

configure: ac_cv_ -> curl_cv_ for all cached vars

This was automated by:

sed -b -i -f <(ack -A1 AC_CACHE_CHECK | \
ack -o 'ac_cv_.*?\b' | \
sort -u | xargs -n1 bash -c \
'echo "s/$0/curl_cv_${0#ac_cv_}/g"') \
$(git ls-files)

This only changed the prefix for 16 variables actually checked with
AC_CACHE_CHECK.

commit 06e5a532303f3d53ea72903964cf2a17c6431ea6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 21 10:24:23 2016 +0200

openssl: builds with OpenSSL 1.1.0-pre5

The RSA, DSA and DH structs are now opaque and require use of new APIs

Fixes #763

commit 9c4d5c0bc22586f7ad9365f256952b1b862f8b47
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Apr 20 18:07:05 2016 +0100

url.c: Prefer we don't use explicit NULLs in conditions

Fixed commit fa5fa65a30 to not use NULLs in if condition.

commit b9be5347b632ee24c93003db39bd9883cdbf6139
Author: Isaac Boukris <iboukris@gmail.com>
Date: Sat Apr 16 11:49:09 2016 +0300

NTLM: check for NULL pointer before deferencing

At ConnectionExists, both check->proxyuser and check->proxypasswd
could be NULL, so make sure to check first.

Fixes #765

commit 636970d11edbffae693c47109a500ef9e451624c
Author: Karlson2k <k2k@narod.ru>
Date: Thu Mar 17 20:04:20 2016 +0300

tests: added test1517

... for checking ability to receive full HTTP response when POST request
is used with slow read callback function.

This test checks for bug #657 and verifies the work-around from
72d5e144fbc6.

Closes #720

commit 916d86e9ecfd95888a20b4d8315bf8899a1f26c0
Author: Karlson2k <k2k@narod.ru>
Date: Fri Feb 19 22:38:20 2016 +0300

sendf.c: added ability to call recv() before send() as workaround

WinSock destroys recv() buffer if send() is failed. As result - server
response may be lost if server sent it while curl is still sending
request. This behavior noticeable on HTTP server short replies if
libcurl use several send() for request (usually for POST request).
To workaround this problem, libcurl use recv() before every send() and
keeps received data in intermediate buffer for further processing.

Fixes: #657
Closes: #668

commit 9b8c22af77364dcdbca2f3a75601c20a5c79fa2f
Author: Kamil Dudka <kdudka@redhat.com>
Date: Tue Apr 19 09:38:44 2016 +0200

connect: make sure that rc is initialized in singleipconnect()

This commit fixes a Clang warning introduced in curl-7_48_0-190-g8f72b13:

Error: CLANG_WARNING:
lib/connect.c:1120:11: warning: The right operand of '==' is a garbage value
1118| }
1119|
1120|-> if(-1 == rc)
1121| error = SOCKERRNO;
1122| }

commit 99200bf300cf34988b0575acbc68bd1c747c3549
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:48:36 2016 +0200

make/checksrc: use $srcdir, not $top_srcdir

commit 8508d3c1ea2127075c22011a6a6d08a2220da536
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:43:13 2016 +0200

src/checksrc.whitelist: removed

commit 7a81cf54eb54ddfd45a756316fd425f8555ed721
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:42:55 2016 +0200

tool_operate: switch to inline checksrc ignore

commit e37d9bee05cd6d292c84ef17aa28921640393f6b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:30:43 2016 +0200

lib/checksrc.whitelist: not needed anymore

... as checksrc now skips comments

commit 5a5e04d4a5bccf33d673b7df572bbbcec4306676
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:41:15 2016 +0200

vtls.h: remove a space before semicolon

... that the new checksrc detected

commit 24121339200d7a16d759acf4ce054248cebfa0e8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:32:14 2016 +0200

darwinssl: removed commented out code

commit 5cf2c12553c10afe900d764de1c2af56f2aea71e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:31:33 2016 +0200

http_chunks: removed checksrc disable

... since checksrc now skips comments

commit 2d544104959b8c787c16b79eb818b98c9d59ead9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:31:11 2016 +0200

imap: inlined checksrc disable instead of whitelist edit

commit ccc4558ce3f409acbb083c81bf508c937a2ad864
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 08:30:13 2016 +0200

checksrc: taught to skip comments

... but output non-stripped version of the line, even if that then can
make the script identify the wrong position in the line at
times. Showing the line stripped (ie without comments) is just too
surprising.

commit e9e42a08e945b75b8750a04652a0f5b1038aed9a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 07:59:35 2016 +0200

opts/Makefile.am: list all docs file one by one

... to make it easier to add lines in patches that won't just break all
other patches trying to add lines too.

commit b8869ab0336c56e4b1ca104e32743bb65437a197
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 00:48:56 2016 +0200

curl_easy_setopt.3: mention CURLOPT_TCP_FASTOPEN

commit 69f02834b0a06154b4edfbb3320fd44da4886103
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 19 00:39:27 2016 +0200

RELEASE-NOTES: synced with 03de4e4b219

(since we just merged two major features)

commit d48a87f137c51197a8bd00a8b0c5cafe5ee2bcbb
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Sun Apr 3 13:08:28 2016 +0100

connect: implement TCP Fast Open for Linux

Closes #660

commit ec2efbbe76a6f2c2c2c7d2152e50d95b051d3cf0
Author: Alessandro Ghedini <alessandro@cloudflare.com>
Date: Tue Feb 16 12:21:34 2016 +0000

tool: add --tcp-fastopen option

commit fede41982d60eafc1dd6b5b900af9454d9835039
Author: Alessandro Ghedini <alessandro@cloudflare.com>
Date: Tue Feb 16 12:21:22 2016 +0000

connect: implement TCP Fast Open for OS X

commit 7d651b2638ff30c5ba3bd2b3b783baf2fccc68da
Author: Alessandro Ghedini <alessandro@cloudflare.com>
Date: Tue Feb 16 12:21:03 2016 +0000

url: add CURLOPT_TCP_FASTOPEN option

commit 2575aa75a1cbabf94755a210fa9cdefccd5656ba
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 18 20:10:52 2016 +0200

checksrc: pass on -D so the whitelists are found correctly

commit 6ce931dc188a2cd7ad9e13cdf1dbcd6a8f3352ac
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 18 15:53:24 2016 +0200

configure: remove check for libresolve

'strncasecmp' was once provided by libresolv (no trailing e) for SunOS,
but this check is broken and most likely adds nothing useful. Removing
now.

Reported-by: Irfan Adilovic

Discussed in #770

commit 5783715e63d2955a0a4c986630f66e981d79c21a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 18 15:50:57 2016 +0200

scripts/make: use $(EXEEXT) for executables

Reported-by: bodop

Fixes #771

commit f4652556a47a089f9d8d1e6e6567fecadcc41e5c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 18 15:04:17 2016 +0200

includes: avoid duplicate memory callback typdefs even harder

commit 1beb89235bbf4a2c450c620aef52792ea1aec7ed
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 18 14:58:11 2016 +0200

checksrc/makefile.am: use $top_srcdir to find source files

... to properly support out of source tree builds.

commit d6ab13ee1582c120abcf3ce3b777bad2e37ac10b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 18 12:38:22 2016 +0200

RELEASE-NOTES: synced with 26ec93dd6aeba8dfb5

commit 459837a0d01e596436065004cc8bb402bb3c6f68
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 18 00:02:29 2016 +0200

opts: fix option references missing (section)

commit 91ae08be70964e1e8a167bf11f62744f8bf932a7
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Mon Jan 25 14:37:24 2016 +0100

news: CURLOPT_CONNECT_TO and --connect-to

Makes curl connect to the given host+port instead of the host+port found
in the URL.

commit 61e819fa758ff2066657dd86258fbed9e4842648
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 17 17:16:21 2016 +0200

makefile.vc6: use d suffix on debug object

To allow both release and debug builds in parallel.

Reported-by: Rod Widdowson

Fixes #769

commit 3929ff667f43c84c55941ae2f3cd85ca6aae00c3
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Apr 12 00:37:44 2016 -0400

http2: Use size_t type for data drain count

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit 740224cb8ad57a997335476350edc77e0d0494db
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Mar 3 01:24:27 2016 -0500

http2: Improve header parsing

- Error if a header line is larger than supported.

- Warn if cumulative header line length may be larger than supported.

- Allow spaces when parsing the path component.

- Make sure each header line ends in \r\n. This fixes an out of bounds.

- Disallow header continuation lines until we decide what to do.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit 009f646d0785d5a2664604dcb2d89dcb9aaac285
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Mar 3 00:47:46 2016 -0500

http2: Add Curl_http2_strerror for HTTP/2 error codes

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit 9057183fd10c15a2fea4756ad523bdf2a418e78b
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Wed Feb 24 22:10:37 2016 +0900

http2: Don't increment drain when one header field is received

Sicne we write header field in temporary location, not in the memory
that upper layer provides, incrementing drain should not happen.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit e37d2d737b1c5d6aab419a1d7e1e264768c33d5b
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Tue Feb 23 23:33:04 2016 +0900

http2: Ensure that http2_handle_stream_close is called

This commit ensures that streams which was closed in on_stream_close
callback gets passed to http2_handle_stream_close. Previously, this
might not happen. To achieve this, we increment drain property to
forcibly call recv function for that stream.

To more accurately check that we have no pending event before shutting
down HTTP/2 session, we sum up drain property into
http_conn.drain_total. We only shutdown session if that value is 0.

With this commit, when stream was closed before reading response
header fields, error code CURLE_HTTP2_STREAM is returned even if
HTTP/2 level error is NO_ERROR. This signals the upper layer that
stream was closed by error just like TCP connection close in HTTP/1.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit 5909a12a2cf5437a6b7889d579d9dab9139fb65c
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Mon Feb 22 21:20:38 2016 +0900

http2: Process paused data first before tear down http2 session

This commit ensures that data from network are processed before HTTP/2
session is terminated. This is achieved by pausing nghttp2 whenever
different stream than current easy handle receives data.

This commit also fixes the bug that sometimes processing hangs when
multiple HTTP/2 streams are multiplexed.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit 6187c4915af7663e66bd354e9691a75a3f9ee6c6
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Feb 20 00:05:47 2016 +0900

http2: Check session closure early in http2_recv

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit d1e3a4118c318cda35a1d13d497f9d662fb96683
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Wed Feb 17 21:36:59 2016 +0900

http2: Add handling stream level error

Previously, when a stream was closed with other than NGHTTP2_NO_ERROR
by RST_STREAM, underlying TCP connection was dropped. This is
undesirable since there may be other streams multiplexed and they are
very much fine. This change introduce new error code
CURLE_HTTP2_STREAM, which indicates stream error that only affects the
relevant stream, and connection should be kept open. The existing
CURLE_HTTP2 means connection error in general.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

commit e54b357afa6392988bfc4a244c8afc098d81d3e1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 11 16:00:15 2016 +0200

http2: drain the socket better...

... but ignore EAGAIN if the stream has ended so that we don't end up in
a loop. This is a follow-up to c8ab613 in order to avoid the problem
d261652 was made to fix.

Reported-by: Jay Satiro
Clues-provided-by: Tatsuhiro Tsujikawa

Discussed in #750

commit c156ddf3bf36e5062a252b0999d9ea7391f79777
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 11 00:06:37 2016 +0200

KNOWN_BUGS: added info for "Hangs with PolarSSL"

commit f92d85532a32966949d69a022685e069d01560c2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 10 23:52:40 2016 +0200

KNOWN_BUGS: 1.9 HTTP/2 frames while in the connection pool kill reuse

Closes #750

commit 0595e31596ce1d63a22f2cc069a2ad2cc828560a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Apr 9 23:44:53 2016 +0200

build: include scripts/ in the dist

commit 2cf9741af35ed3ab0246999b16ee4eda58c2ad72
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 9 20:47:05 2016 +0100

CURLOPT_SOCKS5_GSSAPI_SERVICE: Merged with CURLOPT_PROXY_SERVICE_NAME

As these two options provide identical functionality, the former for
SOCK5 proxies and the latter for HTTP proxies, merged the two options
together.

As such CURLOPT_SOCKS5_GSSAPI_SERVICE is marked as deprecated as of
7.49.0.

commit c7f67a579102ea8b3d448386ca87545063cd0623
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 9 17:19:21 2016 +0100

urldata: Use bool for socks5_gssapi_nec as it is a flag

This value is set to TRUE or FALSE so should be a bool and not a long.

commit 5571db99daff8776455e0cd26911a43616888e7c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 9 17:17:37 2016 +0100

url: Ternary operator code style changes

commit 82832c3ec23fbe34604715e284515023bdf32bf0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 9 17:04:46 2016 +0100

CODE_STYLE: Added ternary operator example to 'Space around operators'

Following conversation on the libcurl mailing list.

commit 631fd545485701f7579de7f2a62941197a534885
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 9 05:57:10 2016 +0100

sasl: Fixed compilation errors from commit 9d89a0387

...when GSS-API or Windows SSPI are not used.

commit 7bf48a20328fc8ad5bedca0a6b79318fab29b7b8
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 9 05:33:03 2016 +0100

url: Corrected comments following 9d89a0387

commit 1c5c057b423b464623b460ebdf3acb363c7a237e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 8 21:45:08 2016 +0100

docs: Added clarification following commit 9d89a0387

commit cb1a7cb8fc34a211da132d5715d27e65345984fe
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 8 20:36:29 2016 +0100

Makefile: Fixed echo of checksrc check

commit 22a32b61a4dd6508d841f1d4bd43582aea0d889f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 8 20:32:40 2016 +0100

checksrc: Fix issue with the autobuilds not picking up the whitelist

commit 5cb2ad3c61b3d4ea3b77706ff771a18039d595b0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 8 20:22:14 2016 +0100

checksrc: Added missing vauth and vtls directories

commit 02fab3975fe035e248ae6cc25ca5c4e46146de61
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 8 18:59:33 2016 +0100

ftp/imap/pop3/smtp: Allow the service name to be overridden

Allow the service name to be overridden for DIGIST-MD5 and Kerberos 5
authentication in FTP, IMAP, POP3 and SMTP.

commit c6274ba9e4f73efa070cc40f98df692130569a4c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 8 18:41:41 2016 +0100

http_negotiate: Calculate service name and proxy service name locally

Calculate the service name and proxy service names locally, rather than
in url.c which will allow for us to support overriding the service name
for other protocols such as FTP, IMAP, POP3 and SMTP.

commit 560ac54387370f911dba1a1afec6c8ac6015109c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 8 17:04:25 2016 +0100

ROADMAP: Updated following the move of the authentication code

commit 5ece26fcaaf2c64e2e022d1974f1597a3f120711
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Fri Apr 8 16:49:49 2016 +0200

KNOWN_BUGS: openldap hangs. TODO: binary SASL.

commit 415187f6323ec367896dcec51047c251d21b3355
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 8 13:25:20 2016 +0200

KNOWN_BUGS: 5.6 Improper use of Autoconf cache variables

Closes #603

commit 8baaf9a842502217da32c71b26b82d43858b9f82
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 8 13:23:28 2016 +0200

KNOWN_BUGS: 11.2 error buffer not set...

Closes #544

commit 84b0f05496507a95bcea2dda3cd7199b33b57410
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 8 13:21:52 2016 +0200

KNOWN_BUGS: 11.1 Curl leaks .onion hostnames in DNS

Closes #543

commit 732b03554d0cefa26263205c4431b8020a73bb43
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 8 13:03:37 2016 +0200

KNOWN_BUGS: 1.8 DNS timing is wrong for HTTP redirects

Closes #522

commit fe8be9caf1e40aef0c639f1c3f4f44679f1c16bf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 8 10:57:25 2016 +0200

TODO: HTTP/2 "prior knowledge" is implemented!

commit 60f180f4eb4b627330d68c026358c3601a0d3d11
Author: Damien Vielpeau <damien.vielpeau@withings.com>
Date: Thu Apr 7 15:58:11 2016 +0200

mbedtls: fix MBEDTLS_DEBUG builds

commit 0243a8d525c4febd8362a11d035eb330d680b9bb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 7 16:10:10 2016 +0200

mbedtls: implement and provide *_data_pending()

... as otherwise we might get stuck thinking there's no more data to
handle.

Reported-by: Damien Vielpeau

Fixes #737

commit 1dc0fc76b6b8230387edff92e9e0d9cf8bea4e6d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 7 15:32:18 2016 +0200

mbedtls: follow-up for the previous commit

commit b8d6cf8c0b5229a4f750aa3cfc11294707ede04b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 7 15:19:35 2016 +0200

mbedtls.c: name space pollution fix, Use 'Curl_'

commit 3623e75684b0491e9422eaf3d645239bb574b36e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 7 15:16:01 2016 +0200

mbedtls.c: changed private prefix to mbed_

mbedtls_ is the prefix used by the mbedTLS library itself so we should
avoid using that for our private functions.

commit cf4d30bd8b012bf6ca950fe260748f198e53e24d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 7 15:11:05 2016 +0200

mbedtls.h: fix compiler warnings

commit 4650701918075dfa98d39c2c01b17438e627d954
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Apr 7 08:06:56 2016 +0200

Revert "winbuild: trying to set some files eol=crlf for git"

This reverts commit 9c08b4f1e7eced5a4d3782a3e0daa484c9d77d21.

Didn't help. Caused problems.

Fixes #756

commit f560997da191921948823607c8ca3b9a8702c1a2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 6 14:41:38 2016 +0200

curl.1: use example.com more

Make (most) example snippets use the example.com domain instead of the
random ones picked and used before. Some of those were probably
legitimate sites and some not. example.com is designed for this purpose.

commit d3848fbc3a8c88d9fa638744ecb391155ba84c5a
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Wed Apr 6 14:08:15 2016 +0200

HTTP2: Add a space character after the status code

The space character after the status code is mandatory, even if the
reason phrase is empty (see RFC 7230 section 3.1.2)

Closes #755

commit 078a26aeb91fe168582726d040590ee793578703
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Apr 6 11:57:48 2016 +0200

URLs: change http to https in many places

Closes #754

commit 8f49307ce0d72846b1181155dfe88ec5e6a5f37a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 6 11:29:36 2016 +0200

winbuild: trying to set some files eol=crlf for git

Thinking it might help to apply patches etc with git.

commit 8c2a67f18361a425e3c85628860db945a64af500
Author: Theodore Dubois <tbodt@users.noreply.github.com>
Date: Tue Apr 5 14:14:47 2016 -0700

curl.1: change example for -F

It's a bad idea to send your passwords anywhere, especially over HTTP.
Modified example to send a picture instead.

Fixes #752

commit be23fc54eb1c95439287a00c18e5cc763a9ab17a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Apr 6 09:20:18 2016 +0200

KNOWN_BUGS: reorganized and cleaned up

Now sorted into categories and organized in the same style we do the
TODO document. It will make each issue linked properly on the
https://curl.haxx.se/docs/knownbugs.html web page.

The sections should make it easier to find issues and issues related to
areas of the reader's specific interest.

commit d561d4ff14dae5dfad74a939ffd066af36f17fba
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Apr 6 02:43:13 2016 -0400

KNOWN_BUGS: #95 curl in Windows can't handle Unicode arguments

commit 22b5897673867088dc800d3e7860cf4c08a4c627
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Apr 6 01:23:02 2016 +0100

KNOWN_BUGS: Use https://curl.haxx.se URL for github based issues

commit 95445548034b34adc4e486a0499920c40b1bb080
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Apr 6 01:00:01 2016 +0100

CHECKSRC.md: Corrected some typos

commit 6c11eca7891aa01793f434cb07da219ec428fff0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Apr 6 00:26:12 2016 +0100

RELEASE-NOTES: Corrected last updated

Included a summary of the checksrc.bat updates and combined two krb5
changes as they should have been implemented at the same time.

commit d337b55a2e8d9e69158af193aa432a38f88a35d5
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Apr 6 00:21:07 2016 +0100

vauth: Corrected a number of typos in comments

Reported-by: Michael Osipov

commit 2e3544e7c310a33a16dbe8313a756c4b8f624266
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Apr 5 18:56:35 2016 -0400

KNOWN_BUGS: #94 IMAP custom requests use the LIST handler

Bug: https://github.com/curl/curl/issues/536
Reported-by: eXeC64@users.noreply.github.com

commit a3949926440ca076bc5ec939f30dd5d12e78b22f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 5 23:40:37 2016 +0200

KNOWN_BUGS: remove 68, 70 and 72.

Due to their age (we don't fully know if they actually remain) and lack
of detail - very few people will bother to find out what they're about
or work on them. If people truly still suffer from any of these, I
assume they will be reported again and then we'll deal with them.

72. "Pausing pipeline problems."
https://curl.haxx.se/mail/lib-2009-07/0214.html

70. Problem re-using easy handle after call to curl_multi_remove_handle
https://curl.haxx.se/mail/lib-2009-07/0249.html

68. "More questions about ares behavior".
https://curl.haxx.se/mail/lib-2009-08/0012.html

commit 688c63928581562b535fc9d985f93456f0a741c5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 5 23:39:42 2016 +0200

KNOWN_BUGS: remove 92 and 88, fixed

commit 649411a7f31ae1783ef342127c22698ef300e87c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 5 20:27:38 2016 +0200

http2: fix connection reuse when PING comes after last DATA

It turns out the google GFE HTTP/2 servers send a PING frame immediately
after a stream ends and its last DATA has been received by curl. So if
we don't drain that from the socket, it makes the socket readable in
subsequent checks and libcurl then (wrongly) assumes the connection is
dead when trying to reuse the connection.

Reported-by: Joonas Kuorilehto

Discussed in #750

commit 6bb3a0fdde8e67781c11c75ea676ae35eb91963d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Apr 5 16:36:45 2016 +0200

multi: remove trailing space in debug output

commit 9bffcc4b477a4d6e258e1804273238782359f139
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 4 09:01:27 2016 +0200

RELEASE-NOTES: synced with 86e97b642fb

commit 2b006f818bcc36891eda5b6220e3147eeea87bd7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 4 08:36:21 2016 +0200

CHECKSRC.md: mention cmdline options, fix the bullet list

commit 949afeb32a2d09aecde8d2b1230fd6ba3c297a2e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Apr 4 00:11:32 2016 +0200

docs/CHECKSRC.md: initial version

commit 1206a7d4d4fd67ee864af766288aa0295f3268bc
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 22:09:07 2016 +0100

checksrc.bat: Added support for the examples

commit ab98ca73281e13e84bf7ca4e9e99cbe7e414029e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 23:06:44 2016 +0200

lib/src: fix the checksrc invoke

... now works correctly when invoke from the root makefile

commit 842ea278f4ecee6886ec5aa545ac30eb22b02ff5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 23:06:23 2016 +0200

nw: please the stricter checksrc

commit dffe559c1f0eceb25cdb3610c77940ddaf886527
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 21:57:04 2016 +0100

checksrc.bat: Re-enabled the tests directory by default

Following the recent changes to the source in the tests directory,
re-enabled tests for the default scan.

commit 5a5e4cb407f9b4c4c6d2e270731e89c4eaee8d45
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 21:53:32 2016 +0100

checksrc.bat: Added tests/server directory support

In addition to commit 83b174b3f0 and following the recent changes.

commit ee0eed3c132325138d3985f36b79afba26bf1c52
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 21:51:47 2016 +0100

tests: Fixed header files to comply with our code style

commit 15868c516c97915dbf687ce940b4a623a3ff5fd4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 22:51:29 2016 +0200

make checksrc: run it in docs/examples too by default

commit 985170dbcdcb6d269687d7b88c7013a035b2cc3c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 22:51:52 2016 +0200

docs/examples: remove spurious white spaces all over

... to please the new, slightly picker, checksrc.pl

commit b2106891e95292b5d99cf09122fec5d165404da4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 22:42:31 2016 +0200

tests: fix make checksrc in servers/

commit 3d6704e98e9c256ad2c7628f470c1b91d26add11
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 22:37:23 2016 +0200

tests: 'make checksrc' now checks server/ too

commit 2ee00f3f8fe82cc16e6fc7f0a7a34be09edf78bf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 20:32:08 2016 +0200

root/make: have checksrc run in include/curl too

commit c451be1f1979d61b0fa87d79cd9c3d2580dce16d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 22:35:43 2016 +0200

tests/server: comply with our code style

commit 849ebe26064e18cc71d64499abbdf0890352e60b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 20:28:34 2016 +0200

code: style updates

commit cde7bc26caffce7c7756258383ae48d08a68822a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 20:28:20 2016 +0200

checksrc: check for more malplaced spaces

commit 5d6e2874bc44c9204ada50e0d951b2ecea53d636
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 16:21:10 2016 +0200

unit: make unit test source code checksrc compliant

commit dd8862b62862bf28456bf061e774d28ae3d02653
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 16:20:43 2016 +0200

checksrc: run checksrc in tests when 'make checksrc' in root

commit 3bbc57bf0886b476b390c51d26b82be2ddafed4d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 16:10:57 2016 +0200

checksrc: remove debug crap

commit a6e67f8e4bba9c06af292fab791dbe4846215e53
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 16:04:20 2016 +0200

lib557: allow too long lines

commit fcf2241b00e9137b23860bab5ba75eaf89b5345f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 16:03:40 2016 +0200

checksrc: allow ignore of specific warnings within a file (section)

commit 990580ba6d0764de3412c76f2e98b733d14abafa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 11:56:10 2016 +0200

checksrc: add warning names, explain on help output

commit 57afd1b0181d8fc18170167b78fdf5dfa5b5e923
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 20:55:19 2016 +0100

checksrc.bat: Disable tests by default until warnings are fixed

commit cc4a5c967655bce26652f3381a3af4ce2689e07b
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 20:52:38 2016 +0100

checksrc.bat: Added support for the tests directory

commit bb153359565fb898d5a269e70926ec15f58102ed
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 20:26:03 2016 +0100

vauth: Removed the need for a separate GSS-API based SPN function

commit 874e69879953d1ec8879b24e5df9908def959f0f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 17:55:17 2016 +0100

curl_sasl: Fixed potential null pointer utilisation

Although this should never happen due to the relationship between the
'mech' and 'resp' variables, and the way they are allocated together,
it does cause problems for code analysis tools:

V595 The 'mech' pointer was utilized before it was verified against
nullptr. Check lines: 376, 381. curl_sasl.c 376

Bug: https://github.com/curl/curl/issues/745
Reported-by: Alexis La Goutte

commit 4ad5c6d7c5d79ea3a6d1ebd99342d8c6e0498a28
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 17:32:10 2016 +0100

spnego: Small code tidy up

* Prefer dereference of string pointer rather than strlen()
* Free challenge pointer in one place
* Additional comments

commit 46c954b4864e6ce0336ba8f2d97d5dd50376c42c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 17:30:51 2016 +0100

krb5: Small code tidy up

* Prefer dereference of string pointer rather than strlen()
* Free challenge pointer in one place
* Additional comments

commit 1659a7b2ccaad358299070210492c08f5b0a67ab
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 17:17:20 2016 +0100

krb5_gssapi: Only process challenge when present

This wouldn't cause a problem because of the way the function is called,
but prior to this change, we were processing the challenge message when
the credentials were NULL rather than when the challenge message was
populated.

This also brings this part of the Kerberos 5 code in line with the
Negotiate code.

commit 5cba2519f5e51c32feba348ae91840ffce148562
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 17:02:44 2016 +0100

krb5: Fixed missing client response when mutual authentication enabled

Although mutual authentication is currently turned off and can only be
enabled by changing libcurl source code, authentication using Kerberos
5 has been broken since commit 79543caf90 in this use case.

commit bc320cee5d2ad33c132e8057d4b9bf7d2992c9f6
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 11:45:02 2016 +0100

krb5_sspi: Only process challenge when present

This wouldn't cause a problem because of the way the function is called,
but prior to this change, we were processing the challenge message when
the credentials were NULL rather than when the challenge message was
populated.

This also brings this part of the Kerberos 5 code in line with the
Negotiate code.

commit a306bea71e4cec0b67e6401ed7c135ca8dd88d17
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 11:25:12 2016 +0100

krb5_sspi: Only generate the output token when its not allocated

Prior to this change, we were generating the output token when the
credentials were NULL rather than when the output token was NULL.

This also brings this part of the Kerberos 5 code in line with the
Negotiate code.

commit f7b95c2a0a1d64ad5deedc7488b40e441f2a7e45
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 11:15:03 2016 +0100

krb5: Only generate a SPN when its not known

Prior to this change, we were generating the SPN in the SSPI code when
the credentials were NULL and in the GSS-API code when the context was
empty. It is better to decouple the SPN generation from these checks
and only generate it when the SPN itself is NULL.

This also brings this part of the Kerberos 5 code in line with the
Negotiate code.

commit 3f62b373b8f0a4ae17027cc4db2e183a5ccd107c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 11:57:34 2016 +0200

tests/libtest: follow our code style guidelines better

... checksrc of all test code is pending.

commit e3f2e4642b91c67dfae7500597536e1133453027
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 11:57:21 2016 +0200

checksrc.whitelist: remove fopen() uses

commit 875299bd1c3e087e938f7311dd5dd7e964704daa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 11:57:04 2016 +0200

formdata: use appropriate fopen() macros

commit 11a930c8b7947ff60baf15035fef2d9283ad99b8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 11:29:14 2016 +0200

checksrc: improve the fopen() parser somewhat

The quote scanner was too fragile, now look for a comma instead to find
the mode argument.

commit 2bc9a062e11235b76e01a8f5da8e289da2888bd4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Apr 3 10:46:36 2016 +0200

unit1604: fix snprintf

follow-up to 0326b06

sizeof(pointer) is no good for the buffer size!

Reported-by: Viktor Szakats

commit 40fbc3962b6cb0b3f34e6a94472e373bf4925cca
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Apr 3 00:02:19 2016 +0100

unittests: Fixed compilation warnings

warning: implicit declaration of function 'sprintf_was_used'
[-Wimplicit-function-declaration]

Follow up to the modications made to tests/libtest in commit 55452ebdff
as we prefer not to use sprintf() now.

commit de14edb769ca64822d093851ac7b33ada55a607b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Apr 2 17:59:25 2016 +0200

curl.1: -w filename_effective was introduced in 7.26.0

We never made a 7.25.1 release

commit 27e185ab67b8d2cf09e26f8133d715081ead8a8a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Apr 2 17:26:54 2016 +0200

7.49.0: next release version

commit 7f82ff88931d9042dba04fcec4f8be7f5ff304ac
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 1 20:42:25 2016 +0200

http2: make use of the nghttp2 error callback

It offers extra info from nghttp2 in certain error cases. Like for
example when trying prior-knowledge http2 on a server that doesn't speak
http2 at all. The error message is passed on as a verbose message to
libcurl.

Discussed in #722

The error callback was added in nghttp2 1.9.0

commit 2fb7b7b77f9dd73d3e943652830746e207f0874f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 2 06:41:29 2016 +0100

spnego: Renamed the context's SPN variable

To be consistent with the Kerberos 5 context and other authentication
code.

commit 7f505c4b559c4619478ef3361b19b61532498fce
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 2 06:25:30 2016 +0100

krb5_gssapi: Renamed the status variables

For consistency with the spnego code.

commit 6cfc900767e6a17adc65d5451d97ca080afd882d
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 2 06:15:29 2016 +0100

krb5: Moved host from Curl_auth_create_gssapi_user_message() to be argument

For consistency with the spnego and oauth2 code moved the setting of
the host name outside of the Curl_auth_create_gssapi_user_messag()
function.

This will allow us to more easily override it in the future.

commit e749aa011b87b0d0437e72e97124610579225198
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Apr 2 00:30:33 2016 +0100

test1119: Fixed missing CURL_DID_MEMORY_FUNC_TYPEDEFS symbol

commit d1292c2b1eb139511a734a451eca5458dfc157c5
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 1 22:20:58 2016 +0100

RELEASE-NOTES: Removed "http_negotiate: Corrected host and proxy host name"

As this was introduced in the recent vauth changes and not a prior
release.

commit ca98e63a15ec8d59f5b80c094d88274bf57367d1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 1 23:15:29 2016 +0200

RELEASE-NOTES: synced with 0aa8da10bbdafa

commit ff5844b33d681271060399ea153de260aa6f63de
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 1 21:48:35 2016 +0100

http_negotiate: Corrected host and proxy host name being wrong way round

I had accidentally used the proxy server name for the host and the host
server name for the proxy in commit ad5e9bfd5d and 6d6f9ca1d9. Whilst
Windows SSPI was quite happy with this, GSS-API wasn't.

Thanks-to: Michael Osipov

commit af4c678d846cf4458e862432363ef0ca2c38c3de
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 1 20:39:34 2016 +0100

build: Changed the Visual Studio projects warning level from 3 to 4

After squashing most of our compiler warnings, up'ed the default
warning level from 3 to 4 in order to increase the likelyhood of
catching future warnings.

commit 709fcbd1ce9d467139abb7a1ae538558cbb173ab
Author: ehlertjd@gmail.com <ehlertjd@gmail.com>
Date: Fri Apr 1 09:13:39 2016 -0500

IMAP: check pointer before dereferencing it

may be null in the CURLOPT_CONNECT_ONLY case

Fixes #747

commit af83964464b8a1c553e9d7bb83ff39614612ae79
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 1 20:00:05 2016 +0100

.gitignore: Added new VC14 SQLite based program database files

commit 4faef5341dd63f3fcfd9a57ac81b15495508adbe
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 1 19:12:39 2016 +0100

curl_memory.h: Fixed typo in comment

From commit 7218b52c49.

commit be4788d6801a4329a85795dbaec2046ad125a4c7
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 1 19:07:49 2016 +0100

spnego: Corrected some typos in comments

Corrected typos from commit ad5e9bfd5d and 6d6f9ca1d9.

commit a261898224059c1aec6b9c49206ff298a666760b
Author: Steve Holme <steven.holme@cubic.com>
Date: Fri Apr 1 13:21:12 2016 +0100

memdebug: Ensure curl/curl.h is included before curl_memory.h

Follow up to commit 7db9782dd6.

commit 94e2ba72b9d57ab9167b1d92ad91dbeea91e2546
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 1 13:57:15 2016 +0200

upload: missing rewind call could make libcurl hang

When an upload is done, there are two places where that can be detected
and only one of them would rewind the input stream - which sometimes is
necessary for example when doing NTLM HTTP POSTs and more.

This could then end up libcurl hanging.

Figured-out-by: Isaac Boukris
Reported-by: Anatol Belski

Fixes #741

commit 3612fdef7f76ffb2bcb3190015222a9fc4b57325
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 1 13:14:57 2016 +0200

curl.h: define CURL_DID_MEMORY_FUNC_TYPEDEFS

So that we only do the extra typedefs in curl_memory.h when we really
need to and avoid double typedefs.

follow-up commit to 7218b52c49aeb1

Thanks-to: Steve Holme

commit a2ec0a93e44489faf6b669a8dd73051f04e0a778
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Apr 1 10:14:06 2016 +0200

curl/mprintf.h: remove support for _MPRINTF_REPLACE

The define is not in our name space and is therefore not protected by
our API promises.

It was only really used by libcurl internals but was mostly erased from
there already in 8aabbf5 (March 2015). This is supposedly the final
death blow to that define from everywhere.

As a side-effect, making sure _MPRINTF_REPLACE is gone and not used, I
made the lib tests in tests/libtest/ use curl_printf.h for its redefine
magic and then subsequently the use of sprintf() got banned in the tests
as well (as it is in libcurl internals) and I then replaced them all
with snprintf().

In the unlikely event that any users is actually using this define and
gets sad by this change, it is very easily copied to the user's own
code.

commit bebb45447ebad973c2bb7acb081e46c78cbc6e27
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 31 09:08:40 2016 +0200

curl_memory.h: avoid the curl/curl.h include

Discussed in #743

commit e0e68da43a9c2e14db517267aabe667e653240fe
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Apr 1 07:24:39 2016 +0100

url: Corrected get protocol family for FTP and LDAP

Fixed copy/paste error from commit a5aec58726.

commit 05ea0fb00fdd0288381a051047415192bf706f1b
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Mar 31 21:05:29 2016 -0400

strerror: don't bit shift a signed integer

Bug: https://github.com/curl/curl/issues/744
Reported-by: Alexis La Goutte

commit a00c1d2614257e48666028095df704a457b09144
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 31 22:04:09 2016 +0200

http2: more documentation for prior knowledge

commit 9968c9ba2941199d4b01facf58eebbcfe64b35cb
Author: Diego Bes <dbesprosvan@ahoffeld-pc.tango.corp>
Date: Fri Mar 18 15:25:56 2016 -0700

http2: support "prior knowledge", no upgrade from HTTP/1.1

Supports HTTP/2 over clear TCP

- Optimize switching to HTTP/2 by removing calls to init and setup
before switching. Switching will eventually call setup and setup calls
init.

- Supports new version to “force” the use of HTTP/2 over clean TCP

- Add common line parameter “--http2-prior-knowledge” to the Curl
command line tool.

commit 1b9fe1058f2824dabb70523958ef93385ee21b5d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 31 15:12:22 2016 +0200

imap: remove duplicated function

The list and search response functions were identical! Merged into one
now. Detected by PVS Studio.

Reported-by: Alexis La Goutte

commit 924a99943eb8b21b41dbb99d268fd99911c96f1a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 31 10:22:42 2016 +0200

SOCKS5_gssapi_negotiate: don't assume little-endian ints

The code copied one byte from a 32bit integer, which works fine as long
as the byte order is the same. Not a fine assumption. Reported by PVS
Studio.

Reported-by: Alexis La Goutte

commit 2ffdc04526f879e433d71fb3f880a04141f20709
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 31 10:03:04 2016 +0200

http: remove ((expression)) double parentheses

commit 5f00509899599e9c71cc51211235eab3378adfdb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 31 10:00:55 2016 +0200

Curl_add_buffer_send: avoid possible NULL dereference

... as we check for a NULL pointer below, we move the derefence to after
the check. Detected by PVS Studio.

Reported-by: Alexis La Goutte

commit 0e100364b32a50227fb96a74f7259bc3519d594b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 31 09:53:36 2016 +0200

file: remove duplicate checks of the same variable

... as it doesn't change in between. Deteced by PVS Studio.

Reported-by: Alexis La Goutte

commit 730702c412b13fc319c946307e2180943006b54a
Author: Marcel Raad <MarcelRaad@users.noreply.github.com>
Date: Wed Mar 30 17:23:02 2016 +0200

openssl: Fix compilation warnings

When compiling with OpenSSL 1.1.0 (so that the HAVE_X509_GET0_SIGNATURE
&& HAVE_X509_GET0_EXTENSIONS pre-processor block is active), Visual C++
14 complains:

warning C4701: potentially uninitialized local variable 'palg' used
warning C4701: potentially uninitialized local variable 'psig' used

commit f19408608af9015406fa78e62dca542cb9246894
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 30 00:17:02 2016 +0200

multi: turn Curl_done into file local multi_done

... as it now is used by multi.c only.

commit 1dbdd4c73d2cb45ab3dc0c542a3ffa7acec0f40a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 29 23:56:22 2016 +0200

multi: multi_reconnect_request is the former Curl_reconnect_request

now a file local function in multi.c

commit 54bdde3abf87dd283c509a6a511fb15d236ed65c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 29 23:53:48 2016 +0200

multi: move Curl_do and Curl_do_done to multi.c and make static

... called multi_do and multi_do_done as they're file local now.

commit 538daa860eadebebb0662f43cfda4cb24ce95f04
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Mar 29 19:06:55 2016 -0400

wolfssl: Use ECC supported curves extension

https://github.com/wolfSSL/wolfssl/issues/366

commit b21e6c430469b1d30346b5c607aeaba525c57f1f
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Mar 29 18:50:12 2016 -0400

build-wolfssl: Allow a broader range of ciphers (Visual Studio)

This is an update to the build-time options used to build wolfSSL in
Visual Studio for greater compatibility, and make it behave similar to
the way OpenSSL 1.0.2 behaves. Starting in wolfSSL v3.6.6 static ciphers
and SSLv3 are disabled by default at build time, but we can use both.

- Enable static cipher suites TLS_ECDH_ and TLS_RSA_.

- Enable SSLv3 hello. Though in libcurl we disable it by default at
runtime, we make it available so the user can manually select it if
necessary.

commit 16c0271e59d2cd52809c3b8e849de2e02e4ad99f
Author: Isaac Boukris <iboukris@gmail.com>
Date: Tue Mar 29 17:13:46 2016 +0300

GSS: make Curl_gss_log_error more verbose

Also display the GSS_C_GSS_CODE (major code) when specified instead of
only GSS_C_MECH_CODE (minor code).

In addition, the old code was printing a colon twice after the prefix
and also miscalculated the length of the buffer in between calls to
gss_display_status (the length of ": " was missing).

Also, gss_buffer is not guaranteed to be NULL terminated and thus need
to restrict reading by its length.

Closes #738

commit 51346007176a5853b6aec459fd3923158da1b207
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 10:46:08 2016 +0100

build: use roffit 0.11 feature

... load file specified as argument.

commit 38f41d854efbd8bfc6ea843e56c30b274a4d337e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 29 16:08:38 2016 +0200

http2: set correct scheme in handler structs [regression]

Since commit a5aec58 the handler schemes need to match for the
connections to be reused and for HTTP/2 multiplexing to work, reusing
connections is very important!

Closes #736

commit 0c8a009f926175bb3e0a56353e24de29945e015b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 29 15:19:21 2016 +0200

hostip.c: minor white space edit for style

commit d4129a9809c31a6183b6979d8748a7a1c72c72ce
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Sun Mar 27 18:03:46 2016 +0200

TODO: use secure protocol in recently added URL

Closes #733

commit b91d45b37829aaac880388951c9be1a658191089
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 29 10:23:33 2016 +0200

HTTP2.md: mention libressl and boringssl too

commit 229e968cb2200e4a0f5436ebb1b714ae4d143c45
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 29 08:53:40 2016 +0200

docs/HTTP-COOKIES: converted to markdown

commit b380db567f0b5bc740de5adcb6960983b1472acc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 29 08:27:23 2016 +0200

HTTP2: s/polarssl/mbedtls

commit 08134f908f20b87ef8facfcd7fdf0e8441f301ec
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Mar 28 18:18:09 2016 -0400

wolfssl: Add ALPN support

commit 268b5dd0707aa339e10b239c7132de270f3424de
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Mar 28 16:46:26 2016 -0400

tool_operate: remove mixed declaration

This is a follow up to the previous commit.

commit 5ce5578a62872de98869f5e2e493bcf912201b11
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 28 20:28:23 2016 +0200

curl: warn for --capath use if not supported by libcurl

Closes #492

commit a1230e510f58bf010afad10197e29d04c4961823
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 28 10:59:39 2016 +0200

TODO: 2.5 Edge-triggered sockets should work

commit 5ba6ff20052c4a91118e219ca96a80211709dcfd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 28 00:03:42 2016 +0200

Makefile.am: skip the scripts dir

Skipping the scripts dir is primarily done for 'make install' so that it
does not attempt to install the zsh completion script as we've not yet
found a proper way to do/run that at install time.

By leaving the script dir's Makefile in place, a user can still opt to
run make install manually in there.

Closes #620

commit 46ceb719a987feec81ada692bfbe292c3efd8c2d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 27 23:50:36 2016 +0200

CURLMOPT_SOCKETFUNCTION.3: describe the 'what' argument

commit 2b9150d11712456695c63c123462f6d4647b30f4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 27 23:34:25 2016 +0200

curl_multi_socket_action.3: mark the options properly

... to make them appear as links on the html version.

commit 0d993b30fca279408c5d67b4b02900439fa5ee42
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 27 18:52:42 2016 +0100

RELEASE-NOTES: Synced with f0bdd72c10

commit 7909621c8000254aacf85c74da0ddf33597f454b
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 27 17:58:50 2016 +0100

http_ntlm: Renamed from curl_ntlm.[c|h]

Renamed the header and source files for this module as they are HTTP
specific and as such, they should use the naming convention as other
HTTP authentication source files do - this revert commit 260ee6b7bf.

Note: We could also rename curl_ntlm_wb.[c|h], however, the Winbind
code needs separating from the HTTP protocol and migrating into the
vauth directory, thus adding support for Winbind to the SASL based
protocols such as IMAP, POP3 and SMTP.

commit bfb9ec2cf8d8853eb1ac715b6e6d6c327cfb4b52
Author: marquis-de-muesli <marquis.de.muesli@gmail.com>
Date: Thu Feb 25 02:10:24 2016 +0100

docs: curlinfo_filetime sftp support, new curlopt_quote "statvfs"

Closes #677

commit 2e0317af62b012b95aad0d8224d7ca92bbf17551
Author: marquis-de-muesli <marquis.de.muesli@gmail.com>
Date: Tue Feb 23 23:37:14 2016 +0100

SSH: new CURLOPT_QUOTE command "statvfs"

usage: "statvfs path"
returns remote file system statistics

commit d41b421f593d382113e6a138efa99a2487fe3218
Author: marquis-de-muesli <marquis.de.muesli@gmail.com>
Date: Tue Feb 23 23:18:31 2016 +0100

SSH: support CURLINFO_FILETIME

commit 158b365f6b7d9269998ece24519e68df584cf1a7
Author: Karlson2k <k2k@narod.ru>
Date: Mon Feb 22 12:30:37 2016 +0300

sshserver.pl: use quotes for given options

Fixed failed redirection of stderr with some options. At least on Msys2,
perl fails to redirect stderr if $value contains newline or other weird
characters.

commit 88efe12a2842e91bf06daa78eca64990a4b7c7b0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Mar 26 14:41:35 2016 -0400

url: don't use bad offset in tld_check_name to show error

libidn's tld_check_lz returns an error offset of the first character
that it failed to process, however that offset is not a byte offset and
may not even be in the locale encoding therefore we can't use it to show
the user the character that failed to process.

Bug: https://github.com/curl/curl/issues/731
Reported-by: Karlson2k

commit 718a783db2960f2c8a53336f5e2b6d5192499e6b
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 20:09:15 2016 +0000

http_negotiate: Combine GSS-API and SSPI source files

As the GSS-API and SSPI based source files are no longer library/API
specific, following the extraction of that authentication code to the
vauth directory, combine these files rather than maintain two separate
versions.

commit c6d968ec6b0c9436b5132de73ae8c8c5611d2ac4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 18:51:46 2016 +0000

vauth: Moved the Negotiate authentication code to the new vauth directory

Part 2 of 2 - Moved the GSS-API based Negotiate authentication code.

commit 7d5bec8e1c79ad20f86c598f49ea79e3ba71d74f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 16:02:42 2016 +0000

vauth: Moved the Negotiate authentication code to the new vauth directory

Part 1 of 2 - Moved the SSPI based Negotiate authentication code.

commit 1ac29866073a6aaad55d46f2851b954884788cbc
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 26 11:35:07 2016 +0000

warnless.h: Removed spurious character from commit 696bc6b9c9

Not picked up by checksrc or Visual Studio but my own code review, this
would haven broken Intel based Unix builds - Perhaps I should learn to
type on my laptop's keyboard before committing!

commit 9c0345fbfb3ed29fa29067714aaccb58005d5f31
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 26 11:14:07 2016 +0000

schannel: Fixed compilation warning from commit f8d88a4913

warning C4244: '=': conversion from 'int' to 'unsigned short', possible
loss of data

commit 9382cfdd883d7d42fe85561125cc000c3cc99d5a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 26 11:09:01 2016 +0000

warnless?: Added some integer based conversion functions

commit 116f7b6364d99e69afac9bc759bd53f759ff873b
Author: Dusty Mabe <dusty@dustymabe.com>
Date: Fri Mar 25 12:40:48 2016 -0400

docs/TODO: Add feature request for metalink in HTTP headers

Closes #729
Closes #728

commit ca9ec2404e994c8a52ca561488879a10268a92da
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Mar 25 18:23:07 2016 +0000

build: Corrected typos from commit 70e56939aa

commit 53c8ecace81055b80005784f544fd9950dab4b61
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 11:28:42 2016 +0000

vauth: Refactored function names after move to new vauth directory

Renamed all the SASL functions that moved to the new vauth directory to
include the correct module name.

commit 963dca79f5a6e7c27ee608d2dbe23f25abfd50f4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 11:19:57 2016 +0000

vauth: Updated the copyright year after recent changes

As most of this work was performed in 2015 but not pushed until 2016
updated the copyright year to reflect the public facing changes.

commit 5de2d72b2f23b929227014e8c553fd6f46abede4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 15:24:44 2015 +0100

vauth: Moved the OAuth 2.0 authentication code to the new vauth directory

commit 3de8cae4d92feb1f9f7daf5cd705568f65d4c6f6
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 14:50:02 2015 +0100

vauth: Moved the NTLM authentication code to the new vauth directory

commit 230b5035a72288608d48feeb4f7550766ac84a24
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 14:15:09 2015 +0100

vauth: Moved the Kerberos V5 authentication code to the new vauth directory

commit 17bedd4de1323009b6183b9ba486532eb8b154b6
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Mar 25 12:17:34 2016 +0000

digest.c: Fixed checksrc warnings

commit 07adbd6c3e2bcd1d96b78a26bd583719fd0b1d89
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 13:30:58 2015 +0100

vauth: Moved the DIGEST authentication code to the new vauth directory

commit 37731b2aae0237c0b3778378e3d7e695a53ef488
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 13:02:27 2015 +0100

vauth: Moved the CRAM-MD5 authentication code to the new vauth directory

commit 48940783727aa8cd7471baaf65d2542e242cf11b
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 12:27:38 2015 +0100

vauth: Moved the ClearText authentication code to the new vauth directory

commit 29ed2c3a186de99c888cfdea3005616ebfd74441
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 11:48:24 2015 +0100

vauth: Moved Curl_sasl_build_spn() to create the initial vauth source files

commit 5866c030520421a75c5ebb8042479c975b0ab914
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 11:19:24 2015 +0100

checksrc.bat: Added support for checking the new vauth directory

commit 578799abd32473ab2ec8c43ca9fee7747c16ea60
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 12 11:14:14 2015 +0100

build: Updated all makefiles and project files for the new vauth directory

Updated the makefiles and Visual Studio project files to support moving
the authentication code to the new lib/vauth directory that was started
in commit 0d04e859e1.

commit 2497b11b6dd4f99b34f1a00b1cdf7c426285f435
Author: JDepooter <joel.depooter@gmail.com>
Date: Sun Mar 20 23:59:57 2016 -0700

schannel: Add ALPN support

Add ALPN support for schannel. This allows cURL to negotiate
HTTP/2.0 connections when built with schannel.

Closes #724

commit e08462ecc028f70d22de3dfe4f55b25a0bd4a5f1
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Mar 24 06:35:23 2016 +0000

http: Minor update based on CODE_STYLE guidelines

commit 759d380b09c9811c290017f590da9af5af49d442
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 23 23:03:08 2016 +0100

multi: fix "Operation timed out after" timer

Use the local, reasonably updated, 'now' value when creating the message
string to output for the timeout condition.

Fixes #619

commit 493898512fbf6c09d0bd7798b83845c775dc0e76
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 23 14:59:41 2016 +0100

openssl: boringssl provides the same numbering as openssl

... so we don't need extra boringssl precautions for for
HAVE_ERR_REMOVE_THREAD_STATE_NOARG.

Pointed-out-by: David Benjamin

commit bbe748a3bc4e717e80b9981cc9395433f7c336c7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 23 10:04:48 2016 +0100

openssl: fix ERR_remove_thread_state() for boringssl/libressl

The removed arg is only done in OpenSSL

Bug: https://twitter.com/xtraemeat/status/712564874098917376

commit a3a93efb786338ce309b9d4e271440b6866a5592
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 23 09:35:23 2016 +0100

bump: work on 7.48.1

commit b6fc83fd4406ecab8aa1a7477d7a391a89af808a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 23 09:32:30 2016 +0100

RELEASE-PROCEDURE: mention the github release tag edit

... and update the coming release dates a bit

commit 8d8c5cbc8920a41ea06f170715729ffb2e0bb101
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Mar 23 06:50:03 2016 +0000

checksrc.bat: Updated the help to be consistent with generate.bat

Follow up to commit a8c7f0fcbf prior to release.

commit 88a0944aec30e94575e4cce5bf344233e6729bfd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 08:19:52 2016 +0100

RELEASE-NOTES: curl 7.48.0

commit c4f74db91e2072619881bc99960b3502d12c9698
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 08:21:44 2016 +0100

THANKS: 15 new contributors from 7.48.0 release

commit c5de87b5a053804019f34c89543c7bdf458694cf
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Mar 23 01:16:21 2016 -0400

CURLINFO_TLS_SSL_PTR.3: Warn about limitations

Bug: https://github.com/curl/curl/issues/685

commit 4f2e4da5eba7fea72a27fc43661728274246ddd4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 10:43:55 2016 +0100

Revert "sshserver: remove use of AuthorizedKeysFile2"

It seems we may have some autobuild problems after this commit went
in. Trying to see if a revert helps to get them back.

This reverts commit 2716350d1f3edc8e929f6ceeee05051090f6d642.

commit 9646741b26465e14041968363b410f92fa0392c6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 10:35:22 2016 +0100

maketgz: add -j to make dist

... makes it a lot faster

commit e69433750f6f47fbbf8e6507347be3f3aa917d76
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 10:33:44 2016 +0100

libcurl-thread.3: minor nroff format fix

commit 39a2a35c2fafdbec207bf071d9c36e7e6ba79092
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 10:33:24 2016 +0100

CURLINFO_TLS_SSL_PTR.3: minor nroff format fix

commit 21424f9892e6f9ebc48708573c2fd402ca4e1344
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 22 08:19:08 2016 +0100

CODE_STYLE: indend example code

... to make it look nicer in markdown outputa

commit 2fbd4edf002b96e0014f2af089bb6221abb273fe
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Mar 22 03:03:11 2016 -0400

build-wolfssl: Update VS properties for wolfSSL v3.9.0

- Do not use wolfSSL's sample user-setting files.

wolfSSL starting in v3.9.0 has added their own sample user settings that
are applied by default, but we don't use them because we have our own
settings.

- Do not use wolfSSL's Visual Studio Unicode character setting.

wolfSSL Visual Studio projects use the Unicode character set however our
settings and options imitate mingw build which does not use the Unicode
character set. This does not appear to have any effect at the moment but
better safe than sorry.

These changes are backwards compatible with earlier versions.

commit 8766f6bf76d0a3ecccf75c49f3f316d7ccf65bb8
Author: Steve Holme <steve_holme@hotmail.com>
Date: Tue Mar 22 06:16:06 2016 +0000

hostip6: Fixed compilation warnings when verbose strings disabled

warning C4189: 'data': local variable is initialized but not referenced

...and some minor formatting/spacing changes.

commit 59e20594a2fc5982968f0faba52bbc35f4f530a3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 21 00:53:02 2016 +0100

sshserver: remove use of AuthorizedKeysFile2

Support for the (undocumented) AuthorizedKeysFile2 was removed in
OpenSSH 5.9, released in September 2011

Closes #715

commit 43894cb08615fd85f4bfa20b0331c9855a86eeaf
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 20 17:51:06 2016 +0000

connect/ntlm/http: Fixed compilation warnings when verbose strings disabled

warning C4189: 'data': local variable is initialized but not referenced

commit be2d1f9d22cd01a453d2558f9e89416aa6dfd0e8
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 20 17:35:31 2016 +0000

openssl: Fixed compilation warning when /Wall enabled

warning C4706: assignment within conditional expression

commit 1146ae7ef046cca2852101ff4d80016d55080695
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 20 11:51:11 2016 +0000

CODE_STYLE: Use boolean conditions

Rather than use TRUE, FALSE, NULL, 0 or != 0 in if/while conditions.

Additionally, corrected some example code to adhere to the recommended
coding style.

commit 59249b71c1ea2e993c88a6d6f53d47203cd4077a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 20 11:14:58 2016 +0000

inet_pton.c: Fixed compilation warnings

warning: conversion to 'unsigned char' from 'int' may alter its value

commit 5a581ba75b5a3ee858a3edf7394557fb7872b99b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Mar 19 22:46:09 2016 +0100

RELEASE-NOTES: synced with 80851028efc2fa9

commit a53ffe0392da40514feb37fbefb270d407b63f4d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Mar 19 22:37:21 2016 +0100

mbedtls: fix compiler warning

vtls/mbedtls.h:67:36: warning: implicit declaration of function
‘mbedtls_sha256’ [-Wimplicit-function-declaration]

commit 26c4a319ecfeeb1fc241674c3aabb51b58a3fa4e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 19 20:37:12 2016 +0000

easy: Minor coding standard and style updates

Following commit c5744340db. Additionally removes the need for a second
'result code' variable as well.

commit abe7ff94c0f83570f8bb7e4bb19fe4cbc17c1412
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Mar 19 15:29:52 2016 -0400

easy: Remove poll failure check in easy_transfer

.. because curl_multi_wait can no longer signal poll failure.

follow-up to 77e1726

Bug: https://github.com/curl/curl/issues/707

commit 666a070d5599e6dcdf8e988abe66f23328d93f5e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 19 17:57:43 2016 +0000

build: Added missing Visual Studio filter files for VC10 onwards

As these files don't need to contain references to the source files,
although typically do, added basic files which only include three
filters and don't require the project file generator to be modified.

These files allow the source code to be viewed in the Solution Explorer
in versions of Visual Studio from 2010 onwards in the same manner as
previous versions did rather than one large view of files.

commit 9b3e65bff281381e715eda92a6d43efdadce71ae
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 19 17:15:53 2016 +0000

ftp/imap/pop3/smtp: Fixed compilation warning when /Wall enabled

warning C4706: assignment within conditional expression

commit 01777f955568093ac0b5374f9f01fba1ab6ff82b
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 19 11:05:06 2016 +0000

config-w32.h: Fixed compilation warning when /Wall enabled

warning C4668: 'USE_IPV6' is not defined as a preprocessor macro,
replacing with '0' for '#if/#elif'

commit 389541c7003c222c302878cc9dacedf6cff4aa46
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 19 11:01:36 2016 +0000

imap.c: Fixed compilation warning with /Wall enabled

warning C4701: potentially uninitialized local variable 'size' used

Technically this can't happen, as the usage of 'size' is protected by
'if(parsed)' and 'parsed' is only set after 'size' has been parsed.

Anyway, lets keep the compiler happy.

commit 2f50a09da1874fbca8afee67270da1f305db5716
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 19 00:06:36 2016 +0000

KNOWN_BUGS: #93 Issue with CURLFORM_CONTENTLEN in arrays on 32-bit platforms

commit ba3832666667f33f1d7ccd7e17452d39f60ff74c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 18 21:59:53 2016 +0100

bump: the coming release is 7.48.0

commit 630f6824c1d731775f319a4fd1707534b9b9638e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 18 16:26:05 2016 +0100

configure: use cpp -P when needed

Since gcc 5, the processor output can get split up on multiple lines
that made the configure script fail to figure out values from
definitions. The fix is to use cpp -P, and this fix now first checks if
cpp -P is necessary and then if cpp -P works before it uses that to
extract defined values.

Fixes #719

commit aeb8aaeec65037f71d39731ca9c33f360479df22
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Mar 18 07:19:31 2016 +0000

formdata.c: Fixed compilation warning

formdata.c:390: warning: cast from pointer to integer of different size

Introduced in commit ca5f9341ef this happens because a char*, which is
32-bits wide in 32-bit land, is being cast to a curl_off_t which is
64-bits wide where 64-bit integers are supported by the compiler.

This doesn't happen in 64-bit land as a pointer is the same size as a
curl_off_t.

This fix doesn't address the fact that a 64-bit value cannot be used
for CURLFORM_CONTENTLEN when set in a form array and compiled on a
32-bit platforms, it does at least suppress the compilation warning.

commit 08121dab71b99b7e8ca61a2a4e826a1a59b99fe1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Mar 18 08:14:05 2016 +0100

FAQ: 2.5 Install libcurl for both 32bit and 64bit?

commit 89f25ebd45aa76967cd48f75a2b23945357a4fd0
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Thu Mar 17 10:42:33 2016 +0100

openssl: adapt to API breakage in ERR_remove_thread_state()

The OpenSSL API change that broke this is "Convert ERR_STATE to new
multi-threading API": openssl commit 8509dcc.

Closes #713

commit 51f61f35be897062afa366908bdb41b13f39b2d8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 17 00:55:46 2016 +0100

version: init moved to private name space, added protos

follow-up to 80015cdd52145

commit c44b0ddc3b123213bc3ad8f550abdc05ba3248bc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 16 11:02:33 2016 +0100

openssl: verbose: show matching SAN pattern

... to allow users to see which specfic wildcard that matched when such
is used.

Also minor logic cleanup to simplify the code, and I removed all tabs
from verbose strings.

commit ed099e490d20365d233b7df4e10bf42420bc366d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Mar 16 19:13:42 2016 -0400

version: thread safety

commit 757cce7f79e5077f318e8e5f8cb231612bf555f0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Mar 16 07:13:16 2016 +0000

transfer: Removed redundant HTTP authentication include files

It would also seem that share.h is not required here either as there
are no references to the Curl_share structure or functions.

commit bccf2d6a4467a13a6dbe22fa048a39743254fb88
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Mar 16 06:59:42 2016 +0000

easy: Removed redundant HTTP authentication include files

commit 7a2e158df8f3e662bd4fb0f3d4f91c8c1eb08a17
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Mar 15 16:00:36 2016 -0400

CURLOPT_SSLENGINE.3: Only for OpenSSL built with engine support

Bug: https://curl.haxx.se/mail/lib-2016-03/0150.html
Reported-by: Oliver Graute

commit 4643a83e6303f3fdacdd9014de4fa56081d0a531
Author: Steve Holme <steve_holme@hotmail.com>
Date: Tue Mar 15 06:47:13 2016 +0000

curl_sasl: Minor code indent fixes

commit 350529ae0597e918906caf30e27f0a3549452646
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 15:39:16 2016 +0100

runtests: mention when run event-based

commit c3dfb5bdb2c8a300b8c867e240c3a3c482058fdc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 15:37:03 2016 +0100

easy: add check to malloc() when running event-based

... to allow torture tests then too.

commit d677ca9ca78cac733762864cb3c9dba7c42e2323
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 15:36:40 2016 +0100

memdebug: skip logging the limit countdown, fflush when reached

commit ba115d8daa58a5115eb731fdfa0f9d38431b0e3d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 14:31:14 2016 +0100

CODE_STYLE: Space around operators

As just discussed on the mailing list, also document how we prefer
spacing in expressions.

commit c4ea366d572b4ab58cc9d2bd3fdc69a71f00dc17
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 10:50:53 2016 +0100

curl: glob_range: no need to check unsigned variable for negative

cppcheck warned:

[src/tool_urlglob.c:283]: (style) Checking if unsigned variable 'step_n'
is less than zero.

commit b3c0c612436e45edbdb5a32613cb391fc20e93ce
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 10:40:02 2016 +0100

CODE_STYLE: add example for indent style as well

commit 696ae4315c88cee13fc5335e957adccc41e85648
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 10:36:51 2016 +0100

CODE_STYLE: mention braces for functions too

commit a1a59b8e6ae3f2827929c63a0b90e1406eeb37d6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 10:31:36 2016 +0100

docs/Makefile.am: include CODE_STYLE in tarball too

commit 53a70f3c1476b0a6c22e927a4384977e1107815e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 10:31:00 2016 +0100

CONTRIBUTE: moved out code style to a separate document

commit c40c903f481bfcd4390d70f59d8c13505418c6a5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 10:28:54 2016 +0100

CODE_STYLE: initial version

Ripped out from CONTRIBUTE into its own document, but also extended from
there.

commit cd495b535e02bc0bb8f000c7073115b1f13d9bca
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 09:55:38 2016 +0100

curl_sasl.c: minor code indent fixes

commit 68fa9f65218613b7c387ae3a8ac5aa9e833a0910
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 09:44:14 2016 +0100

multi: simplified singlesocket

Since sh_getentry() now checks for invalid sockets itself and by
narrowing the scope of the remove_sock_from_hash variable.

commit 2a0a6f75b130138f6109e844d3e19a9e54789b7d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 14 09:18:01 2016 +0100

multi: introduce sh_getentry() for looking up sockets in the sockhash

Simplify the code by using a single entry that looks for a socket in the
socket hash. As indicated in #712, the code looked for CURL_SOCKET_BAD
at some point and that is ineffective/wrong and this makes it easier to
avoid that.

commit c1abcd7c5d1142729fb3e465854ecf19a1ca8ede
Author: Jaime Fullaondo <truthbk>
Date: Sun Mar 13 01:19:20 2016 -0500

multi hash: ensure modulo performed on curl_socket_t

Closes #712

commit 94f60e63c0ed7f45932a8c0ab8805b7ab8c44e76
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 17:59:06 2016 +0000

base64: Minor coding standard and style updates

commit 648c401799adb0eb4b185aa37c74ae7057cd6b13
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 17:14:57 2016 +0000

base64: Use 'CURLcode result' for curl result codes

commit e0cc669c632c707816efd01984b3c45c495600a1
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 17:09:58 2016 +0000

negotiate: Use 'CURLcode result' for curl result codes

commit b1b4d79260ce9b7e05e7f63ca2a0f3ad1fae61a0
Author: Maksim Kuzevanov <m.kuzevanov@corp.mail.ru>
Date: Mon Mar 7 19:37:49 2016 +0300

multi_runsingle: avoid loop in CURLM_STATE_WAITPROXYCONNECT

Closes #703

commit 242e4316c15eaac7c7c4004bd8aaef87ca9403a6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 13 11:01:53 2016 +0100

TODO: Use the RFC6265 test suite

commit 58c65ef3dde2124972f652a86218b0ceb44015eb
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 13 01:01:33 2016 +0000

checksrc.bat: Added the ability to scan src and lib source independently

commit 04026b49c318c08b5de3c73e41ef6392b58e3c07
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 12 17:25:15 2016 +0000

digest: Use boolean based success code for Curl_sasl_digest_get_pair()

Rather than use a 0 and 1 integer base result code use a TRUE / FALSE
based success code.

commit 4c2b1e9792f1bb6ec7dd4dcafcd829b35ba53f56
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 12 13:20:03 2016 +0000

digest: Corrected some typos in comments

commit c8ca9fbc8cca216536a58d664617f30c2a3e3bf6
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 12 11:59:52 2016 +0000

krb5: Corrected some typos in function descriptions

commit 9dd5b95bf86e8dba8c185d166322b996578efacf
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 12 11:56:10 2016 +0000

ntlm: Corrected some typos in function descriptions

commit 1bfdc6a353765dd8fdd735786c5d60d73ac74842
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Mar 11 07:46:09 2016 +0000

url: Corrected indentation when calling idna_to_ascii_lz()

commit d5116130730dcaf230a61541db176f175acf03ea
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Mar 11 07:24:39 2016 +0000

idn_win32: Use boolean based success codes

Rather than use 0 and 1 integer base result codes use a FALSE / TRUE
based success code.

commit 975bb866a552d7f84fe00c037f8d3f018fb1dcbc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 10 23:32:45 2016 +0100

idn_win32.c: warning: Trailing whitespace

commit dc537626ef19e783ed83093077250c95a0bcf553
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Mar 10 21:52:09 2016 +0000

idn_win32.c: Fixed compilation warning from commit 9e7fcd4291

warning C4267: 'function': conversion from 'size_t' to 'int',
possible loss of data

commit 7063d11710fcd71ca0ae896c0583fef7533ac8a9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 10 14:10:05 2016 +0100

THANKS-filter: unify Michael König

commit 0f434acf7dac7729ebf675c479e2ef23f40d7e28
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 10 14:09:44 2016 +0100

RELEASE-NOTES: synced with 863c5766dd

commit 0fc627c5c6ebe4b5a59aa342d0e0364689f1d0e3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 10 13:52:22 2016 +0100

ftp: remove a check for NULL(!)

... as it implies we need to check for that on all the other variable
references as well (as Coverity otherwise warns us for missing NULL
checks), and we're alredy making sure that the pointer is never NULL.

commit 1a43881c8d1eb811531639a63f919aeeebf1cf86
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 10 11:20:56 2016 +0100

cookies: first n/v pair in Set-Cookie: is the cookie, then parameters

RFC 6265 section 4.1.1 spells out that the first name/value pair in the
header is the actual cookie name and content, while the following are
the parameters.

libcurl previously had a more liberal approach which causes significant
problems when introducing new cookie parameters, like the suggested new
cookie priority draft.

The previous logic read all n/v pairs from left-to-right and the first
name used that wassn't a known parameter name would be used as the
cookie name, thus accepting "Set-Cookie: Max-Age=2; person=daniel" to be
a cookie named 'person' while an RFC 6265 compliant parser should
consider that to be a cookie named 'Max-Age' with an (unknown) parameter
'person'.

Fixes #709

commit 0742160bf3cabebce89f508cde4a46f2b5f45349
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 10 10:40:10 2016 +0100

krb5: improved type handling to avoid clang compiler warnings

commit 261dd3d5ff81ce2ec61896f51255928ec7c8586d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 10 09:36:49 2016 +0100

url.c: fix clang warning: no newline at end of file

commit e70924910ba08fda3e8bf2945705b33689614ba4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 9 10:57:42 2016 +0100

curl_multi_wait: never return -1 in 'numfds'

Such a return value isn't documented but could still happen, and the
curl tool code checks for it. It would happen when the underlying
Curl_poll() function returns an error. Starting now we mask that error
as a user of curl_multi_wait() would have no way to handle it anyway.

Reported-by: Jay Satiro
Closes #707

commit afe68b697bb3115d00e9a6e1281a3b96eebd1d9d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 9 11:09:39 2016 +0100

HTTP2.md: add CURL_HTTP_VERSION_2TLS and updated alt-svc link

commit 91d8d0c5cab418fd694057d34859afdc7d27025a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Mar 9 08:35:17 2016 +0100

curl_multi_wait.3: add example

commit dca0868397dd35197c9118fb7c8f56608a55e4b7
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 5 20:10:11 2016 +0000

imap/pop3/smtp: Fixed connections upgraded with TLS are not reused

Regression since commit 710f14edba.

Bug: https://github.com/curl/curl/issues/422
Reported-by: Justin Ehlert

commit c3a313755990a80d38b56df2a7748cb9c07780fe
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Mar 8 13:23:35 2016 -0500

opt-docs: fix heading macros

..SH should be .SH

Bug: https://github.com/curl/curl/issues/705
Reported-by: Eric S. Raymond

commit d6a8405eb4b5df826c0f4cc230ec01546e69d58c
Author: Tim Rühsen <tim.ruehsen@gmx.de>
Date: Wed Mar 2 11:07:16 2016 +0100

cookie: do not refuse cookies for localhost

Closes #658

commit bdf868a00570e5eaeb76877b3500d93c6b65062d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 8 00:07:14 2016 +0100

ftp_done: clear tunnel_state when secondary socket closes

Introducing a function for closing the secondary connection to make this
bug less likely to happen again.

Reported-by: daboul
Closes #701

commit 59d712a6ba393c5b3444eb63476cd10dc3f93a7e
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Tue Mar 8 14:19:01 2016 +0100

openssl: use the correct OpenSSL/BoringSSL/LibreSSL in messages

commit 90f7ec25f6ea1cdde55f233da3fb48b5087b0c98
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 8 08:15:47 2016 +0100

HTTP2.md: HTTP/2 by default for curl's HTTPS connections

commit e1d61661fb4e187c9721a408fb5d483dbfd5aa70
Author: Anders Bakken <agbakken@gmail.com>
Date: Mon Mar 7 11:38:26 2016 -0800

pipeline: Sanity check pipeline pointer before accessing it.

I got a crash with this stack:

curl/lib/url.c:2873 (Curl_removeHandleFromPipeline)
curl/lib/url.c:2919 (Curl_getoff_all_pipelines)
curl/lib/multi.c:561 (curl_multi_remove_handle)
curl/lib/url.c:415 (Curl_close)
curl/lib/easy.c:859 (curl_easy_cleanup)

Closes #704

commit bd71d19e326dfbc58645776cd430a8ad3abb62e2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Mar 8 00:02:52 2016 +0100

HTTP2.md: mention the disable ALPN and NPN options

commit 3f7e59ce03413da07f1b8413b009646d37dfeafb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 7 23:21:50 2016 +0100

TODO: 17.12 keep running, read instructions from pipe/socket

And delete trailing whitespace
And rename section 17 to "command line tool" from "client"

Closes #702

commit 8e8e7d024c37c171769c480225ac59ec39691b65
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 7 11:09:56 2016 +0100

README.md: linkified

It also makes it less readable as plain text, so let's keep this
primarily for github use.

Removed the top ascii art logo, as it looks weird when markdownified.

commit 7604eba37e4820849eaa15aba88c5021bf12a593
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Mar 7 11:03:55 2016 +0100

README.md: markdown version of README

Attempt to make it look more appealing on github

commit c0ff90cfed06049907eda8210533715807c664bb
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Mar 6 22:57:47 2016 -0500

mprintf: update trio project link

commit 044de1e2393903e7cdf05af3d269178b791775b9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 23:33:18 2016 +0100

CURLOPT_ACCEPTTIMEOUT_MS.3: added example

commit 4e7ca7a573481e76497ad34b6463a6c1099477db
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 23:30:42 2016 +0100

CURLOPT_ACCEPT_ENCODING.3: added example

commit 0e527066850cc05bbf46e60e71965f1c4bffb468
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 23:28:35 2016 +0100

CURLOPT_APPEND.3: added example

commit e7ca7027f7960d02fd800e9ea9cd93d6ce16c4c2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 23:14:02 2016 +0100

CURLOPT_NOPROGRESS.3: added example, conform to stardard style

commit 420f9ab15de55c7f4181f72758d704670a2a5ad3
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Mar 6 20:02:58 2016 +0000

build-openssl/checksrc.bat: Fixed prepend vs append of Perl path

Fixed inconsistency from commit 1eae114065 and 0ad6c72227 of the order
in which Perl was added to the PATH.

commit f60248c5738d003bd95de4b7aaf17da858b8f97c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 17:42:37 2016 +0100

opts: added two examples

commit 01f0062184a803f22fe3302d071082f0c499f57e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 17:20:16 2016 +0100

CURLOPT_SSL_CTX_FUNCTION.3: use .NF for example

commit b12622568275d33e7b3e918c7320dfa090e59207
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 16:58:34 2016 +0100

CURLOPT_SSL_CTX_FUNCTION.3: added example

and removed erroneous reference to test case lib509

commit 9897fe880dee3ac0cc0630bc575ccd4cfc58551b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 16:54:58 2016 +0100

curlx.c: use more curl style code

commit 5f54ecfdf2992c6af75a3789b5343eb20df00ccd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Mar 6 16:22:49 2016 +0100

test46: change cookie expiry date

Since two of the cookies would now otherwise expire and cause the test
to fail after commit 20de9b4f09

Discussed in #697

commit 6d798e285f5033f017909360f8e3bef29c1854e1
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Mar 2 03:25:22 2016 +0100

makefile.m32: add missing libs for static -winssl-ssh2 builds

Bug: https://github.com/curl/curl/pull/693

commit 6df5611f0512f7434e7665d28774dc06f535e62c
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Mar 5 21:35:16 2016 -0500

mbedtls: fix user-specified SSL protocol version

Prior to this change when a single protocol CURL_SSLVERSION_ was
specified by the user that version was set only as the minimum version
but not as the maximum version as well.

commit 50691d7d2f4f00fe38e97362000f875dea64d501
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 5 21:49:09 2016 +0000

.gitignore: Added *.VC.opendb and *.vcxproj.user files for VC14

commit 88cfe803c4957b0b1801c3743939f243164fb686
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 5 21:04:43 2016 +0000

build-openssl.bat: Fixed cannot find perl if installed but not in path

commit eedf9448f71aae82bf796dbc20d6572dacdb06db
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Mar 5 21:03:40 2016 +0000

checksrc.bat: Fixed cannot find perl if installed but not in path

commit 339edf23c259006b04316740e1c826477925b05d
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Mar 2 03:00:37 2016 +0100

makefile.m32: fix to allow -ssh2-winssl combination

In makefile.m32, option -ssh2 (libssh2) automatically implied -ssl
(OpenSSL) option, with no way to override it with -winssl. Since both
libssh2 and curl support using Windows's built-in SSL backend, modify
the logic to allow that combination.

commit 080cb75f47ee7ca55955cb739e32a616fae4d3f7
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Mar 5 13:35:17 2016 -0500

cookie: Don't expire session cookies in remove_expired

Prior to this change cookies with an expiry date that failed parsing
and were converted to session cookies could be purged in remove_expired.

Bug: https://github.com/curl/curl/issues/697
Reported-by: Seth Mos

commit 28c4b369275752756a5f1ad0c618cdc2e3427dcc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Mar 3 21:14:36 2016 +0100

cookie: remove redundant check

... as it was already checked previously within the function.

Reported-by: Dmitry-Me
Closes #695

commit 9f80db2f0ac2bb64c10bc6407c22dddc25c8d8d0
Author: Anders Bakken <agbakken@gmail.com>
Date: Tue Mar 1 14:52:38 2016 -0800

url: if Curl_done is premature then pipeline not in use

Prevent a crash if 2 (or more) requests are made to the same host and
pipelining is enabled and the connection does not complete.

Bug: https://github.com/curl/curl/pull/690

commit 09ac972e7cd3ccddaf54ba971152e61982fa659a
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Tue Mar 1 20:50:13 2016 +0100

makefile.m32: allow to pass .dll/.exe-specific LDFLAGS

using envvars `CURL_LDFLAG_EXTRAS_DLL` and
`CURL_LDFLAG_EXTRAS_EXE` respectively. This
is useful f.e. to pass ASLR-related extra
options, that are required to make this
feature work when using the mingw toolchain.

Ref: https://github.com/curl/curl/pull/670#issuecomment-190863985

Closes https://github.com/curl/curl/pull/689

commit aba34046974210502af4f9d686d032648a7f9a87
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 29 20:32:08 2016 +0100

formpost: fix memory leaks in AddFormData error branches

Reported-by: Dmitry-Me
Fixes #688

commit 82b25ce35cee69eb689873846f1bde5512c4baf2
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Feb 28 16:05:38 2016 -0500

getinfo: Fix syntax error when mbedTLS

The assignment of the mbedTLS TLS session info in the parent commit was
incorrect. Change the assignment to a pointer to the session structure.

commit cfef9d130d6e7bed56628c211ab863dbf43bd833
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Feb 27 19:01:00 2016 -0500

getinfo: Add support for mbedTLS TLS session info

.. and preprocessor check TLS session info is defined for all backends.

commit eba7f1bd7c9273ed4b1888422374d36df5784aa0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Feb 26 13:02:34 2016 +0100

ROADMAP: clarify on the TLS proxy, mention HTTP cookies to work on

commit cb3de43c086c757ce2cd1623852a071ed919ef43
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 25 23:45:17 2016 +0100

file: try reading from files with no size

Some systems have special files that report as 0 bytes big, but still
contain data that can be read (for example /proc/cpuinfo on
Linux). Starting now, a zero byte size is considered "unknown" size and
will be read as far as possible anyway.

Reported-by: Jesse Tan

Closes #681

commit 1065498cc7a489d34f315e27e6a13c23210a65e8
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Feb 25 01:55:38 2016 -0500

configure: warn on invalid ca bundle or path

- Warn if --with-ca-bundle file does not exist.

- Warn if --with-ca-path directory does not contain certificates.

- Improve help messages for both.

Example configure output:

ca cert bundle: /some/file (warning: certs not found)
ca cert path: /some/dir (warning: certs not found)

Bug: https://github.com/curl/curl/issues/404
Reported-by: Jeffrey Walton

commit 3138068c9a96f2bacde651750c44b38270515f5c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 24 13:47:57 2016 +0100

Curl_read: check for activated HTTP/1 pipelining, not only requested

... as when pipelining is used, we read things into a unified buffer and
we don't do that with HTTP/2. This could then easily make programs that
set CURLMOPT_PIPELINING = CURLPIPE_HTTP1|CURLPIPE_MULTIPLEX to get data
intermixed or plain broken between HTTP/2 streams.

Reported-by: Anders Bakken

commit cd68994bf0455f927e330c2c8af84b2ef8053764
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Wed Feb 24 13:19:10 2016 +0100

os400: Fix ILE/RPG definition of CURLOPT_TFTP_NO_OPTIONS

commit 12b270a314ca63e2942ad95152d56b2f62e36f20
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Feb 23 19:03:03 2016 -0500

getinfo: CURLINFO_TLS_SSL_PTR supersedes CURLINFO_TLS_SESSION

The two options are almost the same, except in the case of OpenSSL:

CURLINFO_TLS_SESSION OpenSSL session internals is SSL_CTX *.

CURLINFO_TLS_SSL_PTR OpenSSL session internals is SSL *.

For backwards compatibility we couldn't modify CURLINFO_TLS_SESSION to
return an SSL pointer for OpenSSL.

Also, add support for the 'internals' member to point to SSL object for
the other backends axTLS, PolarSSL, Secure Channel, Secure Transport and
wolfSSL.

Bug: https://github.com/curl/curl/issues/234
Reported-by: dkjjr89@users.noreply.github.com

Bug: https://curl.haxx.se/mail/lib-2015-09/0127.html
Reported-by: Michael König

commit be6d6051b56dde67a212f682704457a27eb9f2eb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 23 13:05:41 2016 +0100

multi_remove_handle: keep the timeout list until after disconnect

The internal Curl_done() function uses Curl_expire() at times and that
uses the timeout list. Better clean up the list once we're done using
it. This caused a segfault.

Reported-by: 蔡文凱
Bug: https://curl.haxx.se/mail/lib-2016-02/0097.html

commit 60acecbd7c2b8e592d1656f76f5fceb89119553c
Author: Kamil Dudka <kdudka@redhat.com>
Date: Tue Feb 23 10:31:52 2016 +0100

tests/sshserver.pl: use RSA instead of DSA for host auth

DSA is no longer supported by OpenSSH 7.0, which causes all SCP/SFTP
test cases to be skipped. Using RSA for host authentication works with
both old and new versions of OpenSSH.

Reported-by: Karlson2k

Closes #676

commit 2b2dadf79ba230d930b12a9322d29ea780bb456e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Aug 24 00:15:01 2015 -0400

TFTP: add option to suppress TFTP option requests (Part 2)

- Add tests.

- Add an example to CURLOPT_TFTP_NO_OPTIONS.3.

- Add --tftp-no-options to expose CURLOPT_TFTP_NO_OPTIONS.

Bug: https://github.com/curl/curl/issues/481

commit bf508d4dc842efe9cb4bf104b66ff3ef01c58016
Author: Michael Koenig <michael.koenig@lancom.de>
Date: Mon Aug 17 17:54:47 2015 +0200

TFTP: add option to suppress TFTP option requests (Part 1)

Some TFTP server implementations ignore the "TFTP Option extension"
(RFC 1782-1784, 2347-2349), or implement it in a flawed way, causing
problems with libcurl. Another switch for curl_easy_setopt
"CURLOPT_TFTP_NO_OPTIONS" is introduced which prevents libcurl from
sending TFTP option requests to a server, avoiding many problems caused
by faulty implementations.

Bug: https://github.com/curl/curl/issues/481

commit edb3ffc2451118b393ac24ab957f81b328828426
Author: Karlson2k <k2k@narod.ru>
Date: Sun Feb 21 15:48:10 2016 +0300

runtests: Fixed usage of %PWD on MinGW64

Closes #672

commit f30ca72815ff468a2216f43d289b81d52cb2d66d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Feb 20 16:23:05 2016 -0500

CURLOPT_DEBUGFUNCTION.3: Fix example

commit 0f5ec91825aaabcb9574f2d5dbc13bd4a21a90fd
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Sat Feb 20 20:21:48 2016 +0100

src/Makefile.m32: add CURL_{LD,C}FLAGS_EXTRAS support

Sync with lib/Makefile.m32 which already uses those variables.

Bug: https://github.com/curl/curl/pull/670

commit e8372aec88d698c0c1fab9cc67017b766f06ffb6
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Feb 20 11:34:15 2016 +0100

Enabled test 1437 after the bug fix in commit 3fa220a6

commit c66546bcf8a345f42b3479a2b2bc5cee9a41551c
Author: Emil Lerner <neex.emil@gmail.com>
Date: Fri Feb 19 03:47:27 2016 +0300

curl_sasl: Fix memory leak in digest parser

If any parameter in a HTTP DIGEST challenge message is present multiple
times, memory allocated for all but the last entry should be freed.

Bug: https://github.com/curl/curl/pull/667

commit d6ee6348978cd97c0b399d58cf693d5e7558f776
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Fri Feb 19 10:45:09 2016 +0100

Added test 1437 to verify a memory leak

Reported-by: neex@users.noreply.github.com

commit f4d38977c6546b43c26b24173ea847624deed191
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Feb 18 21:07:57 2016 -0500

CURLOPT_COOKIEFILE.3: HTTP headers must be Set-Cookie style

Bug: https://github.com/curl/curl/issues/666
Reported-by: baumanj@users.noreply.github.com

commit 3b243fadac3ce474eca7d07b461bae6d5d2490b5
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Feb 18 19:01:19 2016 -0500

curl.1: HTTP headers for --cookie must be Set-Cookie style

Bug: https://github.com/curl/curl/issues/666
Reported-by: baumanj@users.noreply.github.com

commit 9791519110406d7b2bdfbd683ad576da1af4d0d9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 18 15:32:00 2016 +0100

curl.1: add a missing dash

commit 47c1b8fec3ed0ea5b330cc0543130d22c8247842
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 18 11:59:17 2016 +0100

CONTRIBUTING.md: fix links

commit 2e13b9b979786e53caa9a9a24f5325a713b4f8df
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 18 11:55:59 2016 +0100

ISSUE_TEMPLATE: github issue template

First version, try this out!

commit 72c8a40c9d1ac5b245e24712c5a2e5ffc80013bb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 18 11:52:25 2016 +0100

CONTRIBUTING.md: move into .github

To hide github specific files somewhat from the rest.

commit dfa9ac6572012d7545148205e0a746daf445655a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 18 09:14:48 2016 +0100

opts: add references

commit 4ebd3e04d69ac9f6be7cd7736651a20ea4b16fc8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 17 15:01:38 2016 +0100

examples/make: add 'checksrc' target

commit d7dde7ce719d0469ea020a6d4e63b85a4642dd7b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 17 15:01:21 2016 +0100

10-at-a-time: typecast the argument passed to sleep()

commit 855056a3880b8e59c29524e1df1aeedd30cfde84
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 17 15:00:54 2016 +0100

externalsocket.c: fix compiler warning for fwrite return type

commit b30972b7d881f91e3fa1fc9c7cc86f9c4b664562
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 17 15:00:34 2016 +0100

anyauthput.c: fix compiler warnings

commit c63243e629771d37269396b896a4e655d2a0a32b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 17 15:00:18 2016 +0100

simplessl.c: warning: while with space

commit 112e33f8329cf5f0cbd62c4c13b442119425c9ad
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 17 14:51:31 2016 +0100

curlx.c: i2s_ASN1_IA5STRING() clashes with an openssl function

Reported-By: Gisle Vanem

commit 4ea06572ad3daa7c68898eb9564ea2a684a6200c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 17 08:25:40 2016 +0100

http2: don't decompress gzip decoding automatically

At one point during the development of HTTP/2, the commit 133cdd29ea0
introduced automatic decompression of Content-Encoding as that was what
the spec said then. Now however, HTTP/2 should work the same way as
HTTP/1 in this regard.

Reported-by: Kazuho Oku

Closes #661

commit ec28ae2e6b3be8edaaf2677bdb449ff635865439
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Tue Feb 16 14:44:57 2016 -0500

http: Don't break the header into chunks if HTTP/2

nghttp2 callback deals with TLS layer and therefore the header does not
need to be broken into chunks.

Bug: https://github.com/curl/curl/issues/659
Reported-by: Kazuho Oku

commit f6ff9bff450380e123169cba899484b2628d757c
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Tue Feb 16 00:22:54 2016 +0100

openssl: use macro to guard the opaque EVP_PKEY branch

commit 673aa5dc534f7f2d7b2e004b10b5882428621191
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Sat Feb 13 17:09:12 2016 +0100

openssl: avoid direct PKEY access with OpenSSL 1.1.0

by using API instead of accessing an internal structure.
This is required starting OpenSSL 1.1.0-pre3.

Closes #650

commit 9b8c9669a4287b5bb7d17181a9e2bcabbbe6937d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 15 10:20:05 2016 +0100

RELEASE-NOTES: synced with ede0bfc079da

commit ffb466eb55b666ba333ad4dc2f7253d828720aa1
Author: Clint Clayton <clintclayton@me.com>
Date: Sun Feb 14 13:22:19 2016 -0800

CURLOPT_CONNECTTIMEOUT_MS.3: Fix example to use milliseconds option

Change the example in the docs for CURLOPT_CONNECTTIMEOUT_MS to use
CURLOPT_CONNECTTIMEOUT_MS instead of CURLOPT_CONNECTTIMEOUT.

Closes #653

commit da2ddee7be65bc6272d6fe33aa1c7b2dbb3b54c0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Feb 14 15:54:47 2016 +0100

opt-docs: add more references

commit beaa0a1c33f200f9937453bc802e069ff16d4689
Author: David Byron <dbyron@dbyron.com>
Date: Mon Jul 20 20:27:12 2015 -0700

SCP: use libssh2_scp_recv2 to support > 2GB files on windows

libssh2_scp_recv2 is introduced in libssh2 1.7.0 - to be released "any
day now.

Closes #451

commit 6b6ad72f7ea4f19e45621777a88ec656e2af5c20
Author: Shine Fan <sfanxiang@gmail.com>
Date: Sun Feb 14 10:54:45 2016 +0800

gtls: fix for builds lacking encrypted key file support

Bug: https://github.com/curl/curl/pull/651

commit 6170f24cecd10cb382a95fc570641ba65118ca75
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sat Feb 13 22:49:45 2016 +0100

test1604: Add to Makefile.inc so it gets run

commit ea67d15628be36a91ec482dafd006821fcadf4e7
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Feb 12 23:48:54 2016 -0500

generate.bat: Fix comment bug by removing old comments

Remove NOTES section, it's no longer needed since we aren't setting the
errorlevel and more importantly the recently updated URL in the comments
is causing some unusual behavior that breaks the script.

Closes https://github.com/curl/curl/issues/649

commit 341ccbd17920d0fdfb2af4655e04a366b0db9b75
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Feb 12 18:39:57 2016 +0100

curl.1: --disable-{eprt,epsv} are ignored for IPv6 hosts

The behavior has been clarified in CURLOPT_FTP_USE_{EPRT,EPSV}.3 man
pages since curl-7_12_3~131. This patch makes it clear in the curl.1
man page, too.

Bug: https://bugzilla.redhat.com/1305970

commit 674026043bc97a7d8d789ad52c7192948f26e07a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Feb 12 16:45:25 2016 +0100

dist: ship buildconf.bat too

As the winbuild/* stuff uses it!

commit be7c14e96a9ff5619f9cf8d8edec873a8a86da51
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 11 23:52:43 2016 +0100

curlx_tvdiff: handle 32bit time_t overflows

On 32bit systems, make sure we don't overflow and return funky values
for very large time differences.

Reported-by: Anders Bakken

Closes #646

commit 85c993d28afc125cf2016414bd7694d9c39b00f7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 11 10:21:09 2016 +0100

examples: fix some compiler warnings

commit 67a2f86ac1777d61a37a5691302247a152dd24e9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 11 10:20:48 2016 +0100

simplessl.c: fix my breakage

commit 7b4f3bc764248120e5c3e9e21e034bdbef625711
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 11 09:42:38 2016 +0100

examples: adhere to curl code style

All plain C examples now (mostly) adhere to the curl code style. While
they are only examples, they had diverted so much and contained all
sorts of different mixed code styles by now. Having them use a unified
style helps users and readability. Also, as they get copy-and-pasted
widely by users, making sure they're clean and nice is a good idea.

573 checksrc warnings were addressed.

commit d33f048b8e9b35a468dc12de276f6d013657227d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 11 08:44:59 2016 +0100

examples/cookie_interface.c: add cleanup call

cleaning up handles is a good idea as we leak memory otherwise

Also, line wrapped before 80 columns.

commit 6a8918e27b30b199721b74952baa70c4a8d6c7aa
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Feb 4 10:44:52 2016 +0100

nss: search slash in forward direction in dup_nickname()

It is wasteful to search it backwards if we look for _any_ slash.

commit ffed55c0d51eb6c81644a087841e9bc26022bfe5
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Feb 4 10:41:15 2016 +0100

nss: do not count enabled cipher-suites

We only care if at least one cipher-suite is enabled, so it does
not make any sense to iterate till the end and count all enabled
cipher-suites.

commit c5df98c27ed2c14f1b844b06dc9db32969be3330
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 10 13:49:42 2016 +0100

contributors.sh: make 79 the max column width (from 80)

commit 76554f64a3e52a7cd684cb7e7ceca0a87613fe8c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 10 13:49:34 2016 +0100

RELEASE-NOTES: synced with c276aefee3995

commit 5fa04394a61785e1c2ad29b8bc1b5ddf8d62082d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 10 10:46:57 2016 +0100

mbedtls.c: re-indent to better match curl standards

commit 469d5c4384a8435b51f91181824403b287ab3976
Author: Rafael Antonio <rafa@distrobit.net>
Date: Mon Feb 1 23:13:10 2016 +0100

mbedtls: fix memory leak when destroying SSL connection data

Closes #626

commit 8d124b3cc64aa30a69b981dc3967195a0c6f7ff6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 9 23:37:14 2016 +0100

mbedtls: fix ALPN usage segfault

Since we didn't keep the input argument around after having called
mbedtls, it could end up accessing the wrong memory when figuring out
the ALPN protocols.

Closes #642

commit 087b2ddd0d0d1e69f9425baafe14c89d4fbc821f
Author: Timotej Lazar <timotej.lazar@araneo.org>
Date: Tue Feb 9 19:40:24 2016 +0100

opts: update references to renamed options

commit 2fa3dbd1c22131735ca564d0c9dc08c11ca5633c
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Feb 9 03:29:19 2016 -0500

KNOWN_BUGS: Update #92 - Windows device prefix

commit baf37034e545c10c0b243351e9ba058e4aa2a05e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Feb 9 03:28:58 2016 -0500

tool_doswin: Support for literal path prefix \\?\

For example something like --output \\?\C:\foo

commit 0b874e3073056b8c255a2ed5932e9c6a20fd98c0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 9 08:44:26 2016 +0100

configure: state "BoringSSL" in summary when that was detected

commit 4154752615503812418ab77444c4ab1f8e5c0f68
Author: David Benjamin <davidben@google.com>
Date: Mon Feb 8 23:19:31 2016 -0500

openssl: remove most BoringSSL #ifdefs.

As of https://boringssl-review.googlesource.com/#/c/6980/, almost all of
BoringSSL #ifdefs in cURL should be unnecessary:

- BoringSSL provides no-op stubs for compatibility which replaces most
#ifdefs.

- DES_set_odd_parity has been in BoringSSL for nearly a year now. Remove
the compatibility codepath.

- With a small tweak to an extend_key_56_to_64 call, the NTLM code
builds fine.

- Switch OCSP-related #ifdefs to the more generally useful
OPENSSL_NO_OCSP.

The only #ifdefs which remain are Curl_ossl_version and the #undefs to
work around OpenSSL and wincrypt.h name conflicts. (BoringSSL leaves
that to the consumer. The in-header workaround makes things sensitive to
include order.)

This change errs on the side of removing conditionals despite many of
the restored codepaths being no-ops. (BoringSSL generally adds no-op
compatibility stubs when possible. OPENSSL_VERSION_NUMBER #ifdefs are
bad enough!)

Closes #640

commit bb352d09969766de5d60b4e88700b44b70977ada
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Feb 8 17:40:53 2016 -0500

KNOWN_BUGS: Windows device prefix is required for devices

commit 7f2c6e4f4ef550f6e94758e0d574878bd1e02819
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Feb 8 15:09:42 2016 -0500

tool_urlglob: Allow reserved dos device names (Windows)

Allow --output to reserved dos device names without the device prefix
for backwards compatibility.

Example: --output NUL can be used instead of --output \\.\NUL

Bug: https://github.com/curl/curl/commit/4520534#commitcomment-15954863
Reported-by: Gisle Vanem

commit 9d7ebec355209da9bb0d4f37097f4f339a516926
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 8 15:48:18 2016 +0100

cookies: allow spaces in cookie names, cut of trailing spaces

It turns out Firefox and Chrome both allow spaces in cookie names and
there are sites out there using that.

Turned out the code meant to strip off trailing space from cookie names
didn't work. Fixed now.

Test case 8 modified to verify both these changes.

Closes #639

commit f2e87626570160bcfea7544a75245f2204af15f2
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Mon Feb 8 14:52:18 2016 +0100

Merge branch 'master' of github.com:curl/curl

commit 50f25b380bdf92d511f97d0092312f6da2910be5
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Mon Feb 8 14:50:53 2016 +0100

os400: sync ILE/RPG definitions with latest public header files.

commit 974a5f834eaad9ad91132f7375d7a5094009df59
Author: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Fri Mar 27 08:22:39 2015 +0100

SSLCERTS: update wrt SSL CA certificate store

commit 0d60d51f39b820b4f7ea8957affec4f5e82ef2c5
Author: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Tue Mar 24 13:25:17 2015 +0100

configure: --with-ca-fallback: use built-in TLS CA fallback

When trying to verify a peer without having any root CA certificates
set, this makes libcurl use the TLS library's built in default as
fallback.

Closes #569

commit 0ff234fa1831def5cd84ccc18279f883bff5362e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Feb 4 15:07:02 2016 +0100

Proxy-Connection: stop sending this header by default

RFC 7230 says we should stop. Firefox already stopped.

Bug: https://github.com/curl/curl/issues/633
Reported-By: Brad Fitzpatrick

Closes #633

commit a7d419f41f1691ba3badaf9c1b60e7ff3cb60a4e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 8 10:47:44 2016 +0100

bump: work toward the next release

commit 845793cb778b09e240730a4521ffde6906bc55fd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 8 10:46:01 2016 +0100

THANKS: 2 contributors from the 7.47.1 release

commit 5ad62dc5a1302e41fe1844f9492329b4e2ae00fa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 8 10:35:35 2016 +0100

RELEASE-PROCEDURE: remove the github upload part

... as we're HTTPS on the main site now, there's no point in that
extra step

commit 4b73647e3d711c74954108a11ccec387f1647b20
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Feb 8 10:26:24 2016 +0100

RELEASE-NOTES: curl 7.47.1 time!

commit 2bc89b12cca81ee64258eb2fc3dfd3d16f4e8cea
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Feb 7 04:49:07 2016 -0500

tool_operhlp: Check for backslashes in get_url_file_name

Extract the filename from the last slash or backslash. Prior to this
change backslashes could be part of the filename.

This change needed for the curl tool built for Cygwin. Refer to the
CYGWIN addendum in advisory 20160127B.

Bug: https://curl.haxx.se/docs/adv_20160127B.html

commit 58e18c516b7af386564efe48dd0bb1c8a42d47a1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Feb 7 16:20:23 2016 +0100

RELEASE-NOTES: synced with d6a8869ea34

commit 6363beb7d430cf6f9e4ca9a2a0a48c8cb13dcba7
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Feb 6 19:10:49 2016 -0500

openssl: Fix signed/unsigned mismatch warning in X509V3_ext

sk_X509_EXTENSION_num may return an unsigned integer, however the value
will fit in an int.

Bug: https://github.com/curl/curl/commit/dd1b44c#commitcomment-15913896
Reported-by: Gisle Vanem

commit c48c483baa2fdacaa2b3b965406c8c39dfb3447e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Feb 7 00:27:28 2016 +0100

TODO: 17.11 -w output to stderr

commit 1913b6ba97f4e36faaf430b5b1775587b707e1ca
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Fri Feb 5 21:15:43 2016 +0100

idn_win32: Better error checking

.. also fix a conversion bug in the unused function
curl_win32_ascii_to_idn().

And remove wprintfs on error (Jay).

Bug: https://github.com/curl/curl/pull/637

commit 699d82b7961aad1f28db9c35a7e47f2b6d579a84
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Sat Feb 6 17:04:37 2016 -0500

examples/asiohiper: Avoid function name collision on Windows

closesocket => close_socket
Winsock already has the former.

Bug: https://curl.haxx.se/mail/lib-2016-02/0016.html

commit 3cb63adbc3cea42b242c1ccb2d2c2837ccafb108
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Sat Feb 6 17:02:53 2016 -0500

examples/htmltitle: Use _stricmp on Windows

Bug: https://curl.haxx.se/mail/lib-2016-02/0017.html

commit 3a964f7bea0bf78b83535587fd63085cb56d7bd1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Feb 6 18:39:41 2016 +0100

COPYING: clarify that Daniel is not the sole author

... done on request and as it is a fair point.

commit ffef98f6c7991b951f519a895f61dea3c3bad440
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Feb 5 13:37:39 2016 -0500

unit1604: Fix unit setup return code

commit 658d7c7a171f089ffc762d9061a47e8a70ee85b3
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Feb 5 02:22:24 2016 -0500

tool_doswin: Use type SANITIZEcode in sanitize_file_name

commit bbe29637ca748b3aad919d215065366b35bfea7b
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Feb 5 01:44:27 2016 -0500

tool_doswin: Improve sanitization processing

- Add unit test 1604 to test the sanitize_file_name function.

- Use -DCURL_STATICLIB when building libcurltool for unit testing.

- Better detection of reserved DOS device names.

- New flags to modify sanitize behavior:

SANITIZE_ALLOW_COLONS: Allow colons
SANITIZE_ALLOW_PATH: Allow path separators and colons
SANITIZE_ALLOW_RESERVED: Allow reserved device names
SANITIZE_ALLOW_TRUNCATE: Allow truncating a long filename

- Restore sanitization of banned characters from user-specified outfile.

Prior to this commit sanitization of a user-specified outfile was
temporarily disabled in 2b6dadc because there was no way to allow path
separators and colons through while replacing other banned characters.
Now in such a case we call the sanitize function with
SANITIZE_ALLOW_PATH which allows path separators and colons to pass
through.

Closes https://github.com/curl/curl/issues/624
Reported-by: Octavio Schroeder

commit d4da5a13c7db99635d43da382306d11e1668f194
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Feb 3 05:09:25 2016 +0100

URLs: change more http to https

commit 2853b9c2e3f0b329d42f1abbe5159e0a239968af
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Feb 4 18:11:07 2016 -0500

sasl_sspi: Fix memory leak in domain populate

Free an existing domain before replacing it.

Bug: https://github.com/curl/curl/issues/635
Reported-by: silveja1@users.noreply.github.com

commit afc8cfe050e8d3e2bdeddfc117cdd9f21d020bc4
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Feb 3 18:34:16 2016 +0100

URLs: follow GitHub project rename (also Travis CI)

Closes #632

commit 3ad6955cc31ca0f3d0a2964ee501cb66b4983e8d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 3 15:33:47 2016 +0100

CHANGES.o: fix references to curl.haxx.nu

I removed the scheme prefix from the URLs references this host name, as
we don't own/run that anymore but the name is kept for historic reasons.

commit d2f9a262c58ce3d37a9541680c04edc341fab787
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 3 15:33:30 2016 +0100

HISTORY: add some info about when we used which host names

commit 1b976237e1cf9bc9eb5a1d657de51e017cf8a7c6
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Feb 3 04:16:52 2016 +0100

URLs: change more http to https

commit bedff5714ee7b2a15777fa57b78e566abfc2dc1d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Feb 3 01:45:21 2016 +0100

URLs: Change more haxx.se URLs from http: to https:

commit 4b6a09c569055122a03852b43e16e30f41f40656
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 3 00:32:07 2016 +0100

RELEASE-NOTES: synced with 4af40b364

commit 5b4d9f8d0045a3338ea0f18bc961551bbc031926
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Feb 3 00:19:02 2016 +0100

URLs: change all http:// URLs to https://

commit bde00e6b15c55a08d2bba16974a1fa070e5c552a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 2 22:49:05 2016 +0100

configure: update the copyright year range in output

commit dfec3b261232aed2c9268b1a5372e55269f21488
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 2 22:43:54 2016 +0100

dotdot: allow an empty input string too

It isn't used by the code in current conditions but for safety it seems
sensible to at least not crash on such input.

Extended unit test 1395 to verify this too as well as a plain "/" input.

commit 08dbe9c9045a87986377c744a7621e279d4f75c3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Feb 2 00:24:30 2016 +0100

HTTPS: update a bunch of URLs from HTTP to HTTPS

commit 5f48bb7936e7cc2ff1e1170dbb7826c3b7dee93e
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Thu Jan 28 15:57:28 2016 +0300

AppVeyor: updated to handle OpenSSL/WinSSL builds

Closes #621

commit 3424174c2e6e9dbb085daa75a94123071dc393f5
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Feb 1 04:11:46 2016 -0500

tool_operate: Don't sanitize --output path (Windows)

Due to path separators being incorrectly sanitized in --output
pathnames, eg -o c:\foo => c__foo

This is a partial revert of 3017d8a until I write a proper fix. The
remote-name will continue to be sanitized, but if the user specified an
--output with string replacement (#1, #2, etc) that data is unsanitized
until I finish a fix.

Bug: https://github.com/bagder/curl/issues/624
Reported-by: Octavio Schroeder

commit fb19bdeaf42afe78926e75d8256793ca35165b13
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Jan 29 03:28:48 2016 -0500

curl.1: Explain remote-name behavior if file already exists

.. also warn about letting the server pick the filename.

commit 63d93011da45b428fdd4c003c173ef6361dc1143
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Fri Jan 29 00:11:41 2016 -0500

urldata: Error on missing SSL backend-specific connect info

commit ebfd788ff65c75076ea5aac6b53011bc99a81390
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 28 16:36:29 2016 +0100

bump: towards the next (7.47.1 ?)

commit df5c6e356c72ebe9c8d7b1f12c989bcda48fa498
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Wed Jan 27 15:22:39 2016 +0300

cmake: fixed when OpenSSL enabled on Windows and schannel detected

Closes #617

commit ed0cc250f8e208f1005438900d357af1b2aeca80
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Wed Jan 27 16:01:05 2016 +0300

urldata: moved common variable out of ifdef

Closes https://github.com/bagder/curl/pull/618

commit 0c0e3592d7ec19d672566a8d3fb1bde97417527f
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Wed Jan 27 11:04:18 2016 +0100

tool_doswin: silence unused function warning

tool_doswin.c:185:14: warning: 'msdosify' defined but not used
[-Wunused-function]

Closes https://github.com/bagder/curl/pull/616

commit 677756e504437c12ea69954c2da20eb7cebfeccb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jan 27 09:35:55 2016 +0100

getredirect.c: fix variable name

Reported-by: Bernard Spil

commit 86c11aa2dd0ea88afbadeff52c573bc19a046275
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jan 27 08:30:04 2016 +0100

examples/Makefile.inc: specify programs without .c!

commit 05d79d22378c2b683c4ef5aaf38c905ad38633ad
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 26 23:45:02 2016 +0100

THANKS: 6 new contributors from 7.47.0 release notes

commit ce81bb1e78fb21dd58cd4b367fd71014c4ea7f0f
Author: Isaac Boukris <iboukris@gmail.com>
Date: Wed Jan 13 11:05:51 2016 +0200

NTLM: Fix ConnectionExists to compare Proxy credentials

Proxy NTLM authentication should compare credentials when
re-using a connection similar to host authentication, as it
authenticate the connection.

Example:
curl -v -x http://proxy:port http://host/ -U good_user:good_pwd
--proxy-ntlm --next -x http://proxy:port http://host/
[-U fake_user:fake_pwd --proxy-ntlm]

CVE-2016-0755

Bug: http://curl.haxx.se/docs/adv_20160127A.html

commit d3af01e024bdcc697c857c8eb21b99913107ee9e
Author: Ray Satiro <raysatiro@yahoo.com>
Date: Tue Jan 26 23:23:15 2016 +0100

curl: avoid local drive traversal when saving file (Windows)

curl does not sanitize colons in a remote file name that is used as the
local file name. This may lead to a vulnerability on systems where the
colon is a special path character. Currently Windows/DOS is the only OS
where this vulnerability applies.

CVE-2016-0754

Bug: http://curl.haxx.se/docs/adv_20160127B.html

commit 2e01f7a7d3fb7f66240c25f05c1ab9d83934aa10
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 26 23:34:10 2016 +0100

RELEASE-NOTES: 7.47.0

commit a480955372a8b6307e97d22114abfc1d6abd7a13
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 25 11:11:29 2016 +0100

FAQ: language fix in 4.19

commit a1cb851c8c28a853319693c051670be880696be3
Author: paulehoffman <phoffman@proper.com>
Date: Sun Jan 24 14:27:08 2016 -0800

FAQ: Update to point to GitHub

Current FAQ didn't make it clear where the main repo is.

Closes #612

commit 583a9ca03dac1771fadba4c0041f9bd6b78e24c5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 24 20:30:07 2016 +0100

maketgz: generate date stamp with LC_TIME=C

bug: http://curl.haxx.se/mail/lib-2016-01/0123.html

commit fcfb09419162cdcbeaca17f3615761a98fc8b89a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 24 20:29:51 2016 +0100

curl_multi_socket_action.3: line wrap

commit 12569259c9e072fc04d4b10bae16ccf118d6494b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 21 23:57:52 2016 +0100

RELEASE-NOTES: synced with d58ba66eeceb

commit 0e96a35977a630699563d6796fa5572e21cbc5e0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Jan 21 21:05:55 2016 +0000

TODO: "Create remote directories" for SMB

commit 963539de7e8436a11e41b90f6779b0cceb7926eb
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Jan 18 03:48:10 2016 -0500

mbedtls: Fix pinned key return value on fail

- Switch from verifying a pinned public key in a callback during the
certificate verification to inline after the certificate verification.

The callback method had three problems:

1. If a pinned public key didn't match, CURLE_SSL_PINNEDPUBKEYNOTMATCH
was not returned.

2. If peer certificate verification was disabled the pinned key
verification did not take place as it should.

3. (related to #2) If there was no certificate of depth 0 the callback
would not have checked the pinned public key.

Though all those problems could have been fixed it would have made the
code more complex. Instead we now verify inline after the certificate
verification in mbedtls_connect_step2.

Ref: http://curl.haxx.se/mail/lib-2016-01/0047.html
Ref: https://github.com/bagder/curl/pull/601

commit 3bd595dbe448bef3f3c2b50e8c246fc37cfc3aba
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Jan 18 03:10:10 2016 -0500

tests: Add a test for pinnedpubkey fail even when insecure

Because disabling the peer verification (--insecure) must not disable
the public key pinning check (--pinnedpubkey).

commit f4ceb337b69527a44446e2dd502b24840eeadafe
Author: Daniel Schauenberg <d@unwiredcouch.com>
Date: Sat Jan 16 23:04:46 2016 -0500

CURLINFO_RESPONSE_CODE.3: add example

commit 9ec42dde248f4d6abc2f6c4683a7522bbc0253c3
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Jan 15 10:27:33 2016 +0100

ssh: make CURLOPT_SSH_PUBLIC_KEYFILE treat "" as NULL

The CURLOPT_SSH_PUBLIC_KEYFILE option has been documented to handle
empty strings specially since curl-7_25_0-31-g05a443a but the behavior
was unintentionally removed in curl-7_38_0-47-gfa7d04f.

This commit restores the original behavior and clarifies it in the
documentation that NULL and "" have both the same meaning when passed
to CURLOPT_SSH_PUBLIC_KEYFILE.

Bug: http://curl.haxx.se/mail/lib-2016-01/0072.html

commit 2278ccb3816b84cbed3c3cedcd89c3ac8108a5af
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 14 22:09:09 2016 +0100

RELEASE-NOTES: synced with 35083ca60ed035a

commit d7ea1c01ed838c78f90d48e988b0f49761f1706f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 14 21:25:30 2016 +0100

openssl: improved error detection/reporting

... by extracting the LIB + REASON from the OpenSSL error code. OpenSSL
1.1.0+ returned a new func number of another cerfificate fail so this
required a fix and this is the better way to catch this error anyway.

commit fa7b7ff986cb6f3f87e691229dff92816b5708fa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 14 16:38:14 2016 +0100

openssl: for 1.1.0+ they now provide a SSLeay() macro of their own

commit dc96a5d086253b4231c860800d80545594d67a95
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jan 13 09:11:12 2016 +0100

CURLOPT_RESOLVE.3: minor language polish

commit bdafd7cc1b6866d4c27faa4ecbb53b6b7aa2dee0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 12 10:30:54 2016 +0100

configure: assume IPv6 works when cross-compiled

The configure test uses AC_TRY_RUN to figure out if an ipv6 socket
works, and testing like that doesn't work for cross-compiles. These days
IPv6 support is widespread so a blind guess is probably more likely to
be 'yes' than 'no' now.

Further: anyone who cross-compiles can use configure's --disable-ipv6 to
explicitly disable IPv6 and that also works for cross-compiles.

Made happen after discussions in issue #594

commit 87693106c8a809fcb88df8b5f0e51b6020077307
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 12 00:03:05 2016 +0100

TODO: "Try to URL encode given URL"

Closes #514

commit 9dd674247d7e55ce1fe0c6d501a03398b7c5989b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jan 10 01:00:06 2016 +0100

ConnectionExists: only do pipelining/multiplexing when asked

When an HTTP/2 upgrade request fails (no protocol switch), it would
previously detect that as still possible to pipeline on (which is
acorrect) and do that when PIPEWAIT was enabled even if pipelining was
not explictily enabled.

It should only pipelined if explicitly asked to.

Closes #584

commit 5fbb57c6d1291156237a7094589f27a988c56696
Author: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
Date: Sat Jan 9 00:50:38 2016 +0200

lib: Prefix URLs with lower-case protocol names/schemes

Before this patch, if a URL does not start with the protocol
name/scheme, effective URLs would be prefixed with upper-case protocol
names/schemes. This behavior might not be expected by library users or
end users.

For example, if `CURLOPT_DEFAULT_PROTOCOL` is set to "https". And the
URL is "hostname/path". The effective URL would be
"HTTPS://hostname/path" instead of "https://hostname/path".

After this patch, effective URLs would be prefixed with a lower-case
protocol name/scheme.

Closes #597

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>

commit 89aea068cd9e89267114112d0f33c6cc1d15b8b7
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Mon Jan 11 22:22:25 2016 +0000

scripts: don't generate and install zsh completion when cross-compiling

commit 5b0b98a2ce4174029639bb1a46bc021a968b4565
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Sun Dec 27 18:08:53 2015 +0100

scripts: fix zsh completion generation

The script should use the just-built curl, not the system one. This fixes
zsh completion generation when no system curl is installed.

commit 45ee4a8492c7608688fb7f2650f75654dde2dbc9
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Sun Dec 27 18:12:46 2015 +0100

zsh.pl: fail if no curl is found

Instead of generation a broken completion file.

commit 13fd15e10b371cea0bb94d31748896fa9b3595cc
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Fri Jan 8 14:54:56 2016 +0100

IDN host names: Remove the port number before converting to ACE

Closes #596

commit 2f1ed732c709e71193b3a5876506f7396d2e994e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Jan 10 02:56:26 2016 -0500

runtests: Add mbedTLS to the SSL backends

.. and enable SSLpinning tests for mbedTLS, BoringSSL and LibreSSL.

commit b854bdd654a58b897cd04bae0f171f14f362f41f
Author: Thomas Glanzmann <thomas@glanzmann.de>
Date: Wed Jan 6 07:00:11 2016 +0100

mbedtls: implement CURLOPT_PINNEDPUBLICKEY

commit 92e53836b4cd6a1d1ab0d41518826a7a93b92754
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Jan 9 09:51:05 2016 +0900

url: Fix compile error with --enable-werror

commit 3178923f6437c068eb90da40e347e8d609154ef3
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Thu Jan 7 22:10:09 2016 +0900

http2: Ensure that http2_handle_stream_close is called

Previously, when HTTP/2 is enabled and used, and stream has content
length known, Curl_read was not called when there was no bytes left to
read. Because of this, we could not make sure that
http2_handle_stream_close was called for every stream. Since we use
http2_handle_stream_close to emit trailer fields, they were
effectively ignored. This commit changes the code so that Curl_read is
called even if no bytes left to read, to ensure that
http2_handle_stream_close is called for every stream.

Discussed in https://github.com/bagder/curl/pull/564

commit 5b73942054a7b3d3724719e75a46961bcbcebfc9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 8 23:06:59 2016 +0100

http2: handle the received SETTINGS frame

This regression landed in 5778e6f5 and made libcurl not act on received
settings and instead stayed with its internal defaults.

Bug: http://curl.haxx.se/mail/lib-2016-01/0031.html
Reported-by: Bankde

commit bcd69738bfb0b6cb95e0881d1afb99e89a39199b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jan 8 14:39:54 2016 +0100

Revert "multiplex: allow only once HTTP/2 is actually used"

This reverts commit 46cb70e9fa81c9a56de484cdd7c5d9d0d9fbec36.

Bug: http://curl.haxx.se/mail/lib-2016-01/0031.html

commit 52cd1daf4d0c629d9771805e7ac41e6e4dbfb99f
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Fri Jan 8 03:04:19 2016 -0500

http2: Fix PUSH_PROMISE headers being treated as trailers

Discussed in https://github.com/bagder/curl/pull/564

commit a79f1614c52370ab8e86b209208b95d3f6687a32
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Thu Jan 7 18:00:00 2016 +0100

connection reuse: IDN host names fixed

Use the ACE form of IDN hostnames as key in the connection cache. Add
new tests.

Closes #592

commit 07f374e2057b28218efadf9979c5ad1ddd7d0bdf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 7 13:48:05 2016 +0100

tests: mark IPv6 FTP and FTPS tests with the FTP keyword

commit 5d09ca3b4f07ff56e3abdff10386bd8722fcb6d4
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jan 7 01:49:31 2016 -0500

mbedtls: Fix ALPN support

- Fix ALPN reply detection.

- Wrap nghttp2 code in ifdef USE_NGHTTP2.

Prior to this change ALPN and HTTP/2 did not work properly in mbedTLS.

commit 68e5fb4bc7cae81a0aef927fe5037ad0ac211f83
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jan 6 22:10:49 2016 -0500

http2: Fix client write for trailers on stream close

Check that the trailer buffer exists before attempting a client write
for trailers on stream close.

Refer to comments in https://github.com/bagder/curl/pull/564

commit 18b1de456410f7e2951b5968308d8c7a484a2f7f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jan 7 00:11:16 2016 +0100

COPYING: update general copyright year range

commit 417ed4152930bd92ccc9ec496b617d6ba25008ef
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 5 12:09:33 2016 +0100

ConnectionExists: add missing newline in infof() call

Mistake from commit a464f33843ee1

commit 2e4e88b2931a049c8482b9e6960ad1a139ea5a55
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jan 5 11:32:30 2016 +0100

multiplex: allow only once HTTP/2 is actually used

To make sure curl doesn't allow multiplexing before a connection is
upgraded to HTTP/2 (like when Upgrade: h2c fails), we must make sure the
connection uses HTTP/2 as well and not only check what's wanted.

Closes #584

Patch-by: c0ff

commit 1ae2347171120a49bcc202fee72f381981d0e994
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Jan 4 17:44:39 2016 -0500

curl_global_init.3: Add Windows-specific info for init via DLL

- Add to both curl_global_init.3 and libcurl.3 the caveat for Windows
that initializing libcurl via a DLL's DllMain or static initializer
could cause a deadlock.

Bug: https://github.com/bagder/curl/issues/586
Reported-by: marc-groundctl@users.noreply.github.com

commit 39a204801f340d754e3edcf865df37ff3301799b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 4 18:59:29 2016 +0100

FAQ: clarify who to mail about ECCN clarifications

commit f781d8ca6173a4281c9efb735b9f0006131c180e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 4 18:49:10 2016 +0100

progressfunc.c: spellfix description

commit 66db536bf9eba7ba7940bbbfb80225e048f9a72f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 4 15:35:16 2016 +0100

docs/examples/multi-app.c: fix bad desc formatting

commit e2645a283be263ef644a71fece2d9c28708e1d86
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 4 15:34:05 2016 +0100

examples: added descriptions

commit 8cbbad6cf4d9504a5b726ce556141716bfcf1201
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 4 15:12:22 2016 +0100

example/simple.c: add description

commit 68d30238e3aa7838954666213db7f42cb7450bf5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jan 4 15:12:08 2016 +0100

getredirect.c: a new example

commit 21fc68a46da9ae87f81485d9047e354ad49c6829
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sun Dec 27 18:18:20 2015 +0100

RELEASE-NOTES: add 5e0e81a9c4e35f04ca

commit c9afb65d227d1d3b156da2ac2f907c2446eb104a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Dec 26 23:13:32 2015 +0100

RELEASE-NOTES: synced with 2aec4359db1088b10d

commit 4efbdc78133ec208005e3d8053251421be59a8ea
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Dec 26 17:25:59 2015 +0100

test 1515: add data check

commit 5d7cc1524a4c93a7d2a2bdb6d363b9b49099079e
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Dec 26 17:25:42 2015 +0100

test 1515: add MSYS support by passing a relative path

MSYS would otherwise turn a /-style path into a C:\-style path.

commit d3b8497f3673924c5b6a3a92195076f73d530345
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Dec 26 11:01:13 2015 +0100

test 539: use datacheck mode text for ASCII-mode LISTings

While still using datacheck mode binary for the inline reply data.

commit ee177329f86b68a19e890709e4788a1e0dc2d36f
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Sat Dec 26 10:59:22 2015 +0100

runtests.pl: check up to 5 data parts with different text modes

Move the text-mode conversion for reply/replycheck from the verify
section into the load section and add support for 4 more check parts.

commit 723a070f96e0fdd29852d3cdc7e7d6dc3cbf5d0d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 24 23:35:54 2015 +0100

CURLOPT_RANGE: for HTTP servers, range support is optional

commit 022431e46f0f082be63583a0498eaf1412aa816a
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Thu Dec 24 14:56:47 2015 +0100

tests 1048 and 1050: use datacheck mode text for ASCII-mode LISTings

commit 916e54c4afde47ba007c0ffa8aad80a175de288f
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Thu Dec 24 14:48:36 2015 +0100

tests 706 and 707: use datacheck mode text for ASCII-mode LISTings

commit cc1982e4777f89bfc68f20def8e4b18a4598df48
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Thu Dec 24 14:22:26 2015 +0100

tests 400,403,406: use datacheck mode text for ASCII-mode LISTings

commit ff961c204c88e9d3ab420e8dfe2168e2ac30e5a3
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 15:04:02 2015 +0100

sockfilt.c: fix calculation of sleep timeout on Windows

Not converting to double caused small timeouts to be skipped.

commit 18425a7df40089c08f769d102b46949e118358cb
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 15:03:40 2015 +0100

tests first.c: fix calculation of sleep timeout on Windows

Not converting to double caused small timeouts to be skipped.

commit c36b3af81c8604d140e32e1ee11a73b271850f18
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 15:02:43 2015 +0100

test 573: add more debug output

commit 7ea735404b31e3a3f17b31ac615edde83890a3c2
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 14:19:36 2015 +0100

ftplistparser.c: fix handling of file LISTings using Windows EOL

Previously file.txt[CR][LF] would have been returned as file.tx
(without the last t) if filetype is symlink. Now the t is
included and the internal item_length includes the zero byte.

Spotted using test 576 on Windows.

commit fc253bbd6b76c82e69a62a2886fd4ffc5bb8edae
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 13:35:36 2015 +0100

test 16: fix on Linux (and Windows) by using plain ASCII characters

Follow up on b064ff0c351bb287557228575ef4c1d079b866fb, thanks Daniel.

commit 84a4d639efcd995ec8fce25b473e0e0e0aa6edec
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 13:04:00 2015 +0100

tftpd server: add Windows support by writing files in binary mode

commit 645a6b3d63216cbf7dbdb3df284a0597004d505a
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 12:49:40 2015 +0100

tests 252-255: use datacheck mode text for ASCII-mode LISTings

commit 2aef1e62044401cf38ee7f67a61cf6c0dd009225
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 23 12:41:52 2015 +0100

test 16: fix on Windows by converting data file from ANSI to UTF-8

commit d84d36cec808816c978ab860a84ee8e400519090
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 23 12:07:50 2015 +0100

Makefile.inc: s/curl_SOURCES/CURL_FILES

This allows the root Makefile.am to include the Makefile.inc without
causing automake to warn on it (variables named *_SOURCES are
magic). curl_SOURCES is then instead assigned properly in
src/Makefile.am only.

Closes #577

commit 6de5e0ce7fd90c35063e07072f6f91d238ec9565
Author: Anders Bakken <agbakken@gmail.com>
Date: Mon Dec 21 10:13:15 2015 -0800

ConnectionExists: with *PIPEWAIT, wait for connections

Try harder to prevent libcurl from opening up an additional socket when
CURLOPT_PIPEWAIT is set. Accomplished by letting ongoing TCP and TLS
handshakes complete first before the decision is made.

Closes #575

commit 176d322c2e3170a7eaf91e9f5dcf4293f8b49b20
Author: Anders Bakken <agbakken@gmail.com>
Date: Mon Dec 21 10:12:35 2015 -0800

Add .dir-locals and set c-basic-offset to 2.

This makes it easier for emacs users to automatically get the right
2-space indentation when they edit curl source files.

c++-mode is in there as well because Emacs can't easily know if
something is a C or C++ header.

Closes #574

commit 5c2e495d52b78617cfe90561f0a234415c8b97f6
Author: Johannes Schindelin <johannes.schindelin@gmx.de>
Date: Thu Sep 17 20:03:34 2015 +0200

configure: detect IPv6 support on Windows

This patch was "nicked" from the MINGW-packages project by Daniel.

https://github.com/Alexpux/MINGW-packages/commit/9253d0bf58a1486e91f7efb5316e7fdb48fa4007
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

commit 495402525b0b1ad40ff41c319375ff5298781d3d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 20 23:43:46 2015 +0100

configure: allow static builds on mingw

This patch is adopted from the MINGW-packages project. It makes it
possible to build curl both shared and static again.

URL: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-curl

commit bd07d9236a7cc841d752689d6ccca7f3a6370fd2
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Thu Dec 17 16:04:33 2015 +0100

test 1326: fix file check since curl is outputting binary data

commit e966d9ba3843b94463496454b09f6f190289f0ac
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Thu Dec 17 15:12:19 2015 +0100

test 1326: fix getting stuck on Windows due to incomplete request

The request needs to be read and send in binary mode in order to use
CRLF instead of LF. Adding --upload-file - causes curl to read stdin
in binary mode.

commit 9a9c559bc8c30506debf11f3cc67a8028bc18b66
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 17 13:21:31 2015 +0100

RELEASE-NOTES: command line option recount

commit 6a8765328ddd6ebdc9fcb4e3b2fa2a9832006fcf
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Dec 16 22:13:02 2015 +0100

scripts/Makefile: build zsh script even in an out-of-tree build

commit e5e5ed736064e3ea72ddba9da3c5d62530393113
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 16 15:33:36 2015 +0100

sockfilt.c: added some debug output to select_ws

commit 6d17a02f35d68c23f635adecd690ae13e31258dd
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 16 15:33:13 2015 +0100

sockfilt.c: keep lines shorter than 80 chars

commit 6c3e2c116b5021a97e0c3e0cfebee5f8091e4d8c
Author: Marc Hoersken <info@marc-hoersken.de>
Date: Wed Dec 16 15:32:31 2015 +0100

sockfilt.c: do not wait on unreliable file or pipe handle

The previous implementation caused issues on modern MSYS2 runtimes.

commit 7d9819eafad9223ab965a0e5d7282b3ea6b68a85
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 16 10:25:31 2015 +0100

cyassl: deal with lack of *get_peer_certificate

The function is only present in wolfssl/cyassl if it was built with
--enable-opensslextra. With these checks added, pinning support is disabled
unless the TLS lib has that function available.

Also fix the mistake in configure that checks for the wrong lib name.

Closes #566

commit 74b684c51e5a67276d027e489bd00e7027c5c130
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 16 10:06:09 2015 +0100

wolfssl: handle builds without SSLv3 support

commit 817b980c7be4c017bb9ebbac64f3bb1e4f250520
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sun Dec 13 19:32:58 2015 +0900

http2: Support trailer fields

This commit adds trailer support in HTTP/2. In HTTP/1.1, chunked
encoding must be used to send trialer fields. HTTP/2 deprecated any
trandfer-encoding, including chunked. But trailer fields are now
always available.

Since trailer fields are relatively rare these days (gRPC uses them
extensively though), allocating buffer for trailer fields is done when
we detect that HEADERS frame containing trailer fields is started. We
use Curl_add_buffer_* functions to buffer all trailers, just like we
do for regular header fields. And then deliver them when stream is
closed. We have to be careful here so that all data are delivered to
upper layer before sending trailers to the application.

We can deliver trailer field one by one using NGHTTP2_ERR_PAUSE
mechanism, but current method is far more simple.

Another possibility is use chunked encoding internally for HTTP/2
traffic. I have not tested it, but it could add another overhead.

Closes #564

commit 1823e7380c7e98312699874389f97d610d68d202
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 15 23:12:32 2015 +0100

RELEASE-NOTES: synced with 6c2c019654e658a

commit 52621f7c32dcf5887a419928558fe9cb3301a5bf
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Dec 14 16:43:08 2015 -0500

x509asn1: Fix host altname verification

- In Curl_verifyhost check all altnames in the certificate.

Prior to this change only the first altname was checked. Only the GSKit
SSL backend was affected by this bug.

Bug: http://curl.haxx.se/mail/lib-2015-12/0062.html
Reported-by: John Kohl

commit 7b0c20193e83858b92d6799bd5bd045bdb05b181
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 14 13:29:13 2015 +0100

curl --expect100-timeout: added

This is the new command line option to set the value for the existing
libcurl option CURLOPT_EXPECT_100_TIMEOUT_MS

commit 2b43f25a7c4693f57348a30860249bc27564f399
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 15 00:36:08 2015 +0100

cyassl: fix compiler warning on type conversion

commit 7897da1433b8e49576a550b7bb48ec4b9e98cdfd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 15 00:02:20 2015 +0100

curlver: the pending release will become 7.47.0

commit 9bcd900e800cd179e55c523e13d6f16c60755d35
Author: Anders Bakken <agbakken@gmail.com>
Date: Mon Dec 14 13:21:32 2015 -0800

setstropt: const-correctness

Closes #565

commit 7c0d11e9409512d5482bafa86533bea9ec4ade14
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 14 10:13:21 2015 +0100

ROADMAP: implemented HTTP2 for HTTPS-only

commit 3fce56793df96146806cb7fd8d40216573d1c728
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 14 10:10:35 2015 +0100

HTTP2.md: spell fix and remove TODO now implemented

commit 6a652f05ab4b8fd37abe73911492fb52f1031e85
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Dec 14 09:49:19 2015 +0100

libressl: the latest openssl x509 funcs are not in libressl

commit 6eeaa5d5b2638300eb612bf6db77a2331f86a956
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 13 09:24:08 2015 +0100

curl: use 2TLS by default

Make this the default for the curl tool (if built with HTTP/2 powers
enabled) unless a specific HTTP version is requested on the command
line.

This should allow more users to get HTTP/2 powers without having to
change anything.

commit e2356d4df72f5d27fe84356edbaa4632c29204e4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Dec 13 09:23:36 2015 +0100

http: add libcurl option to allow HTTP/2 for HTTPS only

... and stick to 1.1 for HTTP. This is in line with what browsers do and
should have very little risk.

commit 64fb59518411fddc4f49734f8faf0dbc888005b3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 10 19:20:22 2015 +0100

openssl: adapt to openssl >= 1.1.0 X509 opaque structs

Closes #491

commit dfcb67590961b4afeb57d72a01bb4a2d150b4793
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 10 17:31:00 2015 +0100

openssl: avoid BIO_reset() warnings since it returns a value

commit 3d2750eb531f2c3b6da9b61f8c6b5da1829a3bd2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 10 17:30:31 2015 +0100

openssl: adapt to 1.1.0+ name changes

commit a9f7805bc53ca0112bcb7133ebc1d5f9486ff8d5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 9 00:34:39 2015 +0100

scripts/makefile: add standard header

commit b2559131036031e0727d77db00fe71f4e0f2f41e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 9 00:32:42 2015 +0100

scripts/Makefile: fix GNUism and survive no perl

Closes #555

Reported-by: Thomas Klausner

commit 76357aca649ca5887e45a3b878af90ca5adec0ad
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 9 00:27:04 2015 +0100

fix b6d5cb40d7038fe

commit 6d44412b2711b32d54c4f21190f40b34b35b9543
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Dec 5 00:40:10 2015 +0900

http2: Fix hanging paused stream

When NGHTTP2_ERR_PAUSE is returned from data_source_read_callback, we
might not process DATA frame fully. Calling nghttp2_session_mem_recv()
again will continue to process DATA frame, but if there is no incoming
frames, then we have to call it again with 0-length data. Without this,
on_stream_close callback will not be called, and stream could be hanged.

Bug: http://curl.haxx.se/mail/lib-2015-11/0103.html
Reported-by: Francisco Moraes

commit e85c5a872f56dffc332426360298c624c2469a6a
Author: Christian Stewart <christian@paral.in>
Date: Tue Dec 8 10:04:52 2015 -0500

build: fix compilation error with CURL_DISABLE_VERBOSE_STRINGS

With curl disable verbose strings in http.c the compilation fails due to
the data variable being undefined later on in the function.

Closes #558

commit b8a13aa34a1069c19e17c4772d5f4dd9c7dc6703
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Mon Dec 7 19:05:42 2015 -0500

config-win32: Fix warning HAVE_WINSOCK2_H undefined

commit 7f184bed573f1b6974960309fd5cdf3103ffa758
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Mon Dec 7 18:43:35 2015 -0500

openssl: BoringSSL doesn't have CONF_modules_free

commit 808b15c4e99ac9404ddaf8a24a7306ce0f9f3fdd
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Mon Dec 7 14:27:29 2015 -0500

lwip: Fix compatibility issues with later versions

The name of the header guard in lwIP's <lwip/opt.h> has changed from
'__LWIP_OPT_H__' to 'LWIP_HDR_OPT_H' (bug #35874 in May 2015).

Other fixes:

- In curl_setup.h, the problem with an old PSDK doesn't apply if lwIP is
used.

- In memdebug.h, the 'socket' should be undefined first due to lwIP's
lwip_socket() macro.

- In curl_addrinfo.c lwIP's getaddrinfo() + freeaddrinfo() macros need
special handling because they were undef'ed in memdebug.h.

- In select.c we can't use preprocessor conditionals inside select if
MSVC and select is a macro, as it is with lwIP.

http://curl.haxx.se/mail/lib-2015-12/0023.html
http://curl.haxx.se/mail/lib-2015-12/0024.html

commit 666aca777eee7bf514760f79f76ca4818e5a84c8
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Mon Dec 7 10:09:33 2015 +0100

os400: define CURL_VERSION_PSL in ILE/RPG binding

commit b12f0e3bcd8a6723201524aa3d9e962b8b72ab98
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Thu Dec 3 01:02:50 2015 -0500

version: Add flag CURL_VERSION_PSL for libpsl

commit f3904a7858a8c0c720e9da85eb3f56e3ed4973dd
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Dec 7 02:43:24 2015 -0500

formdata: Check if length is too large for memory

- If the size of the length type (curl_off_t) is greater than the size
of the size_t type then check before allocating memory to make sure the
value of length will fit in a size_t without overflow. If it doesn't
then return CURLE_BAD_FUNCTION_ARGUMENT.

Bug: https://github.com/bagder/curl/issues/425#issuecomment-154518679
Reported-by: Steve Holme

commit a2b98e2ce5c8ad9b5b4df26b5a366c7e641eefd0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Dec 3 23:31:24 2015 +0000

tests: Corrected copy and pasted comments from commit e643c5c908

commit aaa28427f2bbb378b1c1dde2838753886edfa5fa
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Dec 3 09:53:53 2015 +0100

curl: remove keepalive #ifdef checks done on libcurl's behalf

They didn't match the ifdef logic used within libcurl anyway so they
could indeed warn for the wrong case - plus the tool cannot know how the
lib actually performs at that level.

commit becc5d0247648cdfd249f8d30130b20448b4170d
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Dec 2 23:45:29 2015 +0000

test947: Corrected typo in test name

commit f6e009f3bf9bfbb9b90356c946ccd5afc196e57e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Dec 2 23:10:02 2015 +0000

tests: Disable the OAUTHBEARER tests when using a non-default port number

Tests 842, 843, 844, 845, 887, 888, 889, 890, 946, 947, 948 and 949 fail
if a custom port number is specified via the -b option of runtests.pl.

Suggested by: Kamil Dudka
Bug: http://curl.haxx.se/mail/lib-2015-12/0003.html

commit 93f96bfabd740986005351b62935290dba9f1e9e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Dec 2 23:24:47 2015 +0100

bump: towards next release

for all we know now, it might be called 7.46.1

commit 1cd1aa4dd200a25a7ae1ce81b225c7c5726ef6f5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 1 23:10:16 2015 +0100

RELEASE-NOTES: updated contributor count for 7.46.0

commit f9fe8f80a305e08b72e9d3b8e1335466c37ab743
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 1 22:53:24 2015 +0100

THANKS: new contributors from the 7.46.0 release

commit a42cdab2a6217c2564aa7981eebe53079079927d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 1 22:51:50 2015 +0100

THANKS-filter: single Tim Rühsen spelling

commit f35dae4aba88207db97e5bce8eb6d9daee469cd5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Dec 1 09:09:04 2015 +0100

docs/examples: gitignore some more built examples

commit 8dcdd02029a50666794773b5a54e83b7e46db1e0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 30 08:22:32 2015 +0100

RELEASE-NOTES; this bug was never released

commit 56515422c77b0ca5afd9523afc85c4762a5a65d0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 30 08:03:28 2015 +0100

RELEASE-NOTES: synced with e55f15454efacb0

commit 6f70f329d9e431146903ee5e2bd8118a3215e2d0
Author: Flavio Medeiros <flaviomotamedeiros@gmail.com>
Date: Sun Nov 29 11:12:16 2015 -0300

Curl_read_plain: clean up ifdefs that break statements

Closes #546

commit b013830da599526e2a14012fbb83dd6e30c2879e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 30 00:12:46 2015 +0100

http2: convert some verbose output into debug-only output

commit d69a5acbebc0b04306a19470ca9f302a720fe148
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 30 00:11:42 2015 +0100

http2 push: add missing inits of new stream

- set the correct stream_id for pushed streams
- init maxdownload and size properly

commit 47bed7e931e3a41e1d54df3ab300e0161364a941
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 30 00:10:35 2015 +0100

http2 push: set weight for new stream

give the new stream the old one's stream_weight internally to avoid
sending a PRIORITY frame unless asked for it

commit 6b68705098c6ef592022a8ce42946135f8900d7a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 27 23:24:59 2015 +0100

curl_setup.h: undef freeaddrinfo in c-ares block to fix build

Fixes warnings 78c25c854a added.

commit 2a37849e59237080eeec9c6b929a943448c62b0a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 27 23:29:30 2015 +0100

nonblock: fix setting non-blocking mode for Amiga

IoctlSocket() apparently wants a pointer to a long, passed as a char *
in its third parameter. This bug was introduced already back in commit
c5fdeef41d from October 1 2001!

Bug: http://curl.haxx.se/mail/lib-2015-11/0088.html
Reported-by: Norbert Kett

commit 6344774835b511667cb02b72f21e114baafa618c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 27 23:24:07 2015 +0100

zsh install: fix DESTDIR support

Reported-by: Mohammad AlSaleh

commit cb21fa7c441ea0dc35e99004ef9dd1ec2e07e24f
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Fri Nov 27 10:51:22 2015 +0100

lib: Only define curl_dofreeaddrinfo if struct addrinfo is available

commit 151092b83a34447ac3784a643f32760af3d37ac4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Nov 27 06:59:02 2015 +0000

tool_paramhlp: Fixed display of URL index in password prompt for --next

Commit f3bae6ed73 added the URL index to the password prompt when using
--next. Unfortunately, because the size_t specifier (%zu) is not
supported by all sprintf() implementations we use the curl_off_t format
specifier instead. The display of an incorrect value arises on platforms
where size_t and curl_off_t are of a different size.

commit 53b8b951a41d08c3541e723c169f4b4888557d8f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 25 11:38:10 2015 +0100

timecond: do not add if-modified-since without timecondition

The RTSP code path didn't skip adding the if-modified-since for certain
RTSP code paths, even if CURLOPT_TIMECONDITION was set to
CURL_TIMECOND_NONE.

Also, an unknown non-zero CURLOPT_TIMECONDITION value no longer equals
CURL_TIMECOND_IFMODSINCE.

Bug: http://stackoverflow.com/questions/33903982/curl-timecond-none-doesnt-work-how-to-remove-if-modified-since-header

commit eed3738fa2ecd1df1d852e5c676e1ffbeca1e973
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 25 11:29:00 2015 +0100

RELEASE-NOTES: synced with 99d17a5e2ba77e58

commit b7a198ca47ca45abe4d8af7dc58203325e699ac6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Nov 25 10:49:22 2015 +0100

examples/README: cut out the incomplete list

... and add a generic explanation for them instead. Each example file
should contain its own description these days.

commit f575c1ec712c79ace74bf83a9c5a31233df78548
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 24 23:33:37 2015 +0100

test1513: make sure the callback is only called once

commit 0e418f53124834260c5d9c7c583822dacbc6fa5d
Author: Daniel Shahaf <d.s@daniel.shahaf.name>
Date: Fri Nov 20 04:56:10 2015 +0000

build: Install zsh completion

Fixes #534
Closes #537

commit 670939d0eebf1ff233ba23d004f4a5e4eeff23b9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 24 19:51:59 2015 +0100

done: make sure the final progress update is made

It would previously be skipped if an existing error was returned, but
would lead to a previous value being left there and later used.
CURLINFO_TOTAL_TIME for example.

Still it avoids that final progress update if we reached DONE as the
result of a callback abort to avoid another callback to be called after
an abort-by-callback.

Reported-by: Lukas Ruzicka

Closes #538

commit 9a7021804aa8762fd295d51216ae4a8b617abe42
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 24 10:11:06 2015 +0100

curl: expanded the -XHEAD warning text

... to also mention the specific options used.

commit 201164a0de6bc9e7d0d1cb651f817da40291e8ee
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 24 09:32:42 2015 +0100

Revert "cleanup: general removal of TODO (and similar) comments"

This reverts commit 64e959ffe37c436503f9fed1ce2d6ee6ae50bd9a.

Feedback-by: Dan Fandrich
URL: http://curl.haxx.se/mail/lib-2015-11/0062.html

commit 1232fcaafab3d2aa0d24b5fd15a8f3ac37b1c03e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 23 16:11:57 2015 +0100

CURLOPT_HEADERFUNCTION.3: fix typo

Refer to _HEADERDATA not _WRITEDATA.

Reported-by: Michał Piechowski

commit b5156bb71eb55ed5760eedb607967c5bac05c65d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 23 10:58:12 2015 +0100

TODO: TCP Fast Open

commit be5317616aa1b3923b5b48ba24370f6a311c52c2
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Nov 22 11:55:10 2015 +0000

examples: Added website parse-able descriptions to the e-mail examples

commit dc6526482f33893be24fb5595e774a88f0b22830
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 21 17:59:14 2015 +0000

TODO: Added another 'multi-interface' idea

commit 718da389de4805391298db1623d1a7aff2c3befd
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 21 11:41:20 2015 +0000

smb.c: Fixed compilation warnings

smb.c:134:3: warning: conversion to 'short unsigned int' from 'int' may
alter its value
smb.c:146:42: warning: conversion to 'unsigned int' from 'long long
unsigned int' may alter its value
smb.c:146:65: warning: conversion to 'unsigned int' from 'long long
unsigned int' may alter its value

commit f1f059af18d80ef6b075378d0a504783e3eb13c6
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 21 02:54:44 2015 +0000

schannel: Corrected copy/paste error in commit 8d17117683

commit ad7faf45f2f0ede138499c6bf0828d9834bfcf98
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 21 02:43:17 2015 +0000

schannel: Use GetVersionEx() when VerifyVersionInfo() isn't available

Regression from commit 7a8e861a5 as highlighted in the msys autobuilds.

commit 9f3f360a8c9f7d202c79d5b068db6c90e3da2557
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 21 01:47:02 2015 +0000

examples: Fixed compilation warnings

pop3-multi.c:96:5: warning: implicit declaration of function 'memset'
imap-multi.c:96:5: warning: implicit declaration of function 'memset'
http2-download.c:226:5: warning: implicit declaration of function 'memset'
http2-upload.c:290:5: warning: implicit declaration of function 'memset'
http2-upload.c:290:5: warning: implicit declaration of function 'memset'

commit 8d0b628e9b18ef09b0651672682e7eac71132434
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 21 00:04:57 2015 +0000

Makefile.inc: Fixed test run error

test845 not present in tests/data/Makefile.inc

commit 06e58a59be050ec3881200faa48e36a1b9e8d316
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 20 09:37:11 2015 +0100

TODO: remove duplicated title

commit 68dfccdc60381ebafe8fc135d4598db5e581c6c5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 20 08:39:59 2015 +0100

TODO: added two more libcurl ideas

Moved some ideas from "next major" to just ordinary ideas since we can
always add new things while keeping the old without doing a "next
major".

commit bc2c92f50b554059757647b5dbc9c952707d1279
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Nov 20 07:04:19 2015 +0000

tests: Re-enabled tests 889 and 890 following POP3 fix

commit 8c065f09fc2046d3f8a7ec6aeff9bf28a513d562
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Nov 20 07:01:01 2015 +0000

pop3: Differentiate between success and continuation responses

commit 97f002986bbf7ff76d32a273a63fe0929aed55db
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Nov 20 06:41:53 2015 +0000

pop3: Added clarity on some server response codes

commit 3e8a790f5a52bab99e7061060f10aaa8167446a8
Author: Daniel Shahaf <d.s@daniel.shahaf.name>
Date: Thu Nov 19 22:23:11 2015 +0000

build: Fix theoretical infinite loops

Add error-checking to 'cd' in a few cases where omitting the checks
might result in an infinite loop.

Closes #535

commit 211d2d68f197b0a5336b852cff9578d7860eb375
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Thu Nov 19 13:53:47 2015 +0100

curl.h: s/#defien/#define/

commit 4088f5833140a09c70a07397b86a08afd83d6baa
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Thu Nov 19 13:52:06 2015 +0100

os400: synchronize ILE/RPG header file

commit 30b3f5cc3d0d50f6e0615c9babed2125999f20ab
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Thu Nov 19 13:35:29 2015 +0100

os400: Provide options for libssh2 use in compile scripts. Adjust README.

commit cb219e944c89f261f93fab3ab507b6466e44a3e0
Author: danielsh@apache.org <danielsh@apache.org>
Date: Wed Nov 18 21:52:32 2015 +0000

zsh completion: Preserve single quotes in output

When an option's help string contains literal single quotes, those
single quotes would be stripped from the option's description in the
completion output (unless the zsh RC_QUOTES option were set while the
completion function was being sourced, which is not the default). This
patch makes the completion output contain single quotes where the --help
output does.

Closes #532

commit fbbac923585ae60658d5acab6678993ebc21b427
Author: MaxGiting <git@kingkreations.co.uk>
Date: Wed Nov 18 23:00:24 2015 -0500

FAQ: Grammar changes

Closes https://github.com/bagder/curl/pull/533

commit db7e27f98cde6669cd1cab2b95452d4db1e74713
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 17 09:47:58 2015 +0100

http2: http_done: don't free already-freed push headers

The push headers are freed after the push callback has been invoked,
meaning this code should only free the headers if the callback was never
invoked and thus the headers weren't freed at that time.

Reported-by: Davey Shafik

commit a35d9326fe862a80b13234d49d4c469aaf5c5cf3
Author: Anders Bakken <agbakken@gmail.com>
Date: Mon Nov 16 12:50:41 2015 -0800

getconnectinfo: Don't call recv(2) if socket == -1

Closes #528

commit e3dfe607ad32cf9821aeecd54661c5f41de43fcb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 16 08:26:22 2015 +0100

CURLMOPT_PUSHFUNCTION.3: *_byname() returns only the first header

... if there are more than one using the same name

commit 9cdf39628272bcc9ee30e16ffe510fe2e91e9e2d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 16 08:22:08 2015 +0100

http2: minor comment typo

commit 760428dd0fc15f758ef8070dd9dc9e8a3f520117
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Nov 15 23:15:00 2015 +0100

sasl; fix checksrc warnings

commit 773c20f85106dbe563c8e3d632bdf946e8f3f0cc
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Nov 15 20:18:44 2015 +0000

RELEASE-NOTES: Adjusted for the recent OAuth 2.0 activity

commit 4d8dc58646f1c0d1d5a06dfc2357c2ef4317579c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Nov 15 20:14:46 2015 +0000

tests: Disabled 889 and 890 until we support POP3 continuation responses

As POP3 final and continuation responses both begin with a + character,
and both the finalcode and contcode variables in SASLprotoc are set as
such, we cannot tell the difference between them when we are expecting
an optional continuation from the server such as the following:

+ something else from the server
+OK final response

Disabled these tests until such a time we can tell the responses apart.

commit f564683e6e960bb295dd95b52c9703d2dc247dfc
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Nov 15 17:39:05 2015 +0000

tests: Corrected typos from commit ba4d8f7eba

commit f0300008e5dc081096dcda59f94e2786fb62fcec
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Nov 15 17:36:59 2015 +0000

tests: Added OAUTHBEARER failure response tests

commit 9954cfd4dd2ffff06179938a71a12bec08e30a80
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 5 18:35:47 2015 +0100

oauth2: Support OAUTHBEARER failures sent as continuation responses

According to RFC7628 a failure message may be sent by the server in a
base64 encoded JSON string as a continuation response.

Currently only implemented for OAUTHBEARER and not XAUTH2.

commit e8b8ccbac440625e51283fe824ce070d6f75ca46
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Nov 15 19:12:06 2015 +0100

RELEASE-NOTES: synced with 808a17ee675

commit 0038abd0c3cc7611f6e97098796b808d19216b0a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 14 11:19:57 2015 +0000

tests: Renamed existing OAuth 2.0 (XOAUTH) tests

commit f367a25465feaf1414496286a75986bd7565a4e1
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 14 11:16:04 2015 +0000

tests: Added OAuth 2.0 (OAUTHBEARER) tests

commit c805947db89a01382adbbd72262cbd338299de17
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 5 18:09:40 2015 +0100

oauth2: Added support for OAUTHBEARER SASL mechanism to IMAP, POP3 and SNMP

OAUTHBEARER is now the official "registered" SASL mechanism name for
OAuth 2.0. However, we don't want to drop support for XOAUTH2 as some
servers won't support the new mechanism yet.

commit 6d59e7a686798a9b730f6bd8d627bba99180edc6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 23:40:40 2015 +0100

RELEASE-NOTES: recounted curl_easy_setopt() options

commit 686ef22275f179b46778f128d30d4aa6a607d0ce
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 23:19:19 2015 +0100

typecheck-gcc.h: add missing slist-using options

CURLOPT_RESOLVE and CURLOPT_PROXYHEADER were missing

Also sorted the list.

commit 3b6a643b38b7232995377ff3b700083ad53761a2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 23:12:18 2015 +0100

typecheck-gcc.h: added CURLOPT_CLOSESOCKETDATA

... and sorted curl_is_cb_data_option alphabetically

commit fc4d14c351d476ea893a4d2770cda80d5eabee37
Author: Sebastian Pohlschmidt <pohly05@users.noreply.github.com>
Date: Fri Nov 13 16:07:11 2015 -0500

openssl: Free modules on cleanup

Curl_ossl_init calls OPENSSL_load_builtin_modules() but
Curl_ossl_cleanup doesn't make a call to free these modules.

Bug: https://github.com/bagder/curl/issues/526

commit 07672e4d691a210e0a9cc980a0f4b8b1103ee404
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Nov 13 20:42:35 2015 +0000

symbols-in-versions: Added new CURLOPTTYPE_STRINGPOINT alias

...following commit aba281e762 to fix test 1119.

commit beb6f6a38ab91e6c85a1fcb5b05de4362af33eff
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 16:59:09 2015 +0100

curl: mark two more options strings for --libcurl output

commit 081bf7c206caccf0faa0bc6136a95282f9843fed
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 16:53:17 2015 +0100

typecheck-gcc.h: add some missing string types

Also sorted that list alphabetically

commit dce1d9fc650dd522bbdea1adba10334c2d12b10d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 16:50:10 2015 +0100

curl.h: introducing the STRINGPOINT alias

As an alias for OBJECTPOINT. Provided to allow us to grep for all string
options easier.

commit cbd906efdd5ae96120395fa21887714008f4ed21
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 16:15:26 2015 +0100

cleanup: general removal of TODO (and similar) comments

They tend to never get updated anyway so they're frequently inaccurate
and we never go back to revisit them anyway. We document issues to work
on properly in KNOWN_BUGS and TODO instead.

commit 769774c72f32fd802e3136832f6f0e30259c22bc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 16:12:18 2015 +0100

ftplistparser: remove empty function

commit 5263e1b8fb1e847c5828f44aaaf5c2f599e18680
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 15:55:52 2015 +0100

openssl: remove #if check for 0.9.7 for ENGINE_load_private_key

commit e6a528b6255074b5a7eb9c7667257ccfa0e31935
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 15:52:39 2015 +0100

openssl: all supported versions have X509_STORE_set_flags

Simplify by removing #ifdefs and macros

commit 7de1fbda9d0a6c74ffeec70c0946167c40f4e7b4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 15:51:46 2015 +0100

openssl: remove 0.9.3 check

commit 7f6f0ee2e00825e4be50ff877e83acf8a218081b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 15:49:49 2015 +0100

openssl: remove #ifdefs for < 0.9.5 support

We only support >= 0.9.7

commit 619589cc7f67da8924310340b4d20c037d18397e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 13 15:48:04 2015 +0100

lib/vtls/openssl: remove unused traces of yassl ifdefs

commit 126c74559a6e3af247e86f1c53d05e1183a432f6
Author: dfandrich <dan@coneharvesters.com>
Date: Thu Nov 12 23:45:56 2015 +0100

unit1603: Demote hash mismatch failure to a warning

The hashes can vary between architectures (e.g. Sparc differs from x86_64).
This is not a fatal problem but just reduces the coverage of these white-box
tests, as the assumptions about into which hash bucket each key falls are no
longer valid.

commit 726ee0eaafb2630b659d43474c69ff1beae91fa0
Author: dfandrich <dan@coneharvesters.com>
Date: Thu Nov 12 20:40:26 2015 +0100

unit1603: Added unit tests for hash functions

commit 9e7b2b315120e1448011c40a84fc10110c4f9b85
Author: dfandrich <dan@coneharvesters.com>
Date: Thu Nov 12 19:30:59 2015 +0100

unit1602: Fixed failure in torture test

commit 62027569298997a1fdee8d4da07c7ed176c69873
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Nov 12 19:45:24 2015 +0000

sasl: Re-introduced XOAUTH2 in the default enabled authentication mechanism

Following the fix in commit d6d58dd558 it is necessary to re-introduce
XOAUTH2 in the default enabled authentication mechanism, which was
removed in commit 7b2012f262, otherwise users will have to specify
AUTH=XOAUTH2 in the URL.

Note: OAuth 2.0 will only be used when the bearer is specified.

commit 24d5bf8c8291a9ada1e8376ad83f2519c9ffd1b1
Author: Stefan Bühler <buehler@teamviewer.com>
Date: Thu Nov 12 11:10:32 2015 +0100

sasl_sspi: fix identity memory leak in digest authentication

commit b57cc5f8fca696ea9c053bcbe2d798c688070b5e
Author: Stefan Bühler <buehler@teamviewer.com>
Date: Thu Nov 12 11:09:21 2015 +0100

sasl_sspi: fixed unicode build for digest authentication

Closes #525

commit 6684d2bf51efff4e9612013f47f2495ff30d59a9
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 5 17:32:37 2015 +0100

oauth2: Re-factored OAuth 2.0 state variable

commit be68047b7dd893b3981dad8895d84fcec2b1d022
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 5 17:29:49 2015 +0100

sasl: Don't choose OAuth 2.0 if mechanism not advertised

Regression from commit 9e8ced9890 which meant if --oauth2-bearer was
specified but the SASL mechanism wasn't supported by the server then
the mechanism would be chosen.

commit 1a573b60c7adea587aa483d7cfe87c51a4d34d1b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Nov 12 15:32:48 2015 +0100

runtests: more compact "System characteristics" output

- no point in repeating curl features that is already listed as features
from the curl -V output

- remove the port numbers/unix domain path from the output unless
verbose is used, as that is rarely interesting to users.

commit 6082ab7df62f6acdbd6bf8d5e75ef3037dd5c5b2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Nov 12 14:50:13 2015 +0100

runtests: rename conditional curl-features to $has_[name]

commit aec13fdf3ab0d43f124618406cff17c7cdad4799
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Sep 5 17:08:54 2015 +0100

oauth2: Introduced support for host and port details

Added support to the OAuth 2.0 message function for host and port, in
order to accommodate the official OAUTHBEARER SASL mechanism which is
to be added shortly.

commit f5b893987e5e2d53c2e5e3f13e5a4f27187a68b7
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Nov 11 22:19:39 2015 +0000

curl_setup.h: Removed duplicate CURL_DISABLE_RTSP when HTTP_ONLY defined

commit 6e3cc40a3eb2aa629193b4c87bf8a55f35adc2a4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Nov 11 22:18:24 2015 +0000

cmake: Add missing feature macros in config header (Part 2)

In addition to commit a215381c94 added the RTSP, RTMP and SMB protocols.

commit 43adc4d12b57df936ab12069def34dd3136a916f
Author: Douglas Creager <dcreager@google.com>
Date: Tue Nov 10 14:46:49 2015 -0500

cmake: Add missing feature macros in config header

The curl_config.h file can be generated either from curl_config.h.cmake
or curl_config.h.in, depending on whether you're building using CMake or
the autotools. The CMake template header doesn't include entries for
all of the protocols that you can disable, which (I think) means that
you can't actually disable those protocols when building via CMake.

Closes #523

commit 434b579b027978879fba54a1032c7d4a55ab75ac
Author: Douglas Creager <dcreager@google.com>
Date: Tue Nov 10 15:05:18 2015 -0500

BoringSSL: Work with stricter BIO_get_mem_data()

BoringSSL implements `BIO_get_mem_data` as a function, instead of a
macro, and expects the output pointer to be a `char **`. We have to add
an explicit cast to grab the pointer as a `const char **`.

Closes #524

commit 02abd24c6cc8794e3f0ac3753362ee4b11cf96d3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Nov 10 09:10:46 2015 +0100

http2: rectify the http2 version #if check

We need 1.0.0 or later. Also verified by configure.

commit 01213db6824e730b61bceb32227b4edcaca63446
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Nov 4 07:20:21 2015 +0000

oauth2: Don't use XAUTH2 in OAuth 2.0 function name

commit c08779f4226150ba24d3627b8261ab98673fe715
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Sep 4 07:11:09 2015 +0100

oauth2: Don't use XOAUTH2 in OAuth 2.0 variables

commit 34d310017e04b420669b14842360688dfcac9be3
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Sep 4 06:56:26 2015 +0100

oauth2: Use OAuth 2.0 rather than XOAUTH2 in comments

When referring to OAuth 2.0 we should use the official name rather the
SASL mechanism name.

commit 35c3550d97f1d9209648bc6d61bcb9dbe816ebf3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 9 10:54:55 2015 +0100

imap: avoid freeing constant string

The fix in 1a614c6c3 was wrong and would leed to free() of a fixed
string.

Pointed-out-by: Kamil Dudka

commit 539015bfc41c87e41cb762ce5b48a434a3660d00
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 9 09:05:43 2015 +0100

ROADMAP: remove two items already done

commit d72af7c658deae23d3f0de3165bfa51db11689d1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 9 08:56:28 2015 +0100

RELEASE-NOTES: synced with 2200bf62054

commit b96f8f205b3b49ae50051227bac37f0b06a7b0f6
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Nov 9 02:56:40 2015 -0500

acinclude: Remove check for 16-bit curl_off_t

Because it's illogical to check for a 16-bit curl_off_t.

Ref: https://github.com/bagder/curl/issues/425#issuecomment-154964205

commit 6d10c95695547acca5fbcde3198ef791dd3e7376
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Nov 8 16:50:25 2015 +0100

tool: Fixed a memory leak on OOM introduced in 19cb0c4a

commit 536fbb8de5ba511c4c96df9f302895273fe0f9dc
Author: Justin Ehlert <ehlertjd@gmail.com>
Date: Tue Oct 13 08:55:05 2015 -0500

imap: Don't check for continuation when executing a CUSTOMREQUEST

Bug: https://github.com/bagder/curl/issues/486
Closes https://github.com/bagder/curl/pull/487

commit 4128c6d5f7f889a7fe74f07949127b47c68f920b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Nov 7 23:21:29 2015 +0100

imap: checksrc: remove space after while before paren

commit 4efc7ad3fa3163867d08fc2df0654cd529b866dc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Nov 7 23:20:50 2015 +0100

checksrc.whitelist: "missing space after close paren"

... when it was within a string!

commit b4239a51d844092957ed07e0ada70f267854f59f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 7 22:11:04 2015 +0000

opts: Corrected TLS protocols list to include POP3S rather than POP3

commit 8b4f0eeb5573da96ed63a9b9fd66a240f09225a4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 7 11:59:32 2015 +0000

imap: Quote other 'atom-specials' and not just the space character

Closes #517

commit 7099b6b788e84bfdab86f470a8b68c075c1c0e2f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Nov 7 11:20:34 2015 +0000

imap: Fixed double quote in LIST command when mailbox contains spaces

commit 2728a8ec3d4514695f23f8ab8ef5e2d1f036bc54
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 6 23:44:27 2015 +0100

imap: fix compiler warning

imap.c:657:13: error: assignment discards 'const' qualifier from pointer
target type [-Werror=discarded-qualifiers]

commit 57e6353e13a1faef145e974fa6babeaf48b35ea7
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Nov 6 21:49:26 2015 +0000

imap: Don't call imap_atom() when no mailbox specified in LIST command

commit a89eb67ef20c8c91caf3ec2d624b669f58a45080
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 6 15:03:00 2015 +0100

curl.1: remove the overlap --range example

... it is just weird to include by default even if it still works.

commit 341971abd47da22de1c5ddde2aef138738c785d8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Nov 6 10:52:19 2015 +0100

tftp tests: verify sent options too

The tftpd test server now logs all received options and thus all TFTP
test cases need to match them exactly.

Extended test 283 to use and verify --tftp-blksize.

commit 26acacb0e0e591b820098f0d52f57e91fd3df738
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Nov 6 00:30:16 2015 -0500

getinfo: CURLINFO_ACTIVESOCKET: fix bad socket value

- Set user info param to the socket returned by Curl_getconnectinfo,
regardless of if the socket is bad. Effectively this means the user info
param now will receive CURL_SOCKET_BAD instead of -1 on bad socket.

- Remove incorrect comments.

CURLINFO_ACTIVESOCKET is documented to write CURL_SOCKET_BAD to user
info param but prior to this change it wrote -1.

Bug: https://github.com/bagder/curl/pull/518
Reported-by: Marcel Raad

commit ad5a6897c6061f06cd6bbca4dda68ebcddc506b4
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Thu Nov 5 15:20:43 2015 +0100

curl_ntlm_core: fix 2 curl_off_t constant overflows.

commit cf7b89f7b00e8cc69fc2ee7161cdf0e77a4982c9
Author: Patrick Monnerat <patrick.monnerat@dh.com>
Date: Thu Nov 5 14:41:22 2015 +0100

os400: adjust specific code to support new options.

commit 778d93d6af33706e5ca4b025a5bfb22c92c2dcd6
Author: Lauri Kasanen <cand@gmx.com>
Date: Mon Nov 2 21:18:03 2015 +0100

rawstr: Speed up Curl_raw_toupper by 40%

Rationale: when starting up a curl-using app, all cookies from the jar
are checked against each other. This was causing a startup delay in the
Fifth browser.

All tests pass.

Signed-off-by: Lauri Kasanen <cand@gmx.com>

commit e5aa9a577acc776c68df9333016129a435fbc48a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 2 12:48:03 2015 +0100

http redirects: %-encode bytes outside of ascii range

Apparently there are sites out there that do redirects to URLs they
provide in plain UTF-8 or similar. Browsers and wget %-encode such
headers when doing a subsequent request. Now libcurl does too.

Added test 1138 to verify.

Closes #473

commit c51153e2d606c78c0e87a4f6a80aeedbef798510
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 2 10:16:21 2015 +0100

RELEASE-NOTES: synced with cba5bc585410

commit 28610b103ea6aca5e09e3f1647e8458074ca6984
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Nov 2 08:40:57 2015 +0100

symbols-in-version: add all CURL_HTTPPOST_* symbols

commit 40d9b72ce39353881576bf8f5c159b6af760fa71
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 24 00:52:25 2015 +0200

formadd: support >2GB files on windows

Closes #425

commit 27839475b6f8da6bb7d666d1b81a7c23e788e6d0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Oct 31 22:48:21 2015 +0100

curl.h: s/HTTPPOST_/CURL_HTTPOST_

Fixes a name space pollution at the cost of programs using one of these
defines will no longer compile. However, the vast majority of libcurl
programs that do multipart formposts use curl_formadd() to build this
list.

Closes #506

commit fa22bf7b0a1266f2438961673df25a5bbb6d6bf8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 29 22:59:27 2015 +0100

mbedtls: fix "Structurally dead code"

CID 1332129

commit daccbc3c5db2aefe4f81af73938b74727f3f0f95
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 29 22:57:09 2015 +0100

mbedtls: fix "Logically dead code"

CID 1332128

commit 00caa59fde9c5cb060b166e3d3dcbe308bb7411f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 29 14:59:11 2015 +0100

Revert "openssl: engine: remove double-free"

This reverts commit 370ee919b37cc9a46c36428b2bb1527eae5db2bd.

Issue #509 has all the details but it was confirmed that the crash was
not due to this, so the previous commit was wrong.

commit 9a1dd08f59c6a2a30126d51072ad2fdaa16707f8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 28 13:17:54 2015 +0100

curl.1: -E: s/private certificate/client certificate

... as the certificate is strictly speaking not private.

Reported-by: John Levon

commit e9c1beaa4f11d3394a540a49251d06fba832eaa5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 27 13:45:25 2015 +0100

openssl: engine: remove double-free

After a successful call to SSL_CTX_use_PrivateKey(), we must not call
EVP_PKEY_free() on the key.

Reported-by: nased0
Closes #509

commit 9fc667024a7089e699a444041e47634684409284
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Oct 27 02:39:00 2015 -0400

socks: Fix incorrect port numbers in failed connect messages

commit 4213adf9398843a72f6af698a7ede31ce18d7a8c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 26 16:31:03 2015 +0100

DISTRO-DILEMMA: removed

Out of date and not kept accurate. It was sort of a problem of the past
anyway.

commit 54cb23eae6fff0e99ba80a4014993faa0edc6d1b
Author: xiangbin li <lxbdanny@gmail.com>
Date: Sun Oct 25 12:35:16 2015 +0100

MacOSX-Framework: sdk regex fix for sdk 10.10 and later

closes #507

commit 8ef19e30373551ba55a8a4a51d29810bbe68ab94
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Oct 24 03:31:57 2015 -0400

build: Fix support for PKG_CONFIG

- Allow the user to use PKG_CONFIG but not PKGCONFIG.

Background:

Last week in 14d5a86 a change was made to allow the user to set the
PKGCONFIG variable. Today in 72d99f2 I supplemented that to allow the
more common PKG_CONFIG as an alternative if PKGCONFIG is not set.

Neither of those changes worked as expected because PKGCONFIG is
occasionally reset in configure and by the CURL_CHECK_PKGCONFIG macro.
Instead in this commit I take the approach that the user may set
PKG_CONFIG only.

commit a09cf638dffb6f6be4656ac559ea1d5363ccc04a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Oct 23 17:17:54 2015 -0400

build: Fix mingw ssl gdi32 order

- If mingw ssl make sure -lgdi32 comes after ssl libs

- Allow PKG_CONFIG to set pkg-config location and options

Bug: https://github.com/bagder/curl/pull/501
Reported-by: Kang Lin

commit 7ec354e062f73803f3a045a89f3a7f8f1b8575a0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 23 16:40:44 2015 +0200

RELEASE-NOTES: synced with 03b6e078163f

commit 08c392b12e48cf7ea23292cc7975e4c9dedca129
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 23 16:14:29 2015 +0200

polarssl/mbedtls: fix name space pollution

Global private symbols MUST start with Curl_!

commit 7dc12831d907bdc2ce86292a5468effa0880ebf9
Author: Dmitry S. Baikov <dsbaikov@gmail.com>
Date: Fri Oct 23 15:46:03 2015 -0700

mbedTLS: THREADING_SUPPORT compilation fix

Closes #505

commit 314ddc7fe74bce25b86536ae95755f7fc1f17169
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 23 15:24:56 2015 +0200

test1137: verify --ignore-content-length for FTP

commit 87aebd689568571616d0e4af8cc7029864bc762a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 23 15:24:31 2015 +0200

curl.1: --ignore-content-length now works for FTP too

commit 56632a652a6c394fc8b6432dad839bb7ef6fe7eb
Author: Kurt Fankhauser <kurtbutfrank@gmail.com>
Date: Fri Oct 23 14:57:30 2015 +0200

ftp: allow CURLOPT_IGNORE_CONTENT_LENGTH to ignore size

This allows FTP transfers with growing (or shrinking) files without
causing a transfer error.

Closes #480

commit 8b3392f989f6e8889d18ccb760e595261dbed91d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 23 09:23:46 2015 +0200

CURLOPT_STREAM_WEIGHT.3: call argument 'weight' too

... and add a little example of what the weight actually means. "Relative
proportion of bandwidth".

commit b91ffbdb9774b36147727c52495d35b55469c5d4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 23 09:16:00 2015 +0200

http2: add stream options to dist and curl_easy_setopt.3

commit 565ebb55e6d4ef9c0bbdbf56c7a091fb08ec9a88
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 21 22:47:24 2015 +0200

http2: s/priority/weight

commit 2da5d3d73abcd123e9658892f3e765c164695fe3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 21 15:45:07 2015 +0200

http2: on_frame_recv: trust the conn/data input

Removed wrong assert()s

The 'conn' passed in as userdata can be used and there can be other
sessionhandles ('data') than the single one this checked for.

commit b4d071f44edce0e433f9dfdba667a703013709e0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 13 16:07:05 2015 +0200

http2: added three stream prio/deps options

CURLOPT_STREAM_DEPENDS

CURLOPT_STREAM_DEPENDS_E

CURLOPT_STREAM_PRIORITY

commit 766d0d45243ec98b74f83c07a64995ecd96965e1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 22 18:40:53 2015 +0200

RELEASE-NOTES: synced with ace68fdc0cfed83d

commit 254f89ea67007a7763f59642e192a5ce7910f2d2
Author: m-gardet <m.gardet@overkiz.com>
Date: Wed Oct 21 09:30:31 2015 +0200

mbedtls:new profile with RSA min key len = 1024.

Closes #502

commit c81d4b05574aeb358981f77ce28a0c65e5b34d29
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 21 13:46:03 2015 +0200

checksrc: add crude // detection

commit c84a2738964847aa2e8f4309f1b36413c6ad1df2
Author: Gisle Vanem <gvanem@yahoo.no>
Date: Wed Oct 21 12:59:43 2015 -0400

build: fix for MSDOS/djgpp

- Add a VPATH-statement for the vtls/*.c files.

- Due to 'vtls/*.c', remove that subdir part from $(OBJECTS).

commit daf015d933066fdffdcb2a8a1aabac1e851cbaa1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 20 13:33:01 2015 +0200

copyrights: update Gisle Vanem's email

commit e4a7f0de700e73dd83000ee1759a9c5ef1887f54
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 20 08:12:44 2015 +0200

vtls: fix compiler warning for TLS backends without sha256

... noticed with mbedTLS.

commit b499a7b67ed288800ef68300736e68dd0dce2eef
Author: Jonas Minnberg <sasq64@gmail.com>
Date: Mon Oct 19 14:25:34 2015 +0200

vtls: added support for mbedTLS

closes #496

commit a2bacc46bae9a78a9d59db027b058dd5297faeef
Author: Javier G. Sogo <jgsogo@gmail.com>
Date: Mon Oct 19 16:09:14 2015 +0200

cmake: Fix for add_subdirectory(curl) use-case

- Use CURL_BINARY_DIR instead of CMAKE_BINARY_DIR.

When including CURL using add_subdirectory the variables
CMAKE_BINARY_DIR and CURL_BINARY_DIR hold different paths.

Closes https://github.com/bagder/curl/pull/488
Closes https://github.com/bagder/curl/pull/498

commit 2e49cde07398a21657babcd681f2b43c1a771d1d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 18 23:48:07 2015 +0200

RELEASE-NOTES: synced with 4c773bcb474e

commit b96cbcb18f3d4b843d686839d4e33bc50ff4f53d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 18 23:25:26 2015 +0200

tests/FILEFORMAT: mention PSL as a valid feture to check for

For example in test 1136

commit 8f3cd028e5af500e3e4169a2a948c1a6a2997b01
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 18 23:20:08 2015 +0200

teste1136: only run when PSL is enabled

commit 69297c9cad33f0b47f4c39482235e36b3df52b56
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 18 00:43:37 2015 +0200

curl: slist_wc: remove curl_memory.h inclusion

... that's for the library only.

commit 3c99c571eccc20512ffe582dd283d9a72f3cf43b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Oct 18 00:11:13 2015 +0200

configure: add PSL to the list of features

... to make test 1014 work again after e77b5b7453.

commit a535604a95c37eab4eae4f99fa04a53d0e0c3217
Author: Daniel Hwang <danielleehwang@gmail.com>
Date: Sat Oct 17 23:57:58 2015 +0200

tool: Generate easysrc with last cache linked-list

Using a last cache linked-list improves the performance of easysrc
generation.

Bug: https://github.com/bagder/curl/issues/444
Ref: https://github.com/bagder/curl/issues/429

Closes #452

commit 81c033e231bb0ad19cdd89e5437d4298f2ffafdd
Author: Tim Rühsen <tim.ruehsen@gmx.de>
Date: Tue Sep 29 11:33:01 2015 +0200

cookies: Add support for Mozilla's Publix Suffix List

Use libpsl to check the domain value of Set-Cookie headers (and cookie
jar entries) for not being a Publix Suffix.

The configure script checks for "libpsl" by default. Disable the check
with --without-libpsl.

Ref: https://publicsuffix.org/
Ref: https://github.com/publicsuffix/list
Ref: https://github.com/rockdaboot/libpsl

commit 782788a79b25c9d302dfbd54c168d9f40cbd141c
Author: Richard Hosking <richard@hovis.net>
Date: Fri Oct 16 21:29:29 2015 +0100

curlbuild.h: Fix non-configure compiling to mips and sh4 targets

commit b3f5a879a628d3f0cf79f18149148f67caf7e61b
Author: Anders Bakken <agbakken@gmail.com>
Date: Fri Oct 16 11:51:12 2015 -0700

http2: Don't pass unitialized name+len pairs to nghttp2_submit_request

bug introduced by 18691642931e5c7ac8af83ac3a84fbcb36000f96.

Closes #493

commit 4a28ed3ca7bf279d5336472a735c7d0ddb6d7532
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Fri Oct 16 21:43:56 2015 +0200

test1601: fix compilation with --enable-debug and --disable-crypto-auth

commit 0ba8935ecda8d9341f67e1d32b1e0c2956f80235
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 16 22:42:30 2015 +0200

multi: fix off-by-one finit[] array size

introduced in c6aedf680f6. It needs to be CURLM_STATE_LAST big since it
must hande the range 0 .. CURLM_STATE_MSGSENT (18) and CURLM_STATE_LAST
is 19 right now.

Reported-by: Dan Fandrich
Bug: http://curl.haxx.se/mail/lib-2015-10/0069.html

commit 088095454b229639775954469e3e667ae967d91e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 5 20:39:10 2015 +0200

fread_func: move callback pointer from set to state struct

... and assign it from the set.fread_func_set pointer in the
Curl_init_CONNECT function. This A) avoids that we have code that
assigns fields in the 'set' struct (which we always knew was bad) and
more importantly B) it makes it impossibly to accidentally leave the
wrong value for when the handle is re-used etc.

Introducing a state-init functionality in multi.c, so that we can set a
specific function to get called when we enter a state. The
Curl_init_CONNECT is thus called when switching to the CONNECT state.

Bug: https://github.com/bagder/curl/issues/346

Closes #346

commit a9677bc4c21fd05ca81ec9e69bd992a4b43f5faa
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Wed Oct 14 22:00:09 2015 +0200

test1531: case the size to fix the test on non-largefile builds

commit 7035608578d2d316d8a346c2ae2be734a7338119
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Oct 13 12:56:42 2015 +0200

acinclude: remove PKGCONFIG override

... and allow it to get set by a caller easier.

Reported-by: Rainer Jung
Bug: http://curl.haxx.se/mail/lib-2015-10/0035.html

commit 9c6ee897d45fd3c56d1655403dec588652407a1d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Mon Oct 12 23:47:10 2015 +0200

docs/INSTALL: Updated example minimal binary sizes

commit f0cfe2fee966a509babffaafab129993695ef3c5
Author: Erik Johansson <erik@ejohansson.se>
Date: Fri Oct 9 21:02:13 2015 +0200

openssl: Fix set up of pkcs12 certificate verification chain

sk_X509_pop will decrease the size of the stack which means that the loop would
end after having added only half of the certificates.

Also make sure that the X509 certificate is freed in case
SSL_CTX_add_extra_chain_cert fails.

commit eb5299e51f9e018e31c9e21194f7847dbce6c816
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 9 23:51:54 2015 +0200

ntlm: error out without 64bit support as the code needs it

It makes it a clearer message for developers reaching that point without
the necessary support.

Thanks-by: Jay Satiro

Closes #78

commit dc2388a65c51244a7b5adbbb4c24ef3dc3361c5d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 9 16:13:54 2015 +0200

curl_global_init: set the memory function pointers correct

follow-up from 6f8ecea0

commit 688a88cdde14cdfa1e693ba59ddc7f38a54fc6ca
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Oct 9 16:04:11 2015 +0200

curl_global_init_mem: set function pointers before doing init

... as in the polarssl TLS backend for example it uses memory functions.

commit 7f205605529c03811016ac04a23c3696cbd7dc84
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Oct 8 02:48:44 2015 -0400

http2: Fix http2_recv to return -1 if recv returned -1

If the underlying recv called by http2_recv returns -1 then that is the
value http2_recv returns to the caller.

commit 8d822aef8ae6f613e6a2f93240e518c283e36e45
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Thu Oct 8 19:28:30 2015 +0300

curl_easy_recv.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET

Closes #479

commit 426f5fd49307bf73911c75d550d55057e357f7e1
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Thu Oct 8 19:26:47 2015 +0300

curl_easy_send.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET

commit c24caac014831ae19a10e8e3365da54ef42eff4f
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Thu Oct 8 18:14:18 2015 +0300

CURLOPT_CONNECT_ONLY.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET

commit 11dbc2a5aceff0c6b665bdd5ce21624f984a7a16
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 8 13:47:52 2015 +0200

CURLOPT_CERTINFO.3: fix reference to CURLINFO_CERTINFO

commit f8fa4421d870164f74bc5d8eb3a12cd8e1ca2b9d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Oct 8 12:30:22 2015 +0200

ntlm: get rid of unconditional use of long long

... since some compilers don't have it and instead use other types, such
as __int64.

Reported by: gkinseyhpw
Closes #478

commit b2b5a4ebac5223c071cf78cf3dcb54234c58f909
Author: Anders Bakken <agbakken@gmail.com>
Date: Wed Oct 7 12:40:23 2015 -0700

des: Fix header conditional for Curl_des_set_odd_parity

Follow up to 613e502.

commit 57be9e575512f4a9ffef4f0841fb633e34200b54
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 7 14:56:07 2015 +0200

configure: build silently by default

'make V=1' will make the build verbose like before

commit 3048a67775e85364e558c12af4b822e5107ec41b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 7 14:52:32 2015 +0200

bump: start climbing toward 7.46.0

commit 23d41e90567ad163b502a861d382a1a1bd9e1fa0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 7 14:46:49 2015 +0200

RELEASE-PROCEDURE: add the github HTTPS download step

commit c15b086c662e094122ac2bc5d365e84e9ae639b7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Oct 7 10:12:39 2015 +0200

THANKS: 19 new contributors from the 7.45.0 announcement

commit 04967cdb966517cb356d9b5402fdd81a2ffc1a42
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Oct 5 19:36:31 2015 +0200

RELEASE-NOTES: synced with 69ea57970080

commit 976b192904cdb812f5a531dd67fa42f749e8d70b
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Oct 1 16:39:40 2015 -0400

getinfo: Fix return code for unknown CURLINFO options

- If a CURLINFO option is unknown return CURLE_UNKNOWN_OPTION.

Prior to this change CURLE_BAD_FUNCTION_ARGUMENT was returned on
unknown. That return value is contradicted by the CURLINFO option
documentation which specifies a return of CURLE_UNKNOWN_OPTION on
unknown.

commit 6d3d8702fed9cc711894134531d2b65a64f02856
Author: rouzier <rouzier@gmail.com>
Date: Sun Oct 4 14:30:07 2015 -0400

hiperfifo: fix the pointer passed to WRITEDATA

Closes https://github.com/bagder/curl/pull/471

commit 19084c8fe0ad09ee19c6b6993001d524ab2c990d
Author: Maksim Stsepanenka <mstsepanenka@gmail.com>
Date: Fri Oct 2 02:43:57 2015 -0400

tool_setopt: fix c_escape truncated octal

Closes https://github.com/bagder/curl/pull/469

commit 4e5b34a575460cfe46c434b7a9a0361307e8755e
Author: Orange Tsai <orange@chroot.org>
Date: Thu Oct 1 23:17:58 2015 +0800

gopher: don't send NUL byte

Closes #466

commit 2d8524a9eacf1cc842b32f4832590b92ea2aa98e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Sep 29 22:08:57 2015 -0400

runtests: Fix pid check in checkdied

Because the 'not' operator has a very low precedence and as a result the
entire statement was erroneously negated and could never be true.

commit c055dbb6418a374ffc513efd26eedd5560bd38be
Author: Thorsten Schöning <tschoening@am-soft.de>
Date: Wed Sep 30 00:03:35 2015 +0200

win32: make recent Borland compilers use long long

commit 5ab2a6e58608a4b2769d7adafb87646ccf427758
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 29 10:57:42 2015 +0200

RELEASE-NOTES: synced with 69b89050d4

commit 266676355cfbaf3282f3626544451a5674095f09
Author: Michael Kalinin <kalinin@company.dnevnik.ru>
Date: Tue Sep 22 02:49:54 2015 -0400

openssl: Fix algorithm init

- Change algorithm init to happen after OpenSSL config load.

Additional algorithms may be available due to the user's config so we
initialize the algorithms after the user's config is loaded.

Bug: https://github.com/bagder/curl/issues/447
Reported-by: Denis Feklushkin

commit 8aa1e8979018c21b09610e8cdf8600c758cbe04d
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sun Sep 27 23:44:31 2015 -0400

docs: fix unescaped '\n' in man pages

Closes https://github.com/bagder/curl/pull/459

commit 4b7d8a928289a0c6c59be2e1cd620e5f4b97aa9d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 27 23:20:13 2015 +0200

http2: set TCP_NODELAY unconditionally

For a single-stream download from localhost, we managed to increase
transfer speed from 1.6MB/sec to around 400MB/sec, mostly because of
this single fix.

commit dd414b0883db23a0de6d13ba48ef27cdf6527b95
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 27 19:40:20 2015 +0200

http2: avoid superfluous Curl_expire() calls

... only call it when there is data arriving for another handle than the
one that is currently driving it.

Improves single-stream download performance quite a lot.

Thanks-to: Tatsuhiro Tsujikawa
Bug: http://curl.haxx.se/mail/lib-2015-09/0097.html

commit dbe1059fe3437b04b2a08bdf8b8459fee8701500
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 27 20:48:35 2015 +0200

readwrite_data: set a max number of loops

... as otherwise a really fast pipe can "lock" one transfer for some
protocols, like with HTTP/2.

commit 86cf0cd6cd528a14d7bd33c40bd3f4ea246e1ca6
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Thu Sep 17 16:34:47 2015 +0300

CI: Added AppVeyor-CI for curl

Closes #439

commit 9b3585b3f7faf7c11f0b4efcfdc5761abbe0bf8d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Sep 26 23:36:25 2015 +0200

FTP: fix uploading ASCII with unknown size

... don't try to increase the supposed file size on newlines if we don't
know what file size it is!

Patch-by: lzsiga

commit b6b902e74c1eee39e160d9864cf33f64b2dfba95
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Sep 26 17:24:34 2015 +0900

build: fix failures with -Wcast-align and -Werror

Closes #457

commit 3bea9e99a84594992e849d086be178af80b38ac1
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Sep 26 17:23:35 2015 +0900

curl-confopts.m4: Add missing ')'

... for CURL_CHECK_OPTION_RT

Closes #456

commit 2e988d8b7a64968759caf1dfe04018948ed108cc
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Sep 25 02:37:42 2015 -0400

curl_easy_getinfo.3: Add brief description for each CURLINFO

commit 2bccb0593c903c6f51094555a2c9d585634c2cf6
Author: Jakub Zakrzewski <jzakrzewski@e2ebridge.com>
Date: Wed Sep 16 17:33:23 2015 +0200

CMake: Ensure discovered include dirs are considered

...during header checks. Otherwise some following header tests
(incorrectly) fail.

Closes #436

commit 89ea3214f0d6bf49c08375983ca2cfe30b938f14
Author: Jakub Zakrzewski <jzakrzewski@e2ebridge.com>
Date: Wed Sep 16 17:27:13 2015 +0200

CMake: Put "winsock2.h" before "windows.h" during configure checks

"windows.h" includes "winsock.h" what causes many redefinition errors
if "winsock2.h" is included afterwards and can cause build to fail.

commit 90f8520aacbdfd05d4ce44118f2f271e86b025d0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 23 13:53:38 2015 +0200

tests: disable 1510 due to CI-problems on github

commit 048fdf3abf0c9ff85d0631ff089537a90815dc9b
Author: Mike Crowe <mac@mcrowe.com>
Date: Wed Sep 23 13:31:29 2015 +0200

gnutls: Report actual GnuTLS error message for certificate errors

If GnuTLS fails to read the certificate then include whatever reason it
provides in the failure message reported to the client.

Signed-off-by: Mike Crowe <mac@mcrowe.com>

commit f91c2d955989ad76f8f95c06f38b34762279feb6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 22 22:21:58 2015 +0200

RELEASE-NOTES: synced with 6b56901b56e

commit 995d03abdd32aa79fab9cf39b1b85de2f7ff7628
Author: Mike Crowe <mac@mcrowe.com>
Date: Mon Sep 21 11:34:55 2015 +0200

gnutls: Support CURLOPT_KEYPASSWD

The gnutls vtls back-end was previously ignoring any password set via
CURLOPT_KEYPASSWD. Presumably this was because
gnutls_certificate_set_x509_key_file did not support encrypted keys.

gnutls now has a gnutls_certificate_set_x509_key_file2 function that
does support encrypted keys. Let's determine at compile time whether the
available gnutls supports this new function. If it does then use it to
pass the password. If it does not then emit a helpful diagnostic if a
password is set. This is preferable to the previous behaviour of just
failing to read the certificate without giving a reason in that case.

Signed-off-by: Mike Crowe <mac@mcrowe.com>

commit 29bd0a0b06b5421b332f5208a665e021d5adf409
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 22 17:21:37 2015 +0200

CURLINFO_TLS_SESSION: always return backend info

... even for those that don't support providing anything in the
'internals' struct member since it offers a convenient way for
applications to figure this out.

commit 6b62a8dedb06fa946530bcbad9bf23ded0108d0f
Author: Daniel Hwang <danielleehwang@gmail.com>
Date: Mon Sep 21 21:06:42 2015 -0700

tool: remove redundant libcurl check

The easysrc generation is run only when --libcurl is initialized.

Ref: https://github.com/bagder/curl/issues/429

Closes #448

commit 62978722136692cb41f4eaca935b51e86722afa2
Author: Richard van den Berg <richard.vandenberg@ncsc.nl>
Date: Tue Sep 22 13:45:41 2015 +0200

CURLOPT_PROXY.3: A proxy given as env variable gets no special treatment

Closes #449

commit 48c66cbc92c78fa2704478149c72c2e7ce219199
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 22 10:53:55 2015 +0200

TODO: 5.7 More compressions

Like for example brotli, as being implemented in Firefox now.

commit 4643c88d679893b47230e058b9cb8d6008d03ec0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Sep 21 02:21:38 2015 -0400

tool_operate: Don't call easysrc cleanup unless --libcurl

- Review of 4d95491.

The author changed it so easysrc only initializes when --libcurl but did
not do the same for the call to easysrc cleanup.

Ref: https://github.com/bagder/curl/issues/429

commit d115a8c143b10bd7fbd5c2fcb84a2fbb4898ffd4
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Sun Sep 20 16:08:15 2015 +0200

CURLOPT_PINNEDPUBLICKEY.3: replace test.com with example.com

closes #443

commit 302d2620a838749e7d837974265f73b53da1c7c9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 20 13:34:16 2015 +0200

KNOWN_BUGS: 91 "curl_easy_perform hangs with imap and PolarSSL"

Closes #334

commit d23923cd4dc574e0bb69d25cfdd574f18002367a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 20 13:31:22 2015 +0200

KNOWN_BUGS: add link to #85

commit 0f1c6fbbf75a6935e65702a0c10dae964a39c3cc
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 20 13:12:44 2015 +0200

tests: disable 1801 until fixed

It is unreliable and causes CI problems on github

Closes #380

commit 4a5feb0c327e91a6c0f22d4bee142e6a4578d2f9
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 20 13:00:19 2015 +0200

RELEASE-NOTES: synced with 4d95491636ee

commit d31da2281b6447e7b538558dd6b5fbbe2c612345
Author: Daniel Lee Hwang <danielleehwang@gmail.com>
Date: Sat Sep 19 23:16:23 2015 -0700

tool: generate easysrc only on --libcurl

Code should only be generated when --libcurl is used.

Bug: https://github.com/bagder/curl/issues/429
Reported-by: @greafhe, Jay Satiro

Closes #429
Closes #442

commit 625c0ad5c6d69595987ee290327e254d2d677dc5
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Sep 19 22:40:40 2015 -0400

vtls: Change designator name for server's pubkey hash

- Change the designator name we use to show the base64 encoded sha256
hash of the server's public key from 'pinnedpubkey' to
'public key hash'.

Though the server's public key hash is only shown when comparing pinned
public key hashes, the server's hash may not match one of the pinned.

commit 8027ea3b4bb5e3b83c9bfc467222b5a9259e44dd
Author: Isaac Boukris <iboukris@gmail.com>
Date: Wed Sep 16 03:52:36 2015 +0300

NTLM: Reset auth-done when using a fresh connection

With NTLM a new connection will always require authentication.
Fixes #435

commit 55fee407c95adfde3f5449ef5b88c8c76af7b44a
Author: Daniel Hwang <danielleehwang@gmail.com>
Date: Sat Sep 12 14:35:12 2015 -0700

ssl: add server cert's "sha256//" hash to verbose

Add a "pinnedpubkey" section to the "Server Certificate" verbose

Bug: https://github.com/bagder/curl/issues/410
Reported-by: W. Mark Kubacki

Closes #430
Closes #410

commit 7dee5fd34f0fcc24f978bf58ef6acf8230c8dbbe
Author: Jakub Zakrzewski <jzakrzewski@e2ebridge.com>
Date: Thu Sep 17 18:36:07 2015 +0200

openldap: only part of LDAP query results received

Introduced with commit 65d141e6da5c6003a1592bbc87ee550b0ad75c2f

Closes #440

commit c1238e31bc926e517684512b961109b3f2711d4d
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Mon Sep 14 12:26:12 2015 +0200

openssl: don't output certinfo data

commit 52cd07f27ff0269a183a10991d94d047280c3eb6
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Sat Sep 12 15:30:44 2015 +0200

openssl: refactor certificate parsing to use OpenSSL memory BIO

Fixes #427

commit 652db4024ead91197ab0abecea417a9d7d4110bc
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Sep 18 17:10:05 2015 +0200

nss: prevent NSS from incorrectly re-using a session

Without this workaround, NSS re-uses a session cache entry despite the
server name does not match. This causes SNI host name to differ from
the actual host name. Consequently, certain servers (e.g. github.com)
respond by 400 to such requests.

Bug: https://bugzilla.mozilla.org/1202264

commit b3e87c27688e296015fef0536e39573ca3491a86
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Sep 18 17:07:22 2015 +0200

nss: check return values of NSS functions

commit 090d6dc23f4710bf6deae5a48288d631a96c9bff
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 17 08:50:51 2015 +0200

CURLOPT_PINNEDPUBLICKEY.3: mention error code

commit 258b00face4f9433604a7a30e4734b76f7da39ef
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 17 08:48:43 2015 +0200

openssl: build with < 0.9.8

... without sha256 support and no define saying so.

Reported-by: Rajkumar Mandal

commit e588d975dcea431bd4d90355e0b9b48a7d2e68d3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 17 08:48:15 2015 +0200

libcurl-errors.3: add two missing error codes

CURLE_SSL_PINNEDPUBKEYNOTMATCH and CURLE_SSL_INVALIDCERTSTATUS

commit 00ac69f67df581724984a318e3f991f8087ee88b
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Sep 14 03:16:04 2015 -0400

CURLOPT_PINNEDPUBLICKEY.3: Improve pubkey extraction example

- Show how a certificate can be obtained using OpenSSL.

Bug: https://github.com/bagder/curl/pull/430
Reported-by: Daniel Hwang

commit d211e6cda98801bc27db18feafa151c47cd91bb6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Sep 13 16:32:59 2015 +0200

http2: removed unused function

commit be87ba335f9ea91dcfd5a8a3e19b253d3a737509
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Sep 12 23:37:52 2015 +0200

CURLINFO_ACTIVESOCKET.3: mention it replaces *LASTSOCKET

commit 94b76a3fe2ade5dbae978d02c086e07f6217fd27
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Sep 12 23:22:33 2015 +0200

opts: add CURLINFO_* man pages to dist

commit 8a00e3f5e8b63eaaf86b70ed1fcdff3b70eb6c46
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Sep 12 23:13:08 2015 +0200

opts: 19 more CURLINFO_* options made into stand-alone man pages

commit a0e484aa3b9bf164f7ca44ea6e79e3836169cc05
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Sep 12 12:54:58 2015 +0200

RELEASE-NOTES: synced with fad9604613

commit 6517bd77ba7cb0dc9f5e678712d6fd70bd8b32fd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Sep 11 18:49:28 2015 +0200

curl: customrequest_helper: deal with NULL custom method

commit 0623f90fdd7681729e1dfad07db21501dca040be
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Fri Sep 11 17:52:01 2015 +0300

CURLOPT_FNMATCH_FUNCTION.3: fix typo

s => is

Closes #428

commit 798cd0176728dcf6082d7f0f93929003406c5add
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Aug 29 23:56:28 2015 +0200

curl: point out unnecessary uses of -X in verbose mode

It uses 'Note:' as a prefix as opposed to the common 'Warning:' to take
down the tone a bit.

It adds a warning for using -XHEAD on other methods becasue that may
lead to a hanging connection.

commit b4cda170fbc57d9443b8ef31f066620a8efdc9c2
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Sep 10 02:17:33 2015 -0400

curl_sspi: fix possibly undefined CRYPT_E_REVOKED

Bug: https://github.com/bagder/curl/pull/411
Reported-by: Viktor Szakats

commit 1b256af4b2776cea1002b54023a543bcbecfa344
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Sep 9 02:46:48 2015 -0400

buildconf.bat: fix syntax error

commit 203515eccaa8c9ce337ef0f6575bfe11c7cceb97
Author: Benjamin Kircher <kircher@otris.de>
Date: Tue Sep 8 16:22:39 2015 +0200

winbuild: run buildconf.bat if necessary

commit 73a9f086a76248e070d0413b74566be7e0a142fc
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue Sep 8 21:17:50 2015 -0400

docs: fix argument type for CURLINFO_SPEED_*, CURLINFO_SIZE_*

long => double

commit 6fbbc62ef2a55e5c15d176f35acc474fa84a7c46
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Thu Sep 3 15:20:32 2015 +0300

cmake: IPv6 : disable Unix header check on Windows platform

Closes #409

commit c1eaabb6b3d52dddf8381a4529b6be36c5d12524
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 8 13:42:48 2015 +0200

parse_proxy: reject illegal port numbers

If the port number in the proxy string ended weirdly or the number is
too large, skip it. Mostly as a means to bail out early if a "bare" IPv6
numerical address is used without enclosing brackets.

Also mention the bracket requirement for IPv6 numerical addresses to the
man page for CURLOPT_PROXY.

Closes #415

Reported-by: Marcel Raad

commit 458a40703d2f87845beef09be8eb235fffce1683
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Sep 8 09:29:03 2015 +0200

FTP: do_more: add check for wait_data_conn in upload case

In some timing-dependnt cases when a 4xx response immediately followed
after a 150 when a STOR was issued, this function would wrongly return
'complete == true' while 'wait_data_conn' was still set.

Closes #405

Reported-by: Patricia Muscalu

commit fe6dd154129c01a54735ffbbf9256d945a2ca5a3
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sun Sep 6 19:42:33 2015 +0300

CURLOPT_TLSAUTH_TYPE.3: update description

Closes #414
Closes #413

commit b9bb0e0dac2c909eaad1e43e748c927bea25a126
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sat Sep 5 11:45:25 2015 +0300

CURLOPT_PATH_AS_IS.3: fix typo

leavit => leaveit

closes #412

commit 659383babe349d28ff52a062134df361219c8298
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sat Sep 5 11:34:01 2015 +0300

CURLINFO_SSL_VERIFYRESULT.3: add short description

commit cd7473c300c446be4939f0b674bc0222fd4537c0
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sat Sep 5 11:30:51 2015 +0300

CURLINFO_SSL_ENGINES.3: add short description

commit 349bdeef1b6d9011b6159ca2048034812843fc2e
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sat Sep 5 11:23:59 2015 +0300

CURLINFO_CONTENT_LENGTH_UPLOAD.3: replace "receive" with "get" for consistency

commit c00ccda7292c0d76971fa8b29b97d796b844fb27
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sat Sep 5 11:19:40 2015 +0300

CURLINFO_REDIRECT_TIME.3: remove redundant '!'

commit b1d843f51d42e4d7d89cbd719f5365c2e8f307f6
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Sep 4 16:10:44 2015 +0200

Revert "has: generate the curl/has.h header"

This reverts commit a60bde79f9adeb135d5c642a07f0d783fbfbbc25 I have
pushed by mistake. Apologies for my incompetent use of the git repo!

commit 149bab3278dbee441b4bdf807aaccbac3b96cc33
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Sep 4 14:35:36 2015 +0200

nss: do not directly access SSL_ImplementedCiphers[]

It causes dynamic linking issues at run-time after an update of NSS.

Bug: https://lists.fedoraproject.org/pipermail/devel/2015-September/214117.html

commit d0721307da0d3026dd600af03c9d38b0cc4ba90a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 3 00:04:10 2015 +0200

has: generate the curl/has.h header

changed macro name, moved and renamed script to become docs/libcurl/has.pl,
generate code that is checksrc compliant

commit 968ef7cde276307d8e106c337344aff7bfe6a8bb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 3 23:35:41 2015 +0200

gitignore: ignore more generated VC Makefiles

commit e9fbbb3c277f7b8238cfafb33f3e5449249d0824
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 3 23:34:53 2015 +0200

projects/Windows/.gitignore: ignore generated files for release

commit 322d9438b989e9a8eca1930522422238ea205a03
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 3 22:23:50 2015 +0200

http2: don't pass on Connection: headers

RFC 7540 section 8.1.2.2 states: "An endpoint MUST NOT generate an
HTTP/2 message containing connection-specific header fields; any message
containing connection-specific header fields MUST be treated as
malformed"

Closes #401

commit 9563dc99f4763b278115368888126f88d5aedd89
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 3 19:52:23 2015 +0200

curl.1: update RFC references

commit 31b2d2603e9af24cef423a2ba4e9292111b54c08
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 3 17:33:16 2015 +0200

CURLOPT_POSTREDIR.3: update RFC number and section

commit b68b51c093c866e2933b477e0bf73de7e5857424
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Sep 3 17:27:40 2015 +0200

CURLOPT_FOLLOWLOCATION.3: mention methods for redirects

and some general cleaning up

commit dac90e46e0193f70081528b6a3083a13c92ca89f
Author: Marcel Raad <MarcelRaad@users.noreply.github.com>
Date: Thu Sep 3 11:32:39 2015 +0200

inet_pton.c: Fix MSVC run-time check failure (2)

This fixes another run-time check failure because of a narrowing cast on
Visual C++.

Closes #408

commit 1738824e455f325eabc1ccbe23348948d50ce65d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Sep 3 02:35:11 2015 -0400

docs: Warn about any-domain cookies and multiple transfers

- Warn that cookies without a domain are sent to any domain:
CURLOPT_COOKIELIST, CURLOPT_COOKIEFILE, --cookie

- Note that imported Set-Cookie cookies without a domain are no longer
exported:
CURLINFO_COOKIELIST, CURLOPT_COOKIEJAR, --cookie-jar

commit 19518e0caf51523a23604d74250ec4d5bc5522d4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Sep 2 06:52:12 2015 +0100

tool_sdecls.h: Fixed compilation warning from commit 4a889441d3

tool_sdecls.h:139 warning: comma at end of enumerator list

commit 89ddac15e9dbf3da036ad928c0a373055e0276f1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Sep 2 00:00:53 2015 +0200

opts: 8 more CURLINFO* options as stand-alone man pages

commit f5c4e32e46697ac5d3dbe4e8340a7cbda61f1d00
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 31 23:17:53 2015 +0200

RELEASE-NOTES: synced with c764cb4add1a8

commit 04da21421883539e3944b01e266319d851fae7d3
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 31 16:03:53 2015 +0200

man-pages: more SEE ALSO links

commit c76642829d385389b907b02c0d0aa9cfa70a45b8
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 31 15:27:58 2015 +0200

opts: more CURLINFO_* options as stand-alone man pages

commit 41359ca452f8be5242e7d6714ba84aafaefcf354
Author: Steve Holme <steve_holme@hotmail.com>
Date: Mon Aug 31 11:49:31 2015 +0100

sasl: Only define Curl_sasl_digest_get_pair() when CRYPTO_AUTH enabled

Introduced in commit 59f3f92ba6 this function is only implemented when
CURL_DISABLE_CRYPTO_AUTH is not defined. As such we shouldn't define
the function in the header file either.

commit 141bc45f56b7e897a9f348abea892c89e4ccb01c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Mon Aug 31 11:45:47 2015 +0100

sasl: Updated SPN variables and comments for consistency

In places the "host name" and "realm" variable was referred to as
"instance" whilst in others it was referred to as "host".

commit 337218ebc3988faedb4fd7c78b4b235c39333e6e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Aug 30 23:20:31 2015 +0200

configure: check for HMAC_Update in openssl

Turns out HMAC_Init is now deprecated in openssl master (and I spelled
HMAC_Init_ex wrong in previous commit)

commit 89343bb7531230179116f86cb8a4a5e8544e9abd
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 30 20:50:52 2015 +0100

win32: Use DES_set_odd_parity() from OpenSSL/BoringSSL by default

Set HAVE_DES_SET_ODD_PARITY when using OpenSSL/BoringSSL as native
Windows builds don't use the autoconf tools.

commit 8c52d088f06f8f46fc4c4b2eac950ed0d414a51b
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 30 20:45:30 2015 +0100

des: Fixed compilation warning from commit 613e5022fe

curl_ntlm_core.c:150: warning 'Curl_des_set_odd_parity' undefined;
assuming extern returning int

commit 2da7cf6c1a2c23c4b6d477e1bc84cab5fac513fb
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 30 15:09:43 2015 +0100

buildconf.bat: Fixed double blank line in 'curl manual' warning output

commit 53f26acefa1257271f5195e83f9d393b0c144dca
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 30 11:51:55 2015 +0100

makefiles: Added our standard copyright header

But kept the original author, when they were specified in a comment, as
the initial copyright holder.

commit de5ff37dac1de209e5846c4a527bc66a4f3aa122
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Aug 29 23:23:58 2015 -0400

CURLOPT_FILETIME.3: CURLINFO_FILETIME has its own manpage now

commit e0077118f863f101fd0450127f1269dac9fce8f5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Aug 29 13:55:00 2015 +0200

CURLINFO_RESPONSE_CODE.3: added short description

commit 8f1e3b4a49a54f9920ca6e5a8f632ebd32c81b2b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 28 22:58:00 2015 +0200

opts: 7 initial CURLINFO_* options as stand-alone man pages

commit 91599a4a37abdf7822dea27226b8de530c330fbf
Author: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Date: Fri Aug 28 19:53:41 2015 +0300

libcurl.m4: Put braces around empty if body

Put braces around empty "if" body in libcurl.m4 check to avoid warning:

suggest braces around empty body in an 'if' statement

and make it work with -Werror builds.

Closes #402

commit 1c037a55936c0038ccf567b8e10c3bf5d936b070
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue Aug 25 08:31:02 2015 +0300

curl_easy_escape.3: escape '\n'

Closes #398

commit da7d73d63825c7fcd2efb39231c6ee49de90d3d5
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue Aug 25 06:49:01 2015 +0300

curl_easy_{escape,setopt}.3: fix example

remove redundant '}'

commit 513d1619e64592fe3b178d1c8998f3893d2b718a
Author: Sergei Nikulov <sergey.nikulov@gmail.com>
Date: Tue Aug 25 14:56:55 2015 +0300

cmake: added Windows SSL support

Closes #399

commit 4dc66987ecab7a5ed535c84ba588f2bac12db58e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 25 09:20:56 2015 +0200

curl: point out the conflicting HTTP methods if used

It isn't always clear to the user which options that cause the HTTP
methods to conflict so by spelling them out it should hopefully be
easier to understand why curl complains.

commit ccf03e55e6d10eddc678b1462ef062f0ac312a03
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 25 00:04:03 2015 +0200

curl: clarify that users can only specify one _METHOD_

commit 80d2c417605eb903163b744d43a2825c466680e3
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Sun Aug 23 14:43:04 2015 +0300

curl_easy_{escape,unescape}.3: "char *" vs. "const char *"

Closes #395

commit a662f600aefafd53ca73853e388829252d2c9186
Author: Patrick Monnerat <pm@datasphere.ch>
Date: Mon Aug 24 14:20:34 2015 +0200

os400: include new options in wrappers and update ILE/RPG binding.

commit 763abb28aa953e174c6dec32a2c657d33128bdac
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 24 12:56:20 2015 +0200

KNOWN_BUGS: #2, not reading a HEAD response-body is not a bug

... since HTTP is forbidden to return any such.

commit e2c986b9f2ae884a2984e5c7def6ce210c003ce5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 24 12:53:38 2015 +0200

KNOWN_BUGS: #78 zero-length files is already fixed!

commit 146557f8ab9add41ee33d79549ea5dd1da78b081
Author: Razvan Cojocaru <rcojocaru@bitdefender.com>
Date: Fri Aug 21 10:29:05 2015 +0200

getinfo: added CURLINFO_ACTIVESOCKET

This patch addresses known bug #76, where on 64-bit Windows SOCKET is 64
bits wide, but long is only 32, making CURLINFO_LASTSOCKET unreliable.

Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>

commit baa8538194f9f99e7a4ba531b10efe521deda61e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 24 11:31:45 2015 +0200

http2: remove dead code

Leftovers from when we removed the private socket hash.

Coverity CID 1317365, "Logically dead code"

commit 7c271bfaf796a4aa6cbed258f4485cc725a063df
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 24 11:29:22 2015 +0200

ntlm: mark deliberate switch case fall-through

Coverity CID 1317367, "Missing break in switch"

commit f78469bd760cec81a4c5e4fcd337593afc8cd98f
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 24 11:26:30 2015 +0200

http2: on_frame_recv: get a proper 'conn' for the debug logging

"Explicit null dereferenced (FORWARD_NULL)"

Coverity CID 1317366

commit eb10ff6bba4548b4b5f91d07336255f704cd9614
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 24 00:21:08 2015 +0200

RELEASE-NOTES: synced with 2acaf3c804

commit 75c781b955cae28a6343330ac2c519907b81bd32
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Sun Aug 23 20:57:17 2015 +0200

tool: fix memory leak with --proto-default option

commit d0f4a9080871197d636c16d9ea305922b38ee7ca
Author: Nathaniel Waisbrot <code@waisbrot.net>
Date: Sat Aug 22 21:49:26 2015 -0400

CURLOPT_DEFAULT_PROTOCOL: added

- Add new option CURLOPT_DEFAULT_PROTOCOL to allow specifying a default
protocol for schemeless URLs.

- Add new tool option --proto-default to expose
CURLOPT_DEFAULT_PROTOCOL.

In the case of schemeless URLs libcurl will behave in this way:

When the option is used libcurl will use the supplied default.

When the option is not used, libcurl will follow its usual plan of
guessing from the hostname and falling back to 'http'.

commit decebf36625c9b18aa3427e62d4642d6baef314c
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Aug 22 21:19:34 2015 -0400

runtests: Allow for spaces in server-verify curl custom path

commit 938a27af0106c530e69692901760aceb477a91c6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Aug 22 23:56:55 2015 +0200

NTLM: recent boringssl brought DES_set_odd_parity back

... so improve the #ifdefs for using our local implementation.

commit b005f905434243a5565cb1fa20cc72c76ca6fbb4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Aug 22 00:05:03 2015 +0200

configure: detect latest boringssl

Since boringssl brought back DES_set_odd_parity again, it cannot be used
to differentiate from boringssl. Using the OPENSSL_IS_BORINGSSL define
seems better anyway.

URL: https://android.googlesource.com/platform/external/curl/+/f551028d5caab29d4b4a4ae8c159c76c3cfd4887%5E!/
Original-patch-by: Bertrand Simonnet

Closes #393

commit 4d52bb72088fc0a046d44f1f57d76a0cf36d227c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 21 23:58:24 2015 +0200

configure: change functions to detect openssl (clones)

... since boringssl moved the former ones and the check started to fail.

URL: https://android.googlesource.com/platform/external/curl/+/f551028d5caab29d4b4a4ae8c159c76c3cfd4887%5E!/
Original-patch-by: Bertrand Simonnet

commit d647b775057ee28f03d0ad51cccf667870cc642e
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Fri Aug 21 14:50:45 2015 +0200

openssl: handle lack of server cert when strict checking disabled

If strict certificate checking is disabled (CURLOPT_SSL_VERIFYPEER
and CURLOPT_SSL_VERIFYHOST are disabled) do not fail if the server
doesn't present a certificate at all.

Closes #392

commit d116e84f918b5215e7e39e9df69bdb344986990c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Aug 21 13:30:08 2015 +0200

ftp: clear the do_more bit when the server has connected

The multi state machine would otherwise go into the DO_MORE state after
DO, even for the case when the FTP state machine had already performed
those duties, which caused libcurl to get stuck in that state and fail
miserably. This occured for for active ftp uploads.

Reported-by: Patricia Muscalu

commit 775b8799209680aaf731fb90142def5ea0921351
Author: Jactry Zeng <jactry92@gmail.com>
Date: Fri Aug 21 12:10:59 2015 +0800

travis.yml: Add OS X testbot.

commit 846770a29cc273405433094e1bf3e944a6c607c2
Author: Rémy Léone <remy.leone@gmail.com>
Date: Mon Aug 17 18:08:55 2015 +0200

travis: Upgrading to container based build

http://docs.travis-ci.com/user/migrating-from-legacy

Closes #388

commit 9257d0d6ad7d69a851d101e49648fa1e0258851b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 20 23:12:21 2015 +0200

RELEASE-NOTES: synced with 14ff86256b13e

commit 7a872d352455ffb27b100adb4a23fd2c7290c7a5
Author: Erik Janssen <erik.janssen@axis.com>
Date: Thu Aug 20 23:07:03 2015 +0200

rtsp: stop reading empty DESCRIBE responses

Based-on-patch-by: Jim Hollinger

commit 9e33ce15e4a0b2fd11053c35bc5d1b244134d61e
Author: Erik Janssen <erik.janssen@axis.com>
Date: Thu Aug 20 23:02:28 2015 +0200

rtsp: support basic/digest authentication

commit 7d6b0b7333a146fb4304e3ed189d98c63f20bcc6
Author: Sam Roth <s-roth@onu.edu>
Date: Tue Aug 18 14:42:18 2015 -0500

CURLMOPT_PUSHFUNCTION.3: fix argument types

Closes #389
Closes #386

commit 00c0bb87ed401d74e5f5a45e79a2aeb80a6a95fa
Author: Marcel Raad <MarcelRaad@users.noreply.github.com>
Date: Tue Aug 18 09:39:38 2015 +0200

inet_pton.c: Fix MSVC run-time check failure

Visual Studio complains with a message box:

"Run-Time Check Failure #1 - A cast to a smaller data type has caused a
loss of data. If this was intentional, you should mask the source of
the cast with the appropriate bitmask.

For example:
char c = (i & 0xFF);

Changing the code in this way will not affect the quality of the
resulting optimized code."

This is because only 'val' is cast to unsigned char, so the "& 0xff" has
no effect.

Closes #387

commit 1f98e70e1e0a6f61301fcc642caadee1304a0417
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Aug 18 01:18:27 2015 -0400

docs: Update the redirect protocols disabled by default

- Clarify that FILE and SCP are disabled by default since 7.19.4
- Add that SMB and SMBS are disabled by default since 7.40.0
- Add CURLPROTO_SMBS to the list of protocols

commit 614745ae9ba6bf1a4f2976375756c2300f27c539
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Aug 18 01:03:05 2015 -0400

gitignore: Sort for readability

find . -name .gitignore -print0 | xargs -i -0 sort -o '{}' '{}'

commit 018d8a89db16c87fcb9777236c4bc70b56161471
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Aug 15 23:56:28 2015 +0200

curl_easy_getinfo.3: fix superfluous space

... and changed "oriented" to "related"

Closes #378

commit 3bcaa355bbc1d56862bc2e3d06d58b8d1d38645e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Aug 15 23:36:28 2015 +0200

CURLOPT_HTTP_VERSION.3: connection re-use goes before version

commit a39a36614bf82ba1dc53b8796f98799ec400c02b
Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Sat Aug 15 10:33:59 2015 +0200

curl.1: Document weaknesses in SSLv2 and SSLv3

Acknowledge that SSLv3 is also widely considered to be insecure.

Also, provide references for people who want to know more about why it's
insecure.

commit f9446975c7389bc4c99138544bf70373e0fbb529
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Aug 14 20:59:48 2015 +0100

generate.bat: Added support for generating only the prerequisite files

commit 7b545f0b25038333f3d6cc89dd521164a2830f1a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Aug 14 20:44:55 2015 +0100

generate.bat: Only call buildconf.bat if it exists

commit 70557a5e1d807c51d98af19f44c175a9c385d02f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Aug 14 20:38:57 2015 +0100

generate.bat: Fixed issues when ran in directories with special chars

commit 070bbba05ffc999c7758a7db25fe7ff8b3bce85e
Author: Brad King <brad.king@kitware.com>
Date: Fri Aug 14 15:35:05 2015 +0200

cmake: Fix CurlTests check for gethostbyname_r with 5 arguments

Fix the check code to pass 5 arguments instead of 6. This typo was
introduced by commit aebfd4cfbf (cmake: fix gethostby{addr,name}_r in
CurlTests, 2014-10-31).

commit f86981f5f7a0775e9884773d315e269a654cb9ec
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Aug 14 06:54:16 2015 +0100

* buildconf.bat: Fixed issues when ran in directories with special chars

Bug: https://github.com/bagder/curl/pull/379
Reported-by: Daniel Seither

commit cfc27d62e0662eb11ff5622919402d04dca4d6af
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Aug 13 23:29:27 2015 -0400

curl_global_init_mem.3: Stronger thread safety warning

Bug: http://curl.haxx.se/mail/lib-2015-08/0016.html
Reported-by: Eric Ridge

commit 21898bbda26620b70aa72de3bc03bf6db9bee807
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Wed Aug 12 14:48:31 2015 +0300

curl_multi_add_handle.3: fix a typo

"can not" => "cannot"

closes #377

commit 1eb9c48482d6b00e7b9ed24850ed04041345865e
Author: Alessandro Ghedini <alessandro@ghedini.me>
Date: Wed Aug 12 11:23:23 2015 +0200

docs: fix typos

closes #376

commit 7b2a940badfdd2e1157af0f441fbf68cc38fccf6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 12 09:07:37 2015 +0200

bump: start working toward 7.45.0

commit 14d066f107126320ec69c6a970e2f2c6eeb520c6
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 12 08:34:55 2015 +0200

THANKS: remove duplicate name

commit 04bbed1c8d7adb117e2fa89cd7d4e5d9e9b3457c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 12 08:32:10 2015 +0200

THANKS-filter: merge Todd's names

commit dbd30ffee8c7a7019fc547007f6294cc29dd481b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 12 08:21:44 2015 +0200

THANKS: 13 new contributors from the 7.44.0 RELEASE-NOTES

commit f8c223bde78884672fdb09f5e2cc58f79cc76173
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 11 20:13:01 2015 +0200

RELEASE-NOTES: synced with c75a1e775061

commit 254a91fc07d0e9467a35f4d2784302840ace6658
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue Aug 11 20:08:13 2015 +0200

curl_formget.3: correct return code

Closes #375

commit d3125d6b5d1c61825be3bbd70715d190b8f089ec
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue Aug 11 15:45:49 2015 +0300

libcurl-tutorial.3: fix formatting

Closes #374

commit 4b0b2b358f7affe52f3f61c442d4dba62ec00a11
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue Aug 11 15:39:22 2015 +0300

curl_easy_recv.3: fix formatting

commit 8b80927cf52d2cd44b2d907205620f299b77c856
Author: Anders Bakken <agbakken@gmail.com>
Date: Mon Aug 10 17:26:36 2015 -0700

http2: discard frames with no SessionHandle

Return 0 instead of NGHTTP2_ERR_CALLBACK_FAILURE if we can't locate the
SessionHandle. Apparently mod_h2 will sometimes send a frame for a
stream_id we're finished with.

Use nghttp2_session_get_stream_user_data and
nghttp2_session_set_stream_user_data to identify SessionHandles instead
of a hash.

Closes #372

commit 28622a70a1ebb4e40814b4a52d2702717798e41d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Aug 11 00:16:19 2015 +0200

RELEASE-NOTES: synced with 9ee40ce2aba

commit 8fb3ac3082e02c3c2cb27aa0a8056abf8d9c5f54
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Mon Aug 10 22:48:53 2015 +0200

build: refer to fixed libidn versions

closes #371

commit 18c8fd54cae92f42bb16ad1b19ae5bda328ecd11
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 10 14:53:48 2015 +0200

Revert "configure: disable libidn by default"

This reverts commit e6749055d65398315fd77f5b5b8234c5552ac2d3.

... since libidn has since been fixed.

commit daa6b61f7ec4a39ede33a2af84ff78c7ea948310
Author: Jakub Zakrzewski <jzakrzewski@e2ebridge.com>
Date: Mon Aug 10 13:09:58 2015 +0200

CMake: s/HAVE_GSS_API/HAVE_GSSAPI/ to match header define

Otherwise the build only pretended to use GSS-API

Closes #370

commit bee85814fd1ec43392f607104b1dc0991c86aa56
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 6 15:29:42 2015 +0200

SFTP: fix range request off-by-one in size check

Reported-by: Tim Stack

Closes #359

commit 6a3df0827b026fdbc65f4a3ee639ada1690a8df7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 10 00:12:12 2015 +0200

test46: update cookie expire time

... since it went old and thus was expired and caused the test to fail!

commit 1f6fd4f4f115c85b2017ba4d6a413ca092a22648
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 17:59:31 2015 +0100

generate.bat: Use buildconf.bat for prerequisite file generation

commit 12a45dd0db9ea936be678083adcb76e522e52458
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 17:57:40 2015 +0100

buildconf.bat: Tidy up of comments after recent commits

commit ee8db637640a7b3d94cc3c424d6cde37922f9b4e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 17:54:09 2015 +0100

buildconf.bat: Added full generation of src\tool_hugehelp.c

Added support for generating the full man page based on code from
generate.bat.

commit 3fab24da301fdffff5105378c8848748e88bc4d9
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 17:09:49 2015 +0100

buildconf.bat: Added detection of groff, nroff, perl and gzip

To allow for the full generation of tool_hugehelp.c added detection of
the required programs - based on code from generate.bat.

commit 3d0199e2fd46edc94952f06c55e90d055b49bd05
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 17:02:27 2015 +0100

buildconf.bat: Move DOS variable clean-up code to separate function

Rather than duplicate future variables, during clean-up of both success
and error conditions, use a common function that can be called by both.

commit 42a28518964495899d74ee77761c453aebff709e
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 11:51:55 2015 +0100

RELEASE-NOTES: Synced with 39dcf352d2

commit 3257f129a79bc0674e2a9c1efe8a836b8ca368d0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 11:27:33 2015 +0100

buildconf.bat: Added error messages on failure

commit 206d98066cf6aee164b280870c2490bf7c96cdc1
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 11:04:04 2015 +0100

buildconf.bat: Generate and clean files in the same order

commit 9cbed22049f0d8baf67292ccae60476244b350b4
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Aug 9 11:00:07 2015 +0100

buildconf.bat: Maintain compatibility with DOS based systems

Commit f08e30d7bc broke compatibility with DOS and non Windows NT based
versions of Windows due to the use of the setlocal command.

commit 583f850b1df4e6274d0797c136135528fba9ee58
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sun Aug 9 02:33:25 2015 -0400

CURLOPT_RESOLVE.3: Note removal support was added in 7.42

Bug: http://curl.haxx.se/mail/lib-2015-08/0019.html
Reported-by: Inca R

commit eadc199636e84f8278920e5143f871f8934b05f9
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 8 20:59:27 2015 +0100

checksrc.bat: Fixed error when missing *.c and *.h files

File Not Found

commit e9a39cc24d5b13d43cf353e591b70c8ba4982eea
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 8 20:48:31 2015 +0100

checksrc.bat: Fixed incorrect 'lib\vtls' path check in commit 333c36b276

commit d586c3ac597956ea68ce04457b59b3943c7b3433
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 8 11:35:59 2015 +0100

checksrc.bat: Fixed error when [directory] isn't a curl source directory

The system cannot find the file specified.

commit 5921998ccfd1540c3e2986e9206cd5f9af889138
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 8 11:21:49 2015 +0100

checksrc.bat: Added check for unknown arguments

commit b5660ac63b6cd7ae36b909eba6792b83a9ef4d1f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 8 11:11:46 2015 +0100

scripts: Added missing comments

commit bf9b98b29bc7d8a64bbe89524eaacebdcfd83d80
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 8 11:09:08 2015 +0100

scripts: Always perform setlocal and endlocal calls in pairs

Ensure that there isn't a mismatch between setlocal and endlocal calls,
which could have happened due to setlocal being called after certain
error conditions were checked for.

commit 27430cf86b368777156780ec88a1f188a1838cea
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 8 11:04:55 2015 +0100

scripts: Allow -help to be specified in any argument

Allow the -help command line argument to be specified in any argument
and not just as the first.

commit cee8f790f1ef71f2d2a3848e45758bec91b50575
Author: juef <juef@openmailbox.org>
Date: Thu Aug 6 17:28:05 2015 +0300

curl_multi_remove_handle.3: fix formatting

closes #366

commit 2d1c4c59c8689e1d9bfbc224e5b5ff4af5ed197c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Aug 6 20:57:05 2015 +0100

README: Added notes about 'Running DLL based configurations'

...as well as a TODO for a future enhancement to the project files.

Thanks-to: Jay Satiro

commit b398d950774195c6433bcb0976c1a1697a6055bc
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Aug 6 18:59:59 2015 +0100

RELEASE-NOTES: Synced with cf8975387f

commit eb6332b64769720d2d249515004b109d6ec41e35
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Aug 6 17:39:20 2015 +0100

buildconf.bat: Synchronise no repository error with generate.bat

commit 059735c2fccf3646019f2145779fbcb2e5c82906
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Aug 6 17:33:02 2015 +0100

generate.bat: Added a check for the presence of a git repository

commit 33f1c753ab0be7de981f01ba05fbd32cd5d4aafa
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Aug 6 07:43:21 2015 +0100

build: Added wolfSSL configurations to VC10+ project files

URL: https://github.com/bagder/curl/pull/174

commit e425fd50105800122ebcc0800ee5e1b2d97d6a95
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Aug 6 02:08:58 2015 -0400

build: Added wolfSSL build script for Visual Studio projects

Added the wolfSSL build script, based on build-openssl.bat, as well as
the property sheet and header file required for the upcoming additions
to the Visual Studio project files.

commit 82cb3774716ac3a163aa259bbab97cd56fe77a91
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Aug 6 15:28:27 2015 +0200

CHANGES: refer to the online changelog

Suggested-by: mc0e

commit 87d12ab99b67be5bfb3a1c09a456689869244118
Author: Isaac Boukris <iboukris@gmail.com>
Date: Tue Aug 4 02:20:23 2015 +0300

NTLM: handle auth for only a single request

Currently when the server responds with 401 on NTLM authenticated
connection (re-used) we consider it to have failed. However this is
legitimate and may happen when for example IIS is set configured to
'authPersistSingleRequest' or when the request goes thru a proxy (with
'via' header).

Implemented by imploying an additional state once a connection is
re-used to indicate that if we receive 401 we need to restart
authentication.

Closes #363

commit 13819d815031034eb2ba7c5167d49c4289c1bac8
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 19:34:47 2015 +0100

RELEASE-NOTES: Synced with 473807b95f

commit 18e4385c66f55a7660641139c5919a9276b7d08f
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 19:15:46 2015 +0100

generate.bat: Use buildconf.bat for prerequisite file clean-up

commit 462bf88e9e288a3c41735c8dcd3f479b89e30e71
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 17:59:38 2015 +0100

buildconf.bat: Added support for file clean-up via -clean

commit 7f8cdb3091a41f669cee49833c00066214d339c3
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 17:40:28 2015 +0100

buildconf.bat: Added progress output

commit f9c89d0b5f74412fe4b2807590dbb210b1b7a390
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 17:32:45 2015 +0100

buildconf.bat: Avoid using goto for file not in repository

commit 5df09fe8b9ee4fa1672f9090375af44292e3a7c2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Aug 5 14:28:21 2015 +0200

curl_slist_append.3: add error checking to the example

commit b6d5e18b68ddeaa05534361707cdebf22f38d446
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 06:41:40 2015 +0100

buildconf.bat: Added display of usage text with -help

commit 685c7f5fab594bf63f6a051eb56ecff7f9eaa9bf
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 06:36:42 2015 +0100

buildconf.bat: Added exit codes for error handling

commit c1f83dfbd2518c100fe6b989e3cd425dc2a8cbc1
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 06:26:19 2015 +0100

buildconf.bat: Added our standard copyright header

commit f776668eee6a920600665276b43739da27688f66
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Aug 5 06:22:06 2015 +0100

buildconf.bat: Use lower-case for commands and reserved keywords

commit eefeed43d2637767cb87af51fa778be75eb57b61
Author: Steve Holme <steve_holme@hotmail.com>
Date: Mon Aug 3 22:49:56 2015 +0100

generate.bat: Only clean prerequisite files when in ALL mode

commit 999e32d627672e0e3ce503a1853af765e6340356
Author: Steve Holme <steve_holme@hotmail.com>
Date: Mon Aug 3 22:45:04 2015 +0100

generate.bat: Moved error messages out of sub-routines

commit fb7e397e88af55215c43b8f02a5640ef6b71bf03
Author: Steve Holme <steve_holme@hotmail.com>
Date: Mon Aug 3 22:38:56 2015 +0100

generate.bat: More use of lower-case for commands and reserved keywords

commit fd1187068484f3c0c858fcb58ffe642be7a1972a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 3 23:28:31 2015 +0200

libcurl.3: fix a single typo

Closes #361

commit 726cde81740db42d6c25297ec1f1e8abc45938ce
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Aug 3 14:50:18 2015 +0200

RELEASE-NOTES: synced with c4eb10e2f06f

commit 3d18bc91073dc273a0490ccbfd4976b8c869f1cf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Aug 2 22:50:31 2015 +0200

SSH: three state machine fixups

The SSH state machine didn't clear the 'rc' variable appropriately in a
two places which prevented it from looping the way it should. And it
lacked an 'else' statement that made it possible to erroneously get
stuck in the SSH_AUTH_AGENT state.

Reported-by: Tim Stack

Closes #357

commit 86fca3da56388032d2c5ed78d4dc74804ce5bf39
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Aug 2 00:24:38 2015 +0200

curl_gssapi: remove 'const' to fix compiler warnings

initialization discards 'const' qualifier from pointer target type

commit 3d921ff0de458a766f4074cedd4a3057f48bd343
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Aug 2 00:14:23 2015 +0200

docs: formpost needs the full size at start of upload

Closes #360

commit 86fde7532b7ea9c314de78b1600589b09ed8006d
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 1 22:53:18 2015 +0100

sspi: Fix typo from left over from old code which referenced NTLM

References to NTLM in the identity generation should have been removed
in commit c469941293 but not all were.

commit f117a607174c0fbdeccd1a8f1fb7efd4255ea29a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 1 22:50:42 2015 +0100

win32: Fix compilation warnings from commit 40c921f8b8

connect.c:953:5: warning: initializer element is not computable at load
time
connect.c:953:5: warning: missing initializer for field 'dwMinorVersion'
of 'OSVERSIONINFOEX'
curl_sspi.c:97:5: warning: initializer element is not computable at load
time
curl_sspi.c:97:5: warning: missing initializer for field 'szCSDVersion'
of 'OSVERSIONINFOEX'

commit f67806fd7e4597c80ff2da3bb1a7ff7b66a85cad
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sat Aug 1 22:46:21 2015 +0100

schannel: Fix compilation warning from commit 7a8e861a56

schannel.c:1125:5: warning: missing initializer for field 'dwMinorVersion'
of 'OSVERSIONINFOEX' [-Wmissing-field-initializers

commit 661fbd837ee4cea4c68c67686869ed35a2558701
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jul 31 23:19:02 2015 +0200

libcurl-thread.3: minor reformatting

commit 48d16a84848a360ded1c51e86734205c1a819708
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Jul 31 02:38:44 2015 -0400

curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs

Bug: http://curl.haxx.se/mail/lib-2015-07/0149.html
Reported-by: Eric Ridge

commit 9a8a2a31186c58b54202ec7ff0cc91b421dc2828
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Jul 31 01:58:03 2015 -0400

libcurl-thread.3: Warn memory functions must be thread safe

Bug: http://curl.haxx.se/mail/lib-2015-07/0149.html
Reported-by: Eric Ridge

commit 4ec175c40e34068860a251ca551a68cd0b87cc11
Author: Steve Holme <steve_holme@hotmail.com>
Date: Fri Jul 31 06:24:35 2015 +0100

RELEASE-NOTES: Synced with 8b1d00ac1a

commit 6a59923a96d6dd21b43ce6e8dfa6a27176470c1d
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Jul 30 16:59:55 2015 +0100

INSTALL: Minor formatting correction in 'Legacy Windows and SSL' section

...as well as some rewording.

commit 7b4e12cb80996c6b37f43339549e9918718442de
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Jul 30 12:01:20 2015 +0200

http: move HTTP/2 cleanup code off http_disconnect()

Otherwise it would never be called for an HTTP/2 connection, which has
its own disconnect handler.

I spotted this while debugging <https://bugzilla.redhat.com/1248389>
where the http_disconnect() handler was called on an FTP session handle
causing 'dnf' to crash. conn->data->req.protop of type (struct FTP *)
was reinterpreted as type (struct HTTP *) which resulted in SIGSEGV in
Curl_add_buffer_free() after printing the "Connection cache is full,
closing the oldest one." message.

A previously working version of libcurl started to crash after it was
recompiled with the HTTP/2 support despite the HTTP/2 protocol was not
actually used. This commit makes it work again although I suspect the
root cause (reinterpreting session handle data of incompatible protocol)
still has to be fixed. Otherwise the same will happen when mixing FTP
and HTTP/2 connections and exceeding the connection cache limit.

Reported-by: Tomas Tomecek
Bug: https://bugzilla.redhat.com/1248389

commit de1b107e3fe395f910aa43c30071d5035e9906d6
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Thu Jul 30 15:01:06 2015 +0200

ABI doc: use secure URL

commit 7cfd1e5690b81c6ec2617a7f792d2c0cfccb19e1
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jul 30 12:16:14 2015 +0200

ABI: remove the ascii logo

and made the indent level to 1

commit c2085c9a7842dc860c5f65e06aaba20cc5adc094
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jul 30 10:17:37 2015 +0200

libcurl-multi.3: mention curl_multi_wait

... and some general rewordings to improve this docs.

Reported-by: Tim Stack

Closes #356

commit dc37692203812bf132042998db2ea63cba95673a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Thu Jul 30 06:34:03 2015 +0100

maketgz: Fixed some VC makefiles missing from the release tarball

VC7, VC11, VC12 and VC14 makefiles were missing from the release
tarball.

commit 5037a599a1b7cbd677d29d4ae49c656ff279f5e0
Author: Steve Holme <steve_holme@hotmail.com>
Date: Wed Jul 29 19:17:18 2015 +0100

RELEASE-NOTES: Synced with 2d7e165761

commit d97227efaa0809f341847745645f9c150abfb36a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 21:47:25 2015 +0100

build: Added VC14 project files to Makefile.am

commit 571925b2889ae6bfdb48e0758e3a5cd7065a7cb9
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 21:35:45 2015 +0100

build: Added VC14 project files

Updates to Makefile.am for the generation of the project files in
the tarball to follow.

commit 9fafc9c31d3843f4ba2d539877a8c61c88665dd0
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jul 29 02:05:32 2015 -0400

libcurl-thread.3: Clarify CURLOPT_NOSIGNAL takes long value 1L

commit 5caf80d62eeb6bcfe7c60f434ccb652dacc2fc95
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 20:59:56 2015 +0100

generate.bat: Use lower-case for commands and reserved keywords

Whilst there are no coding standards for the batch files used in curl,
most tend to use lower-case for keywords and upper-case for variables.

commit f7567ee7e2600199b2bfdeac4dd60e0c5f1fe66a
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 20:59:16 2015 +0100

build: Added initial VC14 support to generate.bat

Visual Studio project files and updates to makefile.am to follow.

commit ae11880d7873ed84a02844ea7e340a84ba835637
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 20:47:39 2015 +0100

build: Fixed missing .opensdf files from VC10+ .gitignore files

commit 83b01eaded01e89a68239ba2bd4701bfa5075d59
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 20:44:17 2015 +0100

build: Use $(ProjectName) macro for curl.exe and curld.exe filenames

This wasn't possible with the old curlsrc project filenames, but like
commit 2a615a2b64 and 11397eb6dd for libcurl use the built in Visual
Studio macros for the output filenames.

commit c93fdbe75a7c287c122cd1bd669c5ed567a9d785
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 20:22:25 2015 +0100

build: Renamed curl src Visual Studio project files

Following commit 957fcd9049 and in preparation for adding the VC14
project files renamed the curl source project files.

commit 1c743ba579d99bac8db75229a7fdd73c70329d4b
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jul 18 03:09:16 2015 -0400

libcurl-thread.3: Revert to stricter handle wording

.. also update formatting and add WinSSL and wolfSSL to the SSL/TLS
handlers list.

commit 2d1f17e0875bc8ec0c4e37fbcf16663075aa0f73
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Mon Jul 13 16:15:55 2015 -0400

libcurl-thread.3: Consolidate thread safety info

This is a new document to consolidate our thread safety information from
several documents (curl-www:features, libcurl.3, libcurl-tutorial.3).
Each document's section on multi-threading will now point to this one.

commit 82baee3878aae7e8527dc1f89fc19010ff4ea662
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 19:50:03 2015 +0100

README: Corrected formatting for 'Legacy Windows and SSL' section

...as well as some wording.

commit 9d8b5afe7129548a753892bd1538fa3765af076c
Author: Steve Holme <steve_holme@hotmail.com>
Date: Sun Jul 26 19:43:50 2015 +0100

build-openssl.bat: Added support for VC14

commit e70f49f87d58fbbc97188d6295c21cd6bc6476fd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 26 22:33:17 2015 +0200

RELEASE-NOTES: synced with 0f645adc95390e8

commit 1c1cf319bd67f74a550c27e7e44e5937b3393b45
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 26 22:20:26 2015 +0200

test1902: attempt to make the test more reliable

Closes #355

commit c1dde3dab5e41a389e1afb8e7ec1e68c613d892e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 26 14:15:07 2015 +0200

comment: fix comment about adding new option support

commit cd8452dae46b002b74b716e3d2faf5dbd81d170a
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jul 25 19:03:20 2015 -0400

build-openssl.bat: Show syntax if required args are missing

commit 083cff5b5d3c91cba24dab0972491a48c5ee27fd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 26 00:48:55 2015 +0200

TODO: improve how curl works in a windows console window

Closes #322 for now

commit 5bf231795850d08359192ef952c6bc55a7883fe0
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sun Jul 26 00:45:22 2015 +0200

1.11 minimize dependencies with dynamicly loaded modules

Closes #349 for now

commit f37abbbcb8714188661ab8561e4d858fb37ef0ed
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jul 25 16:32:15 2015 -0400

tool_operate: Fix CURLOPT_SSL_OPTIONS for builds without HTTPS

- Set CURLOPT_SSL_OPTIONS only if the tool enabled an SSL option.

Broken by me several days ago in 172b2be.
https://github.com/bagder/curl/commit/172b2be#diff-70b44ee478e58d4e1ddcf9c9a73d257b

Bug: http://curl.haxx.se/mail/lib-2015-07/0119.html
Reported-by: Dan Fandrich

commit abfbbe607532e90c1e7a19987051807963462853
Author: Daniel Stenberg <daniel@haxx.se>
Date: Sat Jul 25 10:52:49 2015 +0200

configure: check if OpenSSL linking wants -ldl

To make it easier to link with static versions of OpenSSL, the configure
script now checks if -ldl is needed for linking.

Help-by: TJ Saunders

commit 575cbfbbcf187bc1fd5522beedb64b2f7defdee5
Author: Michael Kaufmann <mail@michael-kaufmann.ch>
Date: Sat Jul 25 00:46:01 2015 +0200

HTTP: ignore "Content-Encoding: compress"

Currently, libcurl rejects responses with "Content-Encoding: compress"
when CURLOPT_ACCEPT_ENCODING is set to "". I think that libcurl should
treat the Content-Encoding "compress" the same as other
Content-Encodings that it does not support, e.g. "bzip2". That means
just ignoring it.

commit 2dee68705a972d9da2161e1255e5b1d1a4466812
Author: Marcel Raad <MarcelRaad@users.noreply.github.com>
Date: Thu Jul 16 09:09:02 2015 +0200

openssl: work around MSVC warning

MSVC 12 complains:

lib\vtls\openssl.c(1554): warning C4701: potentially uninitialized local
variable 'verstr' used It's a false positive, but as it's normally not,
I have enabled warning-as-error for that warning.

commit 2a427864143edc9051427be0a22596a08743d08f
Author: Michał Fita <michal.fita@gmail.com>
Date: Thu Jul 23 10:38:49 2015 +0100

configure: add --disable-rt option

This option disables any attempts in configure to create dependency on
stuff requiring linking to librt.so and libpthread.so, in this case this
means clock_gettime(CLOCK_MONOTONIC, &mt).

We were in need to build curl which doesn't link libpthread.so to avoid
the following bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=16628.

commit f02e799fe2c8537c2f99ca14e71bb285f0db31d2
Author: Kamil Dudka <kdudka@redhat.com>
Date: Thu Jul 23 11:51:53 2015 +0200

http2: verify success of strchr() in http2_send()

Detected by Coverity.

Error: NULL_RETURNS:
lib/http2.c:1301: returned_null: "strchr" returns null (checked 103 out of 109 times).
lib/http2.c:1301: var_assigned: Assigning: "hdbuf" = null return value from "strchr".
lib/http2.c:1302: dereference: Incrementing a pointer which might be null: "hdbuf".
1300|
1301| hdbuf = strchr(hdbuf, 0x0a);
1302|-> ++hdbuf;
1303|
1304| authority_idx = 0;

commit 4f4ab96a9edd9be5c9f85b09e3c532d9a244b4f9
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jul 22 01:52:17 2015 -0400

Windows: Fix VerifyVersionInfo calls

- Fix the VerifyVersionInfo calls, which we use to test for the OS major
version, to also test for the minor version as well as the service pack
major and minor versions.

MSDN: "If you are testing the major version, you must also test the
minor version and the service pack major and minor versions."

https://msdn.microsoft.com/en-us/library/windows/desktop/ms725492.aspx

Bug: https://github.com/bagder/curl/pull/353#issuecomment-123493098
Reported-by: Marcel Raad <MarcelRaad@users.noreply.github.com>

commit bd04e30c8c71c1658d951abc478af4b43cf74a33
Author: Marcel Raad <MarcelRaad@users.noreply.github.com>
Date: Tue Jul 21 17:23:07 2015 -0400

schannel: Replace deprecated GetVersion with VerifyVersionInfo

commit fd8ee5e806293922dd41f1a3083410462e2962f6
Author: Steve Holme <steve_holme@hotmail.com>
Date: Tue Jul 21 18:52:43 2015 +0100

makefile: Added support for VC14

commit 1cd49f18ef60bfee50eb276b028cae8ea6613b23
Author: Patrick Monnerat <pm@datasphere.ch>
Date: Tue Jul 21 16:36:34 2015 +0200

os400: ebcdic wrappers for new functions. Upgrade ILE/RPG bindings.

commit e5f8c79152f082bbd375c6a1c4f074762e76cfde
Author: Patrick Monnerat <pm@datasphere.ch>
Date: Tue Jul 21 14:01:19 2015 +0200

libcurl: VERSIONINFO update
Addition of new procedures curl_pushheader_bynum and curl_pushheader_byname
requires VERSIONINFO updating.

commit 2b351171b4f47e0153d1c8ada0663ce3ceb590f7
Author: Patrick Monnerat <pm@datasphere.ch>
Date: Tue Jul 21 13:55:39 2015 +0200

http2: satisfy external references even if http2 is not compiled in.

commit 10da0700f523a778ac6c11953ad50e7a20098ebf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jul 20 21:35:15 2015 +0200

http2: add stream != NULL checks for reliability

They should not trigger, but in case of internal problems we at least
avoid crashes this way.

commit 2439e5f00315c570be61309c60aaa6301b794b66
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jul 18 15:27:48 2015 -0400

symbols-in-versions: Add new CURLSSLOPT_NO_REVOKE symbol

commit 5def7e76991a58c030e9dd979551fa46fb7a565e
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Fri Jul 17 02:40:16 2015 -0400

SSL: Add an option to disable certificate revocation checks

New tool option --ssl-no-revoke.
New value CURLSSLOPT_NO_REVOKE for CURLOPT_SSL_OPTIONS.

Currently this option applies only to WinSSL where we have automatic
certificate revocation checking by default. According to the
ssl-compared chart there are other backends that have automatic checking
(NSS, wolfSSL and DarwinSSL) so we could possibly accommodate them at
some later point.

Bug: https://github.com/bagder/curl/issues/264
Reported-by: zenden2k <zenden2k@gmail.com>

commit 5eeef60a53841b8b17af29ac6fd708c8ebd158ff
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jul 16 22:19:43 2015 -0400

runtests: Allow for spaces in curl custom path

.. also fix some typos in test's FILEFORMAT spec.

commit a6d0201b5380ae22bdb37c8ef23a138ab1daa8f3
Author: David Woodhouse <David.Woodhouse@intel.com>
Date: Thu Jul 16 14:17:33 2015 -0400

ntlm_wb: Fix theoretical memory leak

Static analysis indicated that my commit 9008f3d564 ("ntlm_wb: Fix
hard-coded limit on NTLM auth packet size") introduced a potential
memory leak on an error path, because we forget to free the buffer
before returning an error.

Fix this.

Although actually, it never happens in practice because we never *get*
here with state == NTLMSTATE_TYPE1. The state is always zero. That
might want cleaning up in a separate patch.

Reported-by: Terri Oda

commit 60770bca27eee9f1c4a878acdaeb6db3f3794dcc
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jul 15 22:19:20 2015 -0400

strerror: Add CRYPT_E_REVOKED to SSPI error strings

commit 2227a8d6a12c1352fb49101a305c5b879d000a41
Author: Kamil Dudka <kdudka@redhat.com>
Date: Tue Jul 14 17:08:44 2015 +0200

libtest: call PR_Cleanup() on exit if NSPR is used

This prevents valgrind from reporting possibly lost memory that NSPR
uses for file descriptor cache and other globally allocated internal
data structures.

Reported-by: Štefan Kremeň

commit 95de6d871c932b741812212886d7d826d0efb19b
Author: John Malmberg <wb8tyw@qsl.net>
Date: Wed Jul 1 20:54:09 2015 -0500

openssl: VMS support for SHA256

setup-vms.h: More symbols for SHA256, hacks for older VAX

openssl.h: Use OpenSSL OPENSSL_NO_SHA256 macro to allow building on VAX.

openssl.c: Use OpenSSL version checks and OPENSSL_NO_SHA256 macro to
allow building on VAX and 64 bit VMS.

commit 4e46a427101ee3db64b1d7c53aa5a0ca52e1c623
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jul 11 02:32:53 2015 -0400

examples: Fix typo in multi-single.c

commit c32ca6b33b96b678caaea49cd0e590bc1e483986
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Mon Jul 6 22:16:27 2015 +0900

http2: Fix memory leak in push header array

commit 33113223d8f4ae6a0baff772619f5557431f4ea7
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Jul 2 08:32:18 2015 +0200

test2041: fixed line endings in protocol part

commit ba1e77683dbbedb7bf29957562ab490ccf30471d
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Jul 2 08:29:22 2015 +0200

cyassl: fixed mismatched sha256sum function prototype

commit ed7f86e7984a4e3ab85bf4f093a12633ea787a20
Author: moparisthebest <admin@moparisthebest.com>
Date: Tue Jun 30 20:23:54 2015 -0400

SSL: Pinned public key hash support

commit b055f630c1da1741ebf7bbedf5e3ac32f17439e2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jul 1 11:43:12 2015 +0200

examples: provide <DESC> sections

commit a867537e70ff338050f41b73c8224031804b351e
Author: John Malmberg <wb8tyw@qsl.net>
Date: Tue Jun 30 18:02:59 2015 -0500

OpenVMS: VMS Software, Inc now the supplier.

setup-vms.h: Symbol case fixups submitted by Michael Steve

build_gnv_curl_pcsi_desc.com: VSI aka as VMS Software, is now the
supplier of new versions of VMS. The install kit needs to accept
VSI as a producer.

commit 616a2354c0ec4ef3c6dd83150e3fca2bdbb889e4
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Jun 30 17:19:21 2015 -0400

multi: Move http2 push function declarations to header end

This change necessary for binary compatibility.

Prior to this change test 1135 failed due to the order of functions.

commit 2f5fa764f6816c3cde5d524e9746dbf972d68046
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Tue Jun 30 17:02:27 2015 -0400

symbols-in-versions: Add new http2 push symbols

Prior to this change test 1119 failed due to the missing symbols.

commit a63280dad747e357f563373b73b2ccd84008e11b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 30 00:45:14 2015 +0200

RELEASE-NOTES: synced with e6749055d653

commit 51d4ca0b180c9fea0a5816970d893d4646420924
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 29 16:03:45 2015 +0200

configure: disable libidn by default

For security reasons, until there is a fix.

Bug: http://curl.haxx.se/mail/lib-2015-06/0143.html
Reported-by: Gustavo Grieco, Feist Josselin

commit 77f58182ddf9d4edb38e10db1e99eea3ac44bdcf
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 29 15:03:56 2015 +0200

SSL-PROBLEMS: mention WinSSL problems in WinXP

commit 3b8a2af42b2740d59bde6599a7f53f1e6895d044
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 29 11:35:13 2015 +0200

CODE_OF_CONDUCT.md: added

Just to underscore how we treat each other in this project. Nothing new
really, but could be useful for newcomers and outsiders to see our
values.

commit 68afa027cd1bb428d7c0aad68e78ba5d8e486a3e
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 23 16:53:02 2015 -0700

tool_header_cb: fflush the header stream

Flush the header stream when -D is used so that they are sent off
earlier.

Bug: https://github.com/bagder/curl/issues/324
Reported-by: Cédric Connes

commit 58fcde6babccdb0bc367151a571b6070447c473b
Author: Roger Leigh <r.leigh@dundee.ac.uk>
Date: Thu Jun 25 15:04:41 2015 +0100

tests: Distribute CMakeLists.txt files in subdirectories

commit e80f4eb205fd89e2b7de4107362f56d01dfb2ee7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 24 15:26:15 2015 -0700

CURLOPT_FAILONERROR.3: mention that it closes the connection

Reported-by: bemoody
Bug: https://github.com/bagder/curl/issues/325

commit 46791fef75b63b31d54f4b763fad579eab7067fd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 24 14:55:12 2015 -0700

curl_multi_setopt.3: alpha sort the options

commit 511b4b21f170ae0a92e21ec27d64627b38b1a4cd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 24 14:52:58 2015 -0700

curl_multi_setopt.3: add the new push options

commit 0f6a37e8b8a66962bbac1e85f6c2543f8d9b735b
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Jun 6 18:10:30 2015 +0900

http2: Use nghttp2 library error code for error return value

commit 4bffc0e4edd47c51a1d1e6a95d937fdb7999c0ec
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Jun 6 18:07:00 2015 +0900

http2: Harden header validation for curl_pushheader_byname

Since we do prefix match using given header by application code
against header name pair in format "NAME:VALUE", and VALUE part can
contain ":", we have to careful about existence of ":" in header
parameter. ":" should be allowed to match HTTP/2 pseudo-header field,
and other use of ":" in header must be treated as error, and
curl_pushheader_byname should return NULL. This commit implements
this behaviour.

commit 46c1ee68d108b76456cabaf3e95ddde0008c3dbe
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Sat Jun 6 18:06:15 2015 +0900

CURLMOPT_PUSHFUNCTION.3: Remove unused variable

commit 824ab04f46c2d58be84981e751d87eb5ac5222f2
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 2 11:58:39 2015 +0200

CURLMOPT_PUSHFUNCTION.3: added example

commit 7b7f8571ff9503eec9de051eeeccff499a8c0354
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 2 11:50:00 2015 +0200

http2: curl_pushheader_byname now takes a const char *

commit 40110aac17f27e56537cdfdb977a297b15d88fc4
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 2 11:04:00 2015 +0200

http2-serverpush.c: example code

commit 0c4ac324f829f24be0c001520b8584fb91e3bf77
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 2 11:01:30 2015 +0200

http2: free all header memory after the push callback

commit 50de6f9d520eb7e1036152b2eb57cb93764be4d5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 2 10:34:27 2015 +0200

http2: init the pushed transfer properly

commit 2e6317c78281ef13ed0806530840c5a16eaf2517
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 1 15:52:46 2015 +0200

http2: fixed the header accessor functions for the push callback

commit fc3efa0a6d8f7701108559686e0a3d437599f9a7
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 1 14:20:57 2015 +0200

http2: setup the new pushed stream properly

commit fe7625bb04a139c8b242dc702df540123ac1ad45
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 1 11:45:52 2015 +0200

http2: initial implementation of the push callback

commit bbd74a915592503340ddc44a216265e01bbfafbd
Author: Daniel Stenberg <daniel@haxx.se>
Date: Mon Jun 1 10:22:41 2015 +0200

http2: initial HTTP/2 server push types/docs

commit cce0092ca5ff193b654bb81d3feb28070c041459
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 23 17:51:03 2015 -0700

test1531: verify POSTFIELDSIZE set after add_handle

Following the fix made in 903b6e05565bf.

commit 461264ebe82e431cec9ba234091d199c5e0edd58
Author: Daniel Stenberg <daniel@haxx.se>
Date: Tue Jun 23 17:48:37 2015 -0700

pretransfer: init state.infilesize here, not in add_handle

... to properly support that options are set to the handle after it is
added to the multi handle.

Bug: http://curl.haxx.se/mail/lib-2015-06/0122.html
Reported-by: Stefan Bühler

commit 400300ff91f843368140139e86f2afdef8ba3efb
Author: Lior Kaplan <kaplanlior@gmail.com>
Date: Sun Jun 21 13:41:07 2015 +0300

tool_help: fix --tlsv1 help text to use >= for TLSv1

commit 15b0cb5a6486474221304737b5e44428b385c07d
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Sat Jun 20 18:45:25 2015 -0400

INSTALL: Advise use of non-native SSL for Windows <= XP

Advise that WinSSL in versions <= XP will not be able to connect to
servers that no longer support the legacy handshakes and algorithms used
by those versions, and to use an alternate backend like OpenSSL instead.

Bug: https://github.com/bagder/curl/issues/253
Reported-by: zenden2k <zenden2k@gmail.com>

commit 1e8b2dcaf1c21d40a078c2b4f175c03a628730d3
Author: Kamil Dudka <kdudka@redhat.com>
Date: Fri Jun 19 10:07:32 2015 -0400

curl_easy_setopt.3: restore contents removed by mistake

... in commit curl-7_43_0-18-g570076e

commit 03f34ea4368176925823a8e03a9033ba80c76156
Author: Daniel Stenberg <daniel@haxx.se>
Date: Fri Jun 19 15:47:06 2015 +0200

curl_easy_setopt.3: mention CURLOPT_PIPEWAIT

commit 0a3194034da3ee3f3ebef9a29a7935c42f12d7cf
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Thu Jun 18 19:35:04 2015 -0400

cookie: Fix bug in export if any-domain cookie is present

In 3013bb6 I had changed cookie export to ignore any-domain cookies,
however the logic I used to do so was incorrect, and would lead to a
busy loop in the case of exporting a cookie list that contained
any-domain cookies. The result of that is worse though, because in that
case the other cookies would not be written resulting in an empty file
once the application is terminated to stop the busy loop.

commit 21cf06a1ec246da14180b305ffc087e4637e0255
Author: Dan Fandrich <dan@coneharvesters.com>
Date: Thu Jun 18 23:20:10 2015 +0200

FTP: fixed compiling with --disable-proxy, broken in b88f980a

commit ef586e2364f9395b11828c617b3f7a62c703550a
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 16:57:38 2015 +0200

tool: always provide negotiate/kerberos options

libcurl can still be built with it, even if the tool is not. Maintain
independence!

commit a6758cf28c529e5859fd5b2fb46219c2e20c72bb
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 16:32:47 2015 +0200

TODO: Support IDNA2008

commit fe510c4f91fba1ca64495c470a08622026ccf43e
Author: Viktor Szakats <vszakats@users.noreply.github.com>
Date: Thu Jun 18 14:28:39 2015 +0200

Makefile.m32: add support for CURL_LDFLAG_EXTRAS

It is similar to existing CURL_CFLAG_EXTRAS, but for
extra linker option.

commit 7ad60eec6560df0efc43ac9c17d0d774e6d9615d
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 14:29:57 2015 +0200

RTSP: removed another piece of dead code

Coverity CID 1306668

commit 9853ebf042f0ab771651fa80ae5354e8bd0e4899
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 14:20:31 2015 +0200

openssl: fix use of uninitialized buffer

Make sure that the error buffer is always initialized and simplify the
use of it to make the logic easier.

Bug: https://github.com/bagder/curl/issues/318
Reported-by: sneis

commit ae412f54f30933568fd60b8b14d68a8711294403
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 11:38:54 2015 +0200

examples: more descriptions

commit dd768a714df184bcd02c6aba2d6dc9b8057b3691
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 10:17:02 2015 +0200

examples: add descriptions with <DESC>

Using this fixed format for example descriptions, we can generate a
better list on the web site.

commit 781f138d84695ce4350415e6394b3d47e33d1dde
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 00:17:47 2015 +0200

libcurl-errors.3: fix typo

commit 75b496e457bf5cdafc264e7d745a3e55e99c882b
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 00:09:46 2015 +0200

curl_easy_setopt.3: option order doesn't matter

commit 6cc4c35c72111d47104d787ed70e842d6e99efae
Author: Daniel Stenberg <daniel@haxx.se>
Date: Thu Jun 18 00:06:46 2015 +0200

openssl: fix build with BoringSSL

OPENSSL_load_builtin_modules does not exist in BoringSSL. Regression
from cae43a1

commit 7c0293989bab54855946ddf5b50f7fe3f3898737
Author: Paul Howarth <paul@city-fan.org>
Date: Wed Jun 17 16:53:34 2015 +0200

openssl: Fix build with openssl < ~ 0.9.8f

The symbol SSL3_MT_NEWSESSION_TICKET appears to have been introduced at
around openssl 0.9.8f, and the use of it in lib/vtls/openssl.c breaks
builds with older openssls (certainly with 0.9.8b, which is the latest
older version I have to try with).

commit 3290f046277b4a2b1b1dc0095e483684478e5ac5
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 17 00:30:06 2015 +0200

FTP: do the HTTP CONNECT for data connection blocking

** WORK-AROUND **

The introduced non-blocking general behaviour for Curl_proxyCONNECT()
didn't work for the data connection establishment unless it was very
fast. The newly introduced function argument makes it operate in a more
blocking manner, more like it used to work in the past. This blocking
approach is only used when the FTP data connecting through HTTP proxy.

Blocking like this is bad. A better fix would make it work more
asynchronously.

Bug: https://github.com/bagder/curl/issues/278

commit 00bf2e5b4040e9aa75a94a6045a06bff62adc49c
Author: Daniel Stenberg <daniel@haxx.se>
Date: Wed Jun 17 13:59:33 2015 +0200

bump: start the journey toward 7.44.0

commit 3f6380429b28088a751ec9defc7a90c25ef18175
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jun 17 02:49:14 2015 -0400

CURLOPT_ERRORBUFFER.3: Fix example, escape backslashes

commit 04dc5c4ee0c75e38c950ca32581ac4ad7c830e56
Author: Jay Satiro <raysatiro@yahoo.com>
Date: Wed Jun 17 02:25:51 2015 -0400

CURLOPT_ERRORBUFFER.3: Improve example

(cherry picked from commit 8f1a214b8a21b66f33454790dfba97ae2f818289)

Change-Id: I335c1f73eff3df5345cdb4730e2bcc51be9857ee
/external/curl/lib/vtls/openssl.c
1b20ff0c2fb1dcf77388e4830c475913f48ade75 18-Jun-2015 Daniel Stenberg <daniel@haxx.se> curl: fix build with BoringSSL

OPENSSL_load_builtin_modules does not exist in BoringSSL. Regression
from cae43a1

This change was cherry-picked from upstream at
46d0eba2e9f600972c56bde04357bb5cfe1bc42b.

BUG: 22347561

Change-Id: I22883e923481b79ee61cbce3df312f9478ea16db
/external/curl/lib/vtls/openssl.c
e6cd738ed3716c02557fb3a47515244e949ade39 02-Jul-2015 Bertrand SIMONNET <bsimonnet@google.com> Import curl 7.43

This is a simple import of curl 7.43.
The only change from the official release is the fact that the
Android.mk was removed to avoid build error trying to parse it.

BUG: 22347561

Change-Id: I52ef6798d30b25d22d1f62770d571adec8bcf4d5
/external/curl/lib/vtls/openssl.c