aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-05CURLINFO_CONDITION_UNMET: return true for 304 http status codeKwon-Young Choi
In libcurl, CURLINFO_CONDITION_UNMET is used to avoid writing to the output file if the server did not transfered a file based on time condition. In the same manner, getting a 304 HTTP response back from the server, for example after passing a custom If-Match-* header, also fulfill this condition. Fixes #5181 Closes #5183
2020-04-05curl: allow both --etag-compare and --etag-save with same file nameKwon-Young Choi
This change inverse the order of processing for the --etag-compare and --etag-save option to process first --etag-compare. This in turn allows to use the same file name to compare and save an etag. The original behavior of not failing if the etag file does not exists is conserved. Fixes #5179 Closes #5180
2020-04-04windows: enable UnixSockets with all build toolchainsViktor Szakats
Extend existing unix socket support in Windows builds to be enabled for all toolchain vendors or versions. (Previously it was only supported with certain MSVC versions + more recent Windows 10 SDKs) Ref: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ Ref: https://github.com/curl/curl/issues/5162 Closes: https://github.com/curl/curl/pull/5170
2020-04-04KNOWN_BUGS: Store TLS context per transfer instead of per connectionDaniel Stenberg
Closes #5102
2020-04-03sockfilt: remove redundancy in timeout handlingMarc Hoersken
And update other logmsg output in select_ws on Windows.
2020-04-03sockfilt: fix handling of ready closed sockets on WindowsMarc Hoersken
Replace the incomplete workaround regarding FD_CLOSE only signalling once by instead doing a pre-check with standard select and storing the result for later use. select keeps triggering on closed sockets on Windows while WSAEventSelect fires only once with data still available. By doing the pre-check we do not run in a deadlock due to waiting forever for another FD_CLOSE event.
2020-04-03sockfilt: fix race-condition of waiting threads and event handlingMarc Hoersken
Fix race-condition of waiting threads finishing while events are already being processed which lead to invalid or skipped events. Use mutex to check for one event at a time or do post-processing. In addition to mutex-based locking use specific event as signal. Closes #5156
2020-04-02CI-fuzz: increase fuzz time to 40 minutesLeo Neat
Closes #5174
2020-04-02CI: increase Azure Pipelines timeouts due to performance issuesMarc Hoersken
The current demand on Azure negatively impacts the CI performance.
2020-04-02runtests.pl: log host OS as detected by Perl environmentMarc Hoersken
2020-04-02ftpserver.pl: log before and after data connection is closedMarc Hoersken
2020-04-01RELEASE-NOTES: syncedDaniel Stenberg
2020-03-31RELEASE-PROCEDURE.md: run the copyright.pl script!Daniel Stenberg
2020-03-31vquic/ngtcp2.h: update copyright year rangeDaniel Stenberg
Follow-up to 0736ee73d346a52
2020-03-31CI: add build with ngtcp2 + gnutls on Travis CIDaiki Ueno
2020-03-31vquic: add support for GnuTLS backend of ngtcp2Daiki Ueno
Currently, the TLS backend used by vquic/ngtcp2.c is selected at compile time. Therefore OpenSSL support needs to be explicitly disabled. Signed-off-by: Daiki Ueno <dueno@redhat.com> Closes #5148
2020-03-31examples/sessioninfo.c: add include to fix compiler warningGisle Vanem
Fixes #5171
2020-03-31misc: copyright year updatesDaniel Stenberg
Follow-up to 7a71965e9
2020-03-31build: fixed build for systems with select() in unistd.hHarry Sintonen
Closes #5169
2020-03-31memdebug: don't log free(NULL)Daniel Stenberg
... it serves no purpose and fills up the log.
2020-03-30cleanup: insert newline after if() conditionsDaniel Stenberg
Our code style mandates we put the conditional block on a separate line. These mistakes are now detected by the updated checksrc.
2020-03-30checksrc: warn on obvious conditional blocks on the same line as if()Daniel Stenberg
Closes #5164
2020-03-30cmake: add CMAKE_MSVC_RUNTIME_LIBRARYRoger Orr
Fixes #5165 Closes #5167
2020-03-30ngtcp2: update to git master for the key installation API changeDaiki Ueno
This updates the ngtcp2 OpenSSL backend to follow the API change in commit 32e703164 of ngtcp2. Notable changes are: - ngtcp2_crypto_derive_and_install_{rx,tx}_key have been added to replace ngtcp2_crypto_derive_and_install_key - the 'side' argument of ngtcp2_crypto_derive_and_install_initial_key has been removed Fixes #5166 Closes #5168
2020-03-30SECURITY.md: minor rephraseCyrus
Closes #5158
2020-03-30output.d: quote the URL when globbingDaniel Stenberg
Some shells do globbing of their own unless the URL is quoted, so maybe encourage this. Co-authored-by: Jay Satiro Closes #5160
2020-03-29dist: add tests/version-scan.pl to tarballDaniel Stenberg
... used in test 1177. Follow-up to a97d826f6de3
2020-03-29test1177: verify that all the CURL_VERSION_ bits are documentedDaniel Stenberg
2020-03-29curl.h: remnove CURL_VERSION_ESNI. Never supported nor documentedDaniel Stenberg
Considered experimental and therefore we can do this. Closes #5157
2020-03-28KNOWN_BUGS: DoH doesn't inherit all transfer optionsDaniel Stenberg
Closes #4578 Closes #4579
2020-03-28KNOWN_BUGS: DoH leaks memory after followlocationDaniel Stenberg
Closes #4592
2020-03-28KNOWN_BUGS: "FTPS needs session reuse"Daniel Stenberg
Closes #4654
2020-03-28KNOWN_BUGS: "stick to same family over SOCKS pro" is presumed fixedDaniel Stenberg
2020-03-28TODO: Set custom client ip when using haproxy protocolDaniel Stenberg
Closes #5125
2020-03-27writeout_json: Fix data type issuesMichael Kaufmann
Load long values correctly (e.g. for http_code). Use curl_off_t (not long) for: - size_download (CURLINFO_SIZE_DOWNLOAD_T) - size_upload (CURLINFO_SIZE_UPLOAD_T) The unit for these values is bytes/second, not microseconds: - speed_download (CURLINFO_SPEED_DOWNLOAD_T) - speed_upload (CURLINFO_SPEED_UPLOAD_T) Fixes #5131 Closes #5152
2020-03-27mailmap: fixup a few author names/fieldsDaniel Stenberg
Douglas Steinwand, Gökhan Şengün, Jessa Chandler, Julian Z and Svyatoslav Mishyn
2020-03-27version: add 'cainfo' and 'capath' to version info structDaniel Stenberg
Suggested-by: Timothe Litt URL: https://curl.haxx.se/mail/lib-2020-03/0090.html Reviewed-by: Jay Satiro Closes #5150
2020-03-27RELEASE-NOTES: syncedDaniel Stenberg
2020-03-26SSLCERTS.md: Fix example code for setting CA cert fileJay Satiro
Prior to this change the documentation erroneously said use CURLOPT_CAPATH to set a CA cert file. Bug: https://curl.haxx.se/mail/lib-2020-03/0121.html Reported-by: Timothe Litt Closes https://github.com/curl/curl/pull/5151
2020-03-26sockfilt: add logmsg output to select_ws_wait_thread on WindowsMarc Hoersken
Assisted-by: Jay Satiro Reviewed-by: Daniel Stenberg Closes #5086
2020-03-26docs/make: generate curl.1 from listed files onlyDaniel Stenberg
Previously it rendered the page from files matching "*.d" in the correct directory, which worked fine in git builds when the files were added but made it easy to forget adding the files to the dist. Now, only man page sections listed in DPAGES in Makefile.inc will be used, thus "forcing" us to update this to get the man page right and get it included in the dist at the same time. Ref: #5146 Closes #5149
2020-03-26openssl: adapt to functions marked as deprecated since version 3Daniel Stenberg
OpenSSL 3 deprecates SSL_CTX_load_verify_locations and the MD4, DES functions we use. Fix the MD4 and SSL_CTX_load_verify_locations warnings. In configure, detect OpenSSL v3 and if so, inhibit the deprecation warnings. OpenSSL v3 deprecates the DES functions we use for NTLM and until we rewrite the code to use non-deprecated functions we better ignore these warnings as they don't help us. Closes #5139
2020-03-25dist: add mail-rcpt-allowfails.d to the tarballDaniel Stenberg
Reported-by: Maksim Stsepanenka Reviewed-by: Jat Satiro Closes #5146
2020-03-25travis: update the ngtcp2 build to use the latest OpenSSL patchDaniel Stenberg
... which also makes it OpenSSL 1.1.1d based and not v3.
2020-03-24CI: remove default Ubuntu build from GitHub ActionsMarc Hoersken
We are already running a very similar Ubuntu build on Travis CI. The macOS variant of this default build is kept on Github Actions.
2020-03-24CI: bring GitHub Actions fuzzing job in line with macOS jobsMarc Hoersken
Update YAML formatting, job naming and triggers.
2020-03-24CI: migrate macOS jobs from Azure and Travis CI to GitHub ActionsMarc Hoersken
Reduce workload on Azure Pipelines and Travis CI while consolidating macOS jobs onto less utilized GitHub Actions. Reviewed-by: Daniel Stenberg Closes #5124
2020-03-24config: remove all defines of HAVE_DES_HDaniel Stenberg
As there's no code using it. Closes #5144
2020-03-24copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg
Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
2020-03-24packages: add OS400/chkstrings.c to the distDaniel Stenberg
Reported-by: Jon Rumsey Fixes #5142 Closes #5143