- May 10, 2019
-
-
Jay Satiro authored
This reverts commit b0972bc8. - No longer show verbose output for the conncache closure handle. The offending commit was added so that the conncache closure handle would inherit verbose mode from the user's easy handle. (Note there is no way for the user to set options for the closure handle which is why that was necessary.) Other debug settings such as the debug function were not also inherited since we determined that could lead to crashes if the user's per-handle private data was used on an unexpected handle. The reporter here says he has a debug function to capture the verbose output, and does not expect or want any output to stderr; however because the conncache closure handle does not inherit the debug function the verbose output for that handle does go to stderr. There are other plausible scenarios as well such as the user redirects stderr on their handle, which is also not inherited since it could lead to crashes when used on an unexpected handle. Short of allowing the user to set options for the conncache closure handle I don't think there's much we can safely do except no longer inherit the verbose setting. Bug: https://curl.haxx.se/mail/lib-2019-05/0021.html Reported-by: Kristoffer Gleditsch Ref: https://github.com/curl/curl/pull/3598 Ref: https://github.com/curl/curl/pull/3618 Closes https://github.com/curl/curl/pull/3856
-
- May 09, 2019
-
-
Steve Holme authored
From 6012fa5a. Closes #3858
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Closes #3839
-
Kamil Dudka authored
Fixes #3726 Closes #3849
-
Kamil Dudka authored
Fixes #3726 Closes #3849
-
Steve Holme authored
There is need to use @ on every command once echo has been turned off. Closes #3854
-
Jay Satiro authored
- Do not switch to HTTP/2 for an HTTP proxy that is not tunnelling to the destination host. We already do something similar for HTTPS proxies by not sending h2. [1] Prior to this change setting CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE would incorrectly use HTTP/2 to talk to the proxy, which is not something we support (yet?). Also it's debatable whether or not that setting should apply to HTTP/2 proxies. [1]: https://github.com/curl/curl/commit/17c5d05 Bug: https://github.com/curl/curl/issues/3570 Bug: https://github.com/curl/curl/issues/3832 Closes https://github.com/curl/curl/pull/3853
-
- May 08, 2019
-
-
Marcel Raad authored
Closes https://github.com/curl/curl/pull/3842
-
Ricky Leverence authored
Older versions of OpenSSL report FIPS availabilty via an OPENSSL_FIPS define. It uses this define to determine whether to publish -fips at the end of the version displayed. Applications that utilize the version reported by OpenSSL will see a mismatch if they compare it to what curl reports, as curl is not modifying the version in the same way. This change simply adds a check to see if OPENSSL_FIPS is defined, and will alter the reported version to match what OpenSSL itself provides. This only appears to be applicable in versions of OpenSSL <1.1.1 Closes #3771
-
- May 07, 2019
-
-
Frank Gevaerts authored
Currently you can do things like --cert <(cat ./cert.crt) with (at least) the openssl backend, but that doesn't work for nss because is_file rejects fifos. I don't actually know if this is sufficient, nss might do things internally (like seeking back) that make this not work, so actual testing is needed. Closes #3807
-
- May 06, 2019
-
-
Daniel Gustafsson authored
-
Daniel Stenberg authored
Closes #3846
-
- May 05, 2019
-
-
Steve Holme authored
-
Steve Holme authored
Closes #3838
-
Daniel Stenberg authored
The zoneid can be used with IPv6 numerical addresses. Updated test 1560 to verify. Closes #3834
-
Taiyu Len authored
Closes #3837
-
- May 04, 2019
-
-
Daniel Stenberg authored
-
- May 03, 2019
-
-
Daniel Stenberg authored
Reported-by: Ricardo Gomes Bug: #3537 Closes #3836
-
Daniel Stenberg authored
The time field in the curl_fileinfo struct will always be zero. No code was ever implemented to actually convert the date string to a time_t. Fixes #3829 Closes #3835
-
Daniel Stenberg authored
-
Daniel Stenberg authored
(and make the code style comply) Fixes #3833
-
Daniel Stenberg authored
... to make the host name "usable". Store the scope id and put it back when extracting a URL out of it. Also makes curl_url_set() syntax check CURLUPART_HOST. Fixes #3817 Closes #3822
-
- May 02, 2019
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... for functions related to pipelining. Those functions were removed in 2f44e94e. Closes #3828
-
- May 01, 2019
-
-
Yiming Jing authored
... due to SHA-1 signatures in test certs
-
Yiming Jing authored
Closes #3823 Closes #3776
-
Daniel Stenberg authored
- better log output - make sure multiplex is enabled for it to be used
-
Daniel Stenberg authored
As soon as a TLS backend gets ALPN conformation about the specific HTTP version it can now set the multiplex situation for the "bundle" and trigger moving potentially queued up transfers to the CONNECT state.
-
Daniel Stenberg authored
With transfers being queued up, we only move one at a a time back to the CONNECT state but now we mark moved transfers so that when a moved transfer is confirmed "successful" (it connected) it will trigger the move of another pending transfer. Previously, it would otherwise wait until the transfer was done before doing this. This makes queued up pending transfers get processed (much) faster.
-
Daniel Stenberg authored
Fixes #3813 Closes #3815
-
Daniel Gustafsson authored
In case the name pointer isn't set (due to memory pressure most likely) we need to skip the prefix matching and reject with a badcookie to avoid a possible NULL pointer dereference. Closes #3820 #3821 Reported-by: Jonathan Moerman Reviewed-by: Daniel Stenberg <daniel@haxx.se>
-
- Apr 30, 2019
-
-
Patrick Monnerat authored
-
- Apr 29, 2019
-
-
Kamil Dudka authored
Closes #3808
-
Reed Loden authored
Closes #3811
-
Daniel Stenberg authored
This limits all accepted input strings passed to libcurl to be less than CURL_MAX_INPUT_LENGTH (8000000) bytes, for these API calls: curl_easy_setopt() and curl_url_set(). The 8000000 number is arbitrary picked and is meant to detect mistakes or abuse, not to limit actual practical use cases. By limiting the acceptable string lengths we also reduce the risk of integer overflows all over. NOTE: This does not apply to `CURLOPT_POSTFIELDS`. Test 1559 verifies. Closes #3805
-
- Apr 28, 2019
-
-
Tseng Jun authored
Closes #3809
-
- Apr 27, 2019
-
-
Simon Warta authored
Closes https://github.com/curl/curl/pull/3769
-
- Apr 23, 2019
-
-
Steve Holme authored
-