summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* travis: revert back to gcc-7 for coverage buildsbagder/travis-gcc7-for-coverageDaniel Stenberg2018-08-151-3/+4
| | | | | | ... since the gcc-8 ones seem to fail frequently. Follow-up from b85207199544ca
* TODO: host name sections in config filesDaniel Stenberg2018-08-151-0/+8
|
* ssh-libssh: fix infinite connect loop on invalid private keyKamil Dudka2018-08-143-1/+35
| | | | | | | | Added test 656 (based on test 604) to verify the fix. Bug: https://bugzilla.redhat.com/1595135 Closes #2879
* ssh-libssh: reduce excessive verbose output about pubkey authKamil Dudka2018-08-141-2/+1
| | | | | | | | | | The verbose message "Authentication using SSH public key file" was printed each time the ssh_userauth_publickey_auto() was called, which meant each time a packet was transferred over network because the API operates in non-blocking mode. This patch makes sure that the verbose message is printed just once (when the authentication state is entered by the SSH state machine).
* travis: disable h2 torture tests for "coverage"Daniel Stenberg2018-08-141-1/+1
| | | | | | Since they started to fail almost 100% since a few days. Closes #2876
* travis: update to GCC 8Marcel Raad2018-08-141-7/+7
| | | | Closes https://github.com/curl/curl/pull/2869
* http: fix for tiny "HTTP/0.9" responseDaniel Stenberg2018-08-1311-44/+164
| | | | | | | | | | | Deal with tiny "HTTP/0.9" (header-less) responses by checking the status-line early, even before a full "HTTP/" is received to allow detecting 0.9 properly. Test 1266 and 1267 added to verify. Fixes #2420 Closes #2872
* docs: add disallow-username-in-url.d and haproxy-protocol.d on the listKamil Dudka2018-08-131-1/+2
| | | | | | ... to make make the files appear in distribution tarballs Closes #2856
* .travis.yml: verify that man pages can be regeneratedKamil Dudka2018-08-131-1/+2
| | | | | | ... when curl is built from distribution tarball Closes #2856
* Split non-portable part off test 1133Marcel Raad2018-08-113-7/+105
| | | | | | | | | Split off testing file names with double quotes into new test 1158. Disable it for MSYS using a precheck as it doesn't support file names with double quotes (but Cygwin does, for example). Fixes https://github.com/curl/curl/issues/2796 Closes https://github.com/curl/curl/pull/2854
* projects: Improve Windows perl detection in batch scriptsJay Satiro2018-08-112-20/+15
| | | | | | | | | | | - Determine if perl is in the user's PATH by running perl.exe. Prior to this change detection was done by checking the PATH for perl/ but that did not work in all cases (eg git install includes perl but not in perl/ path). Bug: https://github.com/curl/curl/pull/2865 Reported-by: Daniel JeliƄski
* docs: Improve the manual pages of some callbacksMichael Kaufmann2018-08-115-15/+21
| | | | | | | | | | - CURLOPT_HEADERFUNCTION: add newlines - CURLOPT_INTERLEAVEFUNCTION: fix the description of 'userdata' - CURLOPT_READDATA: mention crashes, same as in CURLOPT_WRITEDATA - CURLOPT_READFUNCTION: rename 'instream' to 'userdata' and explain how to set it Closes https://github.com/curl/curl/pull/2868
* GCC: silence -Wcast-function-type uniformlyMarcel Raad2018-08-112-30/+31
| | | | | Pointed-out-by: Rikard Falkeborn Closes https://github.com/curl/curl/pull/2860
* Silence GCC 8 cast-function-type warningsMarcel Raad2018-08-114-3/+13
| | | | | | | | | | On Windows, casting between unrelated function types is fine and sometimes even necessary, so just use an intermediate cast to (void (*) (void)) to silence the warning as described in [0]. [0] https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Warning-Options.html Closes https://github.com/curl/curl/pull/2860
* CURLINFO_SIZE_UPLOAD: fix missing counter updateDaniel Stenberg2018-08-115-2/+147
| | | | | | | | Adds test 1522 for verification. Reported-by: cjmsoregan Fixes #2847 Closes #2864
* Documentation: fix CURLOPT_SSH_COMPRESSION copy/paste bugDaniel Jelinski2018-08-101-2/+2
| | | | Closes #2867
* RELEASE-NOTES: syncedDaniel Stenberg2018-08-101-8/+29
|
* openssl: fix potential NULL pointer deref in is_pkcs11_uriDaniel Stenberg2018-08-101-6/+1
| | | | | Follow-up to 298d2565e Coverity CID 1438387
* travis: execute "set -eo pipefail" for coverage buildMarcel Raad2018-08-101-2/+1
| | | | | | | Follow-up to 2de63ab179eb78630ee039ad94fb2a5423df522d and 0b87c963252d3504552ee0c8cf4402bd65a80af5. Closes https://github.com/curl/curl/pull/2862
* lib1502: fix memory leak in torture testDaniel Stenberg2018-08-101-0/+2
| | | | | | Reported-by: Marcel Raad Fixes #2861 Closes #2863
* docs: mention NULL is fine input to several functionsDaniel Stenberg2018-08-107-7/+26
| | | | | | Fixes #2837 Closes #2858 Reported-by: Markus Elfring
* README.md: add LGTM.com code quality grade for C/C++Bas van Schaik2018-08-091-1/+3
| | | | Closes #2857
* test1531: Add timeoutRikard Falkeborn2018-08-091-1/+10
| | | | | | | Previously, the macro TEST_HANG_TIMEOUT was unused, but since there is looping going on, we might as well add timing instead of removing it. Closes #2853
* test1540: Remove unused macro TEST_HANG_TIMEOUTRikard Falkeborn2018-08-091-2/+0
| | | | | | | The macro has never been used, and it there is not really any place where it would make sense to add timing checks. Closes #2852
* asyn-thread: Remove unused macroRikard Falkeborn2018-08-091-2/+0
| | | | | | The macro seems to never have been used. Closes #2852
* http_proxy: Remove unused macro SELECT_TIMEOUTRikard Falkeborn2018-08-091-1/+0
| | | | | | Usage was removed in 5113ad0424044458ac497fa1458ebe0101356b22. Closes #2852
* formdata: Remove unused macro HTTPPOST_CONTENTTYPE_DEFAULTRikard Falkeborn2018-08-091-4/+0
| | | | | | | Its usage was removed in 84ad1fd3047815f9c6e78728bb351b828eac10b1. Closes #2852
* telnet: Remove unused macros TELOPTS and TELCMDSRikard Falkeborn2018-08-091-4/+0
| | | | | | Their usage was removed in 3a145180cc754a5959ca971ef3cd243c5c83fc51. Closes #2852
* openssl: fix debug messagesDaniel Jelinski2018-08-091-1/+9
| | | | | Fixes #2806 Closes #2843
* configure: fix for -lpthread detection with OpenSSL and pkg-configDaniel Stenberg2018-08-091-1/+4
| | | | | | | | ... by making sure it uses the -I provided by pkg-config! Reported-by: pszemus on github Fixes #2848 Closes #2850
* RELEASE-NOTES: syncedDaniel Stenberg2018-08-081-7/+26
|
* windows: follow up to the buffer-tuning 1ba1dba7Daniel Stenberg2018-08-081-1/+5
| | | | | | | Somehow I didn't include the amended version of the previous fix. This is the missing piece. Pointed-out-by: Viktor Szakats
* windows: implement send buffer tuningDaniel Jelinski2018-08-081-1/+18
| | | | | | | | Significantly enhances upload performance on modern Windows versions. Bug: https://curl.haxx.se/mail/lib-2018-07/0080.html Closes #2762 Fixes #2224
* ssl: set engine implicitly when a PKCS#11 URI is providedAnderson Toshiyuki Sasaki2018-08-086-1/+109
| | | | | | | | | | | This allows the use of PKCS#11 URI for certificates and keys without setting the corresponding type as "ENG" and the engine as "pkcs11" explicitly. If a PKCS#11 URI is provided for certificate, key, proxy_certificate or proxy_key, the corresponding type is set as "ENG" if not provided and the engine is set to "pkcs11" if not provided. Acked-by: Nikos Mavrogiannopoulos Closes #2333
* CMake: Respect BUILD_SHARED_LIBSRuslan Baratov2018-08-084-28/+31
| | | | | | | | | | Use standard CMake variable BUILD_SHARED_LIBS instead of introducing custom option CURL_STATICLIB. Use '-DBUILD_SHARED_LIBS=%SHARED%' in appveyor.yml. Reviewed-by: Sergei Nikulov Closes #2755
* cmake: bumped minimum version to 3.4John Butterfield2018-08-081-1/+1
| | | | Closes #2753
* cmake: link curl to the OpenSSL targets instead of lib absolute pathsJohn Butterfield2018-08-083-5/+10
| | | | | | Reviewed-by: Jakub Zakrzewski Reviewed-by: Sergei Nikulov Closes #2753
* travis: build darwinssl on macos 10.12Daniel Stenberg2018-08-071-0/+1
| | | | | | | | ... as building on 10.13.x before 10.13.4 leads to link errors. Assisted-by: Nick Zitzmann Fixes #2835 Closes #2845
* DEPRECATE: remove release date from 7.62.0Daniel Stenberg2018-08-041-4/+3
| | | | | Since it will slip and the version is the important part there, not the date.
* lib/Makefile: only do symbol hiding if told toDaniel Stenberg2018-08-031-0/+3
| | | | | | | | | | This restores the ability to build a static lib with --disable-symbol-hiding to keep non-curl_ symbols. Researched-by: Dan Fandrich Reported-by: Ran Mozes Fixes #2830 Closes #2831
* hostip: fix unused variable warningMarcel Raad2018-08-021-0/+4
| | | | | addresses is only used in an infof call, which is a macro expanding to nothing if CURL_DISABLE_VERBOSE_STRINGS is set.
* test1307: disabledDaniel Stenberg2018-08-021-0/+2
| | | | | | | | Turns out that since we're using the native fnmatch function now when available, and they simply disagree on a huge number of test patterns that make it hard to test this function like this... Fixes #2825
* smb: don't mark it done in smb_doDaniel Stenberg2018-08-011-1/+1
| | | | | | | | Follow-up to 09e401e01bf9. The SMB protocol handler needs to use its doing function too, which requires smb_do() to not mark itself as done... Closes #2822
* general: fix printf specifiersRikard Falkeborn2018-08-012-2/+2
| | | | Closes #2818
* RELEASE-NOTES: syncedDaniel Stenberg2018-07-311-4/+52
|
* mailmap: Daniel JelinskiDaniel Stenberg2018-07-311-0/+1
|
* HTTP: Don't attempt to needlessly decompress redirect bodyHarry Sintonen2018-07-311-1/+1
| | | | | | | | | | | | This change fixes a regression where redirect body would needlessly be decompressed even though it was to be ignored anyway. As it happens this causes secondary issues since there appears to be a bug in apache2 that it in certain conditions generates a corrupt zlib response. The regression was created by commit: dbcced8e32b50c068ac297106f0502ee200a1ebd Discovered-by: Harry Sintonen Closes #2798
* curl: use Content-Disposition before the "URL end" for -OJDaniel Stenberg2018-07-311-3/+2
| | | | | | | | Regression introduced in 7.61.0 Reported-by: Thomas Klausner Fixes #2783 Closes #2813
* retry: return error if rewind was necessary but didn't happenDaniel Jelinski2018-07-311-0/+2
| | | | | Fixes #2801 Closes #2812
* http2: clear the drain counter in Curl_http2_doneDaniel Stenberg2018-07-301-13/+30
| | | | | | Reported-by: Andrei Virtosu Fixes #2800 Closes #2809