summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* http2: call done_sending on end of uploadbagder/h2-send-doneDaniel Stenberg2019-06-244-6/+15
| | | | | | | To make sure a HTTP/2 stream registers the end of stream. Reported-by: Tom van der Woerdt Fixes #4043
* test153: fix content-length to avoid occasional hangDaniel Stenberg2019-06-241-2/+2
| | | | Closes #4065
* RELEASE-NOTES: syncedDaniel Stenberg2019-06-241-4/+43
|
* multi: enable multiplexing by default (again)Daniel Stenberg2019-06-231-0/+2
| | | | | | | It was originally made default in d7c4213bd0c (7.62.0) but mistakenly reverted in commit 2f44e94efb3d (7.65.0). Now enabled again. Closes #4051
* typecheck: add 3 missing strings and a callback data pointerDaniel Stenberg2019-06-221-2/+5
| | | | Closes #4050
* tests: add disable-scan.pl to distDaniel Stenberg2019-06-211-1/+1
| | | | | | follow-up from 29177f422a5 Closes #4059
* http2: don't call stream-close on already closed streamsDaniel Stenberg2019-06-211-4/+3
| | | | Closes #4055
* travis: enable alt-svc for coverage buildMarcel Raad2019-06-201-1/+1
| | | | Closes
* travis: enable libssh2 for coverage buildMarcel Raad2019-06-201-2/+3
| | | | | | | | | It was enabled by default before commit c92d2e14cfb. Disable torture tests 600 and 601 because of https://github.com/curl/curl/issues/1678. Closes
* travis: disable threaded resolver for coverage buildMarcel Raad2019-06-201-1/+1
| | | | | | This enables more tests. Closes
* travis: enable brotli for all xenial jobsMarcel Raad2019-06-201-20/+25
| | | | | | | There's no need for a separate job, and no need to build it from source with Xenial. Closes
* travis: enable warnings-as-errors for coverage buildMarcel Raad2019-06-201-1/+1
| | | | Closes
* system_win32: fix typoGisle Vanem2019-06-201-1/+1
|
* typecheck: CURLOPT_CONNECT_TO takes an slist tooDaniel Stenberg2019-06-203-12/+16
| | | | | | | Additionally, add an alias in curl.h for slist-using options so that we can grep/parse those out at will. Closes #4042
* tests: support non-localhost HOSTIP for dict/smb serversStephan Szabo2019-06-203-4/+10
| | | | | | | | | | | | smbserver.py/dictserver.py were explicitly using localhost/127.0.0.1 for binding the server which when we were running the tests with a separate HOSTIP and CLIENTIP had failures verifying the server from the device we were testing. This changes them to take the address from runtests.py and default to localhost/127.0.0.1 if none is given. Closes #4048
* test1523: basic test of CURLOPT_LOW_SPEED_LIMITDaniel Stenberg2019-06-184-2/+136
|
* configure: --disable-progress-meterDaniel Stenberg2019-06-182-55/+94
| | | | | | Builds libcurl without support for the built-in progress meter. Closes #4023
* curl: improved skip-setopt-options when built with disabled featuresDaniel Stenberg2019-06-183-35/+80
| | | | | | | Reduces #ifdefs in src/tool_operate.c Follow-up from 4e86f2fc4e6 Closes #3936
* netrc: Return the correct error code when out of memorySteve Holme2019-06-181-1/+1
| | | | | | Introduced in 763c5178. Closes #4036
* config-os400: add getpeername and getsockname definesDaniel Stenberg2019-06-181-0/+6
| | | | | | Reported-by: jonrumsey on github Fixes #4037 Closes #4039
* runtests: keep logfiles around by defaultDaniel Stenberg2019-06-181-7/+3
| | | | | | | | | | | | | Make '-k' a no-op. The singletest function now clears the log directory BEFORE each individual test and not after, which makes it possible to always keep the logfiles around after a test has been run. No need to specify -k anymore. Keeping the option parsing around to work with users of old habits. Some tests also didn't work properly when -k was used (since the old logs would be kep when a new test starts) which this change also fixes. Closes #4035
* openssl: fix pubkey/signature algorithm detection in certinfoGergely Nagy2019-06-181-10/+17
| | | | | | | | | Certinfo gives the same result for all OpenSSL versions. Also made printing RSA pubkeys consistent with older versions. Reported-by: Michael Wallner Fixes #3706 Closes #4030
* conn_maxage: move the check to prune_dead_connections()Daniel Stenberg2019-06-171-27/+25
| | | | | | | | ... and avoid the locking issue. Reported-by: Kunal Ekawde Fixes #4029 Closes #4032
* tests: have runtests figure out disabled featuresDaniel Stenberg2019-06-174-315/+168
| | | | | | | | | | | | ... so that runtests can skip individual test cases that test features that are explicitly disabled in this build. This new logic is intended for disabled features that aren't otherwise easily visible through the curl_version_info() or other API calls. tests/server/disabled is a newly built executable that will output a list of disabled features. Outputs nothing for a default build. Closes #3950
* test188/189: fix Content-LengthDaniel Stenberg2019-06-172-4/+4
| | | | | | This cures the flaky test results Closes #4034
* winbuild: use WITH_PREFIX if givenThomas Gamper2019-06-173-3/+13
| | | | Closes #4031
* openssl: remove outdated commentDaniel Gustafsson2019-06-171-8/+2
| | | | | | | | | | | | OpenSSL used to call exit(1) on syntax errors in OPENSSL_config(), which is why we switched to CONF_modules_load_file() and introduced a comment stating why. This behavior was however changed in OpenSSL commit abdd677125f3a9e3082f8c5692203590fdb9b860, so remove the now outdated and incorrect comment. The mentioned commit also declares OPENSSL_config() deprecated so keep the current coding. Closes #4033 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* RELEASE-NOTES: syncedDaniel Stenberg2019-06-161-4/+22
|
* os400: make vsetopt() non-static as Curl_vsetopt() for os400 support.Patrick Monnerat2019-06-163-10/+9
| | | | | | | | Use it in curl_easy_setopt_ccsid(). Reported-by: jonrumsey on github Fixes #3833 Closes #4028
* runtests: report single test time + total durationDaniel Stenberg2019-06-151-20/+23
| | | | | | ... after each successful test. Closes #4027
* multi: fix the transfer hash functionDaniel Stenberg2019-06-141-1/+1
| | | | | | | | Follow-up from 8b987cc7eb Reported-by: Tom van der Woerdt Fixes #4018 Closes #4024
* unit1654: cleanup on memory failureDaniel Stenberg2019-06-131-1/+3
| | | | | | | | ... to make it handle torture tests properly. Reported-by: Marcel Raad Fixes #4021 Closes #4022
* krb5: fix compiler warningMarcel Raad2019-06-131-4/+2
| | | | | | | | | | | | Even though the variable was used in a DEBUGASSERT, GCC 8 warned in debug mode: krb5.c:324:17: error: unused variable 'maj' [-Werror=unused-variable] Just suppress the warning and declare the variable unconditionally instead of only for DEBUGBUILD (which also missed the check for HAVE_ASSERT_H). Closes https://github.com/curl/curl/pull/4020
* quote.d: asterisk prefix works for SFTP as wellDaniel Stenberg2019-06-131-3/+4
| | | | | | Reported-by: Ben Voris Fixes #4017 Closes #4019
* multi: fix the transfer hashes in the socket hash entriesDaniel Stenberg2019-06-122-61/+22
| | | | | | | | | | | | | - The transfer hashes weren't using the correct keys so removing entries failed. - Simplified the iteration logic over transfers sharing the same socket and they now simply are set to expire and thus get handled in the "regular" timer loop instead. Reported-by: Tom van der Woerdt Fixes #4012 Closes #4014
* url: Fix CURLOPT_MAXAGE_CONN time comparisonCliff Crosland2019-06-121-1/+1
| | | | | | | | | Old connections are meant to expire from the connection cache after CURLOPT_MAXAGE_CONN seconds. However, they actually expire after 1000x that value. This occurs because a time value measured in milliseconds is accidentally divided by 1M instead of by 1,000. Closes https://github.com/curl/curl/pull/4013
* test1165: verify that CURL_DISABLE_ symbols are in syncDaniel Stenberg2019-06-113-2/+123
| | | | | between configure.ac and source code. They should be possible to switch on/off in configure AND be used in source code.
* configure: remove CURL_DISABLE_TLS_SRPDaniel Stenberg2019-06-111-1/+0
| | | | | | It isn't used by code so stop providing the define. Closes #4010
* Revert "cmake: add SMB to list of disabled protocols if HTTP_ONLY is specified"Daniel Stenberg2019-06-111-4/+0
| | | | | | This reverts commit 36738caeb78603ce24e3ea089a167b8c216fb938. Apparently several of the appveyor windows builds broke.
* cmake: add SMB to list of disabled protocols if HTTP_ONLY is specifiedsergey-raevskiy2019-06-111-0/+4
| | | | | Reviewed-by: Jakub Zakrzewski Closes #3770
* RELEASE-NOTES: syncedDaniel Stenberg2019-06-111-3/+15
|
* http2: remove CURL_DISABLE_TYPECHECK defineDaniel Stenberg2019-06-111-2/+0
| | | | ... in http2-less builds as it served no use.
* configure: more --disable switches to toggle off individual featuresDaniel Stenberg2019-06-111-1/+109
| | | | | | ... actual support in the code for disabling these has already landed. Closes #4009
* wolfssl: fix key pinning build errorDaniel Stenberg2019-06-111-1/+1
| | | | follow-up from deb9462ff2de8
* CURLMOPT_SOCKETFUNCTION.3: clarifiedDaniel Stenberg2019-06-102-76/+26
| | | | | | | Moved away the callback explanation from curl_multi_socket_action.3 and expanded it somewhat. Closes #4006
* wolfssl: fixup for SNI useDaniel Stenberg2019-06-101-1/+1
| | | | | | follow-up from deb9462ff2de8 Closes #4007
* CURLOPT_CAINFO.3: polished wordingDaniel Stenberg2019-06-101-11/+9
| | | | | | | | | | | | Clarify the functionality when built to use Schannel and Secure Transport and stop calling it the "recommended" or "preferred" way and instead rather call it the default. Removed the reference to the ssl comparison table as it isn't necessary. Reported-by: Richard Alcock Bug: https://curl.haxx.se/mail/lib-2019-06/0019.html Closes #4005
* SECURITY.md: createdDaniel Stenberg2019-06-101-0/+10
| | | Brief security policy description for use/display on github.
* tool_cb_prg: Fix integer overflow in progress barDaniel Gustafsson2019-06-101-4/+9
| | | | | | | | | | | | | Commit 61faa0b420c236480bc9ef6fd52b4ecc1e0f8d17 fixed the progress bar width calculation to avoid integer overflow, but failed to account for the fact that initial_size is initialized to -1 when the file size is retrieved from the remote on an upload, causing another signed integer overflow. Fix by separately checking for this case before the width calculation. Closes #3984 Reported-by: Brian Carpenter (Geeknik Labs) Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* wolfssl: refer to it as wolfSSL onlyDaniel Stenberg2019-06-1017-221/+182
| | | | | | | | | | Remove support for, references to and use of "cyaSSL" from the source and docs. wolfSSL is the current name and there's no point in keeping references to ancient history. Assisted-by: Daniel Gustafsson Closes #3903