aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/smtp-tls.c
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-06-28 14:49:26 -0700
committerAlex Deymo <deymo@google.com>2016-06-28 14:49:26 -0700
commit8f1a214b8a21b66f33454790dfba97ae2f818289 (patch)
tree0630dd6935f70bb2c0510d35cd575fb5965b699c /docs/examples/smtp-tls.c
parent5ba6000306b3069356a86d7ff39df55f90f8baeb (diff)
downloadexternal_curl-8f1a214b8a21b66f33454790dfba97ae2f818289.tar.gz
external_curl-8f1a214b8a21b66f33454790dfba97ae2f818289.tar.bz2
external_curl-8f1a214b8a21b66f33454790dfba97ae2f818289.zip
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 Change-Id: Ia155d85c03aef11e22d1d2287ee2e8cc2b7ead54 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 Change-Id: Ia8ddebe08765470b2cde8626bafcee622a56367a 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. Change-Id: I36c4d0091355ae4dcd6727e120d2dfa4c4dbb5a3 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 '{}' '{}' Change-Id: I55a70630f9ac6eb2999360b477b344b17c9466bb 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 Change-Id: I3ba7f1057bdd0cbdbf73eb45531ee3b0a148f48a 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 Change-Id: Ic3e342f802705447075206be0b87a41b5212171f
Diffstat (limited to 'docs/examples/smtp-tls.c')
-rw-r--r--docs/examples/smtp-tls.c32
1 files changed, 20 insertions, 12 deletions
diff --git a/docs/examples/smtp-tls.c b/docs/examples/smtp-tls.c
index 4872dbdf..c863e059 100644
--- a/docs/examples/smtp-tls.c
+++ b/docs/examples/smtp-tls.c
@@ -5,11 +5,11 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at http://curl.haxx.se/docs/copyright.html.
+ * are also available at https://curl.haxx.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
@@ -19,6 +19,12 @@
* KIND, either express or implied.
*
***************************************************************************/
+
+/* <DESC>
+ * SMTP example using TLS
+ * </DESC>
+ */
+
#include <stdio.h>
#include <string.h>
#include <curl/curl.h>
@@ -40,7 +46,8 @@ static const char *payload_text[] = {
"To: " TO "\r\n",
"From: " FROM "(Example User)\r\n",
"Cc: " CC "(Another example User)\r\n",
- "Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@rfcpedant.example.org>\r\n",
+ "Message-ID: <dcd7cb36-11db-487a-9f3a-e652a9458efd@"
+ "rfcpedant.example.org>\r\n",
"Subject: SMTP TLS example message\r\n",
"\r\n", /* empty line to divide headers from body, see RFC5322 */
"The body of the message starts here.\r\n",
@@ -110,18 +117,19 @@ int main(void)
* curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
* curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
* That is, in general, a bad idea. It is still better than sending your
- * authentication details in plain text though.
- * Instead, you should get the issuer certificate (or the host certificate
- * if the certificate is self-signed) and add it to the set of certificates
- * that are known to libcurl using CURLOPT_CAINFO and/or CURLOPT_CAPATH. See
- * docs/SSLCERTS for more information. */
+ * authentication details in plain text though. Instead, you should get
+ * the issuer certificate (or the host certificate if the certificate is
+ * self-signed) and add it to the set of certificates that are known to
+ * libcurl using CURLOPT_CAINFO and/or CURLOPT_CAPATH. See docs/SSLCERTS
+ * for more information. */
curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem");
- /* Note that this option isn't strictly required, omitting it will result in
- * libcurl sending the MAIL FROM command with empty sender data. All
+ /* Note that this option isn't strictly required, omitting it will result
+ * in libcurl sending the MAIL FROM command with empty sender data. All
* autoresponses should have an empty reverse-path, and should be directed
- * to the address in the reverse-path which triggered them. Otherwise, they
- * could cause an endless loop. See RFC 5321 Section 4.5.5 for more details.
+ * to the address in the reverse-path which triggered them. Otherwise,
+ * they could cause an endless loop. See RFC 5321 Section 4.5.5 for more
+ * details.
*/
curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM);