bb8cf051 | 08-May-2019 |
Steve Holme |
http_ntlm: Remove duplicate NSS initialisation Given that this is performed by the NTLM code there is no need to perform the initialisation in the HTTP layer. This also keeps the ini
http_ntlm: Remove duplicate NSS initialisation Given that this is performed by the NTLM code there is no need to perform the initialisation in the HTTP layer. This also keeps the initialisation the same as the SASL based protocols and also fixes a possible compilation issue if both NSS and SSPI were to be used as multiple SSL backends. Reviewed-by: Kamil Dudka Closes #3935
show more ...
|
ba82673d | 28-Nov-2019 |
Daniel Gustafsson |
checksrc: fix regexp for ASSIGNWITHINCONDITION The regexp looking for assignments within conditions was too greedy and matched a too long string in the case of multiple conditionals
checksrc: fix regexp for ASSIGNWITHINCONDITION The regexp looking for assignments within conditions was too greedy and matched a too long string in the case of multiple conditionals on the same line. This is basically only a problem in single line macros, and the code which exemplified this was essentially: do { if((x) != NULL) { x = NULL; } } while(0) ..where the final parenthesis of while(0) matched the regexp, and the legal assignment in the block triggered the warning. Fix by making the regexp less greedy by matching for the tell-tale signs of the if statement ending. Also remove the one occurrence where the warning was disabled due to a construction like the above, where the warning didn't apply when fixed. Closes #4647 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
show more ...
|
a956a8c5 | 28-Nov-2019 |
Daniel Stenberg |
RELEASE-NOTES: synced |
18e5cb77 | 30-Oct-2019 |
Maros Priputen |
curl: two new command line options for etags --etag-compare and --etag-save Suggested-by: Paul Hoffman Fixes #4277 Closes #4543 |
1ff63fa6 | 28-Nov-2019 |
Daniel Gustafsson |
docs: fix typos |
763decc5 | 28-Nov-2019 |
Daniel Stenberg |
mailmap: Niall O'Reilly's name |
8acfad38 | 21-Nov-2019 |
Niall |
doh: use dedicated probe slots ... to easier allow additional DNS transactions. Closes #4629 |
c393b66d | 27-Nov-2019 |
Daniel Stenberg |
travis: build ngtcp2 with --enable-lib-only ... makes it skip the examples and other stuff we don't neeed. Closes #4646 |
d94aa394 | 27-Nov-2019 |
David Benjamin |
ngtcp2: fix thread-safety bug in error-handling ERR_error_string(NULL) should never be called. It places the error in a global buffer, which is not thread-safe. Use ERR_error_string_n wi
ngtcp2: fix thread-safety bug in error-handling ERR_error_string(NULL) should never be called. It places the error in a global buffer, which is not thread-safe. Use ERR_error_string_n with a local buffer instead. Closes #4645
show more ...
|
113db127 | 26-Nov-2019 |
Daniel Stenberg |
travis: export the CC/CXX variables when set Suggested-by: Peter Wu Fixes #4637 Closes #4640 |
793e3776 | 26-Nov-2019 |
Marcel Raad |
dist: add error-codes.pl Follow-up to commit 74f441c6d31. This should fix test 1175 when run via the daily source tarballs. Closes https://github.com/curl/curl/pull/4638 |
9a2cbf30 | 26-Nov-2019 |
John Schroeder |
curl: fix --upload-file . hangs if delay in STDIN Attempt to unpause a busy read in the CURLOPT_XFERINFOFUNCTION. When uploading from stdin in non-blocking mode, a delay in reading
curl: fix --upload-file . hangs if delay in STDIN Attempt to unpause a busy read in the CURLOPT_XFERINFOFUNCTION. When uploading from stdin in non-blocking mode, a delay in reading the stream (EAGAIN) causes curl to pause sending data (CURL_READFUNC_PAUSE). Prior to this change, a busy read was detected and unpaused only in the CURLOPT_WRITEFUNCTION handler. This change performs the same busy read handling in a CURLOPT_XFERINFOFUNCTION handler. Fixes #2051 Closes #4599 Reported-by: bdry on github
show more ...
|
7cf18b05 | 26-Nov-2019 |
John Schroeder |
XFERINFOFUNCTION: support CURL_PROGRESSFUNC_CONTINUE (also for PROGRESSFUNCTION) By returning this value from the callback, the internal progress function call is still called a
XFERINFOFUNCTION: support CURL_PROGRESSFUNC_CONTINUE (also for PROGRESSFUNCTION) By returning this value from the callback, the internal progress function call is still called afterward. Closes #4599
show more ...
|
9b879160 | 08-Nov-2019 |
Michael Forney |
TLS: add BearSSL vtls implementation Closes #4597 |
95e94c64 | 25-Nov-2019 |
Daniel Stenberg |
curl_multi_wakeup.3: add example and AVAILABILITY Reviewed-by: Gergely Nagy Closes #4635 |
f3c35e37 | 17-Nov-2019 |
Gergely Nagy |
multi: add curl_multi_wakeup() This commit adds curl_multi_wakeup() which was previously in the TODO list under the curl_multi_unblock name. On some platforms and with some conf
multi: add curl_multi_wakeup() This commit adds curl_multi_wakeup() which was previously in the TODO list under the curl_multi_unblock name. On some platforms and with some configurations this feature might not be available or can fail, in these cases a new error code (CURLM_WAKEUP_FAILURE) is returned from curl_multi_wakeup(). Fixes #4418 Closes #4608
show more ...
|
0a65febc | 23-Nov-2019 |
Xiaoyin Liu |
schannel: fix --tls-max for when min is --tlsv1 or default Prior to this change schannel ignored --tls-max (CURL_SSLVERSION_MAX_ macros) when --tlsv1 (CURL_SSLVERSION_TLSv1) or default T
schannel: fix --tls-max for when min is --tlsv1 or default Prior to this change schannel ignored --tls-max (CURL_SSLVERSION_MAX_ macros) when --tlsv1 (CURL_SSLVERSION_TLSv1) or default TLS (CURL_SSLVERSION_DEFAULT), using a max of TLS 1.2 always. Closes https://github.com/curl/curl/pull/4633
show more ...
|
8d2dac7d | 24-Nov-2019 |
Jay Satiro |
checksrc.bat: Add a check for vquic and vssh directories Ref: https://github.com/curl/curl/pull/4607 |
ee5c68a9 | 17-Nov-2019 |
Jay Satiro |
projects: Fix Visual Studio projects SSH builds - Generate VQUIC and VSSH filenames in Visual Studio project files. Prior to this change generated Visual Studio project configuratio
projects: Fix Visual Studio projects SSH builds - Generate VQUIC and VSSH filenames in Visual Studio project files. Prior to this change generated Visual Studio project configurations that enabled SSH did not build properly. Broken since SSH files were moved to lib/vssh 3 months ago in 5b2d703. Fixes https://github.com/curl/curl/issues/4492 Fixes https://github.com/curl/curl/issues/4630 Closes https://github.com/curl/curl/pull/4607
show more ...
|
036ebac0 | 23-Nov-2019 |
Daniel Stenberg |
RELEASE-NOTES: synced |
78cef068 | 20-Nov-2019 |
Jay Satiro |
openssl: Revert to less sensitivity for SYSCALL errors - Disable the extra sensitivity except in debug builds (--enable-debug). - Improve SYSCALL error message logic in ossl_send an
openssl: Revert to less sensitivity for SYSCALL errors - Disable the extra sensitivity except in debug builds (--enable-debug). - Improve SYSCALL error message logic in ossl_send and ossl_recv so that "No error" / "Success" socket error text isn't shown on SYSCALL error. Prior to this change 0ab38f5 (precedes 7.67.0) increased the sensitivity of OpenSSL's SSL_ERROR_SYSCALL error so that abrupt server closures were also considered errors. For example, a server that does not send a known protocol termination point (eg HTTP content length or chunked encoding) _and_ does not send a TLS termination point (close_notify alert) would cause an error if it closed the connection. To be clear that behavior made it into release build 7.67.0 unintentionally. Several users have reported it as an issue. Ultimately the idea is a good one, since it can help prevent against a truncation attack. Other SSL backends may already behave similarly (such as Windows native OS SSL Schannel). However much more of our user base is using OpenSSL and there is a mass of legacy users in that space, so I think that behavior should be partially reverted and then rolled out slowly. This commit changes the behavior so that the increased sensitivity is disabled in all curl builds except curl debug builds (DEBUGBUILD). If after a period of time there are no major issues then it can be enabled in dev and release builds with the newest OpenSSL (1.1.1+), since users using the newest OpenSSL are the least likely to have legacy problems. Bug: https://github.com/curl/curl/issues/4409#issuecomment-555955794 Reported-by: Bjoern Franke Fixes https://github.com/curl/curl/issues/4624 Closes https://github.com/curl/curl/pull/4623
show more ...
|
1f4e7dc6 | 14-Nov-2019 |
Daniel Stenberg |
openssl: improve error message for SYSCALL during connect Reported-by: Paulo Roberto Tomasi Bug: https://curl.haxx.se/mail/archive-2019-11/0005.html Closes https://github.com/cu
openssl: improve error message for SYSCALL during connect Reported-by: Paulo Roberto Tomasi Bug: https://curl.haxx.se/mail/archive-2019-11/0005.html Closes https://github.com/curl/curl/pull/4593
show more ...
|
74f441c6 | 21-Nov-2019 |
Daniel Stenberg |
test1175: verify symbols-in-versions and libcurl-errors.3 in sync Closes #4628 |
f70da9c1 | 21-Nov-2019 |
Daniel Stenberg |
include: make CURLE_HTTP3 use a new error code To avoid potential issues with error code reuse. Reported-by: Christoph M. Becker Assisted-by: Dan Fandrich Fixes #4601 Cl
include: make CURLE_HTTP3 use a new error code To avoid potential issues with error code reuse. Reported-by: Christoph M. Becker Assisted-by: Dan Fandrich Fixes #4601 Closes #4627
show more ...
|
e1f66ee3 | 21-Nov-2019 |
Daniel Stenberg |
bump: next release will be 7.68.0 |