e08382a2 | 18-Nov-2022 |
Jay Satiro |
CURLOPT_POST.3: Explain setting to 0 changes request type Bug: https://github.com/curl/curl/issues/9849 Reported-by: MonkeybreadSoftware@users.noreply.github.com Closes https:/
CURLOPT_POST.3: Explain setting to 0 changes request type Bug: https://github.com/curl/curl/issues/9849 Reported-by: MonkeybreadSoftware@users.noreply.github.com Closes https://github.com/curl/curl/pull/9942
show more ...
|
8a6a4895 | 18-Nov-2022 |
Daniel Stenberg |
docs/INSTALL.md: expand on static builds Remove from KNOWN_BUGS Closes #9944 |
ff8fc809 | 18-Nov-2022 |
Stefan Eissing |
http: restore h3 to working condition after connection filter introduction Follow-up to dafdb20a26d0c HTTP/3 needs a special filter chain, since it does the TLS handling itself.
http: restore h3 to working condition after connection filter introduction Follow-up to dafdb20a26d0c HTTP/3 needs a special filter chain, since it does the TLS handling itself. This PR adds special setup handling in the HTTP protocol handler that takes are of it. When a handler, in its setup method, installs filters, the default behaviour for managing the filter chain is overridden. Reported-by: Karthikdasari0423 on github Fixes #9931 Closes #9945
show more ...
|
c7cd781a | 18-Nov-2022 |
Daniel Stenberg |
urldata: change port num storage to int and unsigned short Instead of long. Closes #9946 |
18383fbf | 18-Nov-2022 |
Daniel Stenberg |
Revert "sendf: change Curl_read_plain to wrap Curl_recv_plain" This reverts commit 12e1def51a75392df62e65490416007d7e68dab9. It introduced SOCKS proxy fails, like test 700 never end
Revert "sendf: change Curl_read_plain to wrap Curl_recv_plain" This reverts commit 12e1def51a75392df62e65490416007d7e68dab9. It introduced SOCKS proxy fails, like test 700 never ending. Reopens #9431
show more ...
|
95a8ac6b | 18-Nov-2022 |
Daniel Stenberg |
HTTP-COOKIES.md: update the 6265bis link to draft-11 Closes #9940 |
117e3372 | 18-Nov-2022 |
Daniel Stenberg |
docs/WEBSOCKET.md: explain the URL use Fixes #9936 Closes #9941 |
12e1def5 | 14-Nov-2022 |
Jay Satiro |
sendf: change Curl_read_plain to wrap Curl_recv_plain Prior to this change Curl_read_plain would attempt to read the socket directly. On Windows that's a problem because recv data may be
sendf: change Curl_read_plain to wrap Curl_recv_plain Prior to this change Curl_read_plain would attempt to read the socket directly. On Windows that's a problem because recv data may be cached by libcurl and that data is only drained using Curl_recv_plain. Rather than rewrite Curl_read_plain to handle cached recv data, I changed it to wrap Curl_recv_plain, in much the same way that Curl_write_plain already wraps Curl_send_plain. Curl_read_plain -> Curl_recv_plain Curl_write_plain -> Curl_send_plain This fixes a bug in the schannel backend where decryption of arbitrary TLS records fails because cached recv data is never drained. We send data (TLS records formed by Schannel) using Curl_write_plain, which calls Curl_send_plain, and that may do a recv-before-send ("pre-receive") to cache received data. The code calls Curl_read_plain to read data (TLS records from the server), which prior to this change did not call Curl_recv_plain and therefore cached recv data wasn't retrieved, resulting in malformed TLS records and decryption failure (SEC_E_DECRYPT_FAILURE). The bug has only been observed during Schannel TLS 1.3 handshakes. Refer to the issue and PR for more information. Ref: https://github.com/curl/curl/issues/9431#issuecomment-1312420361 Assisted-by: Joel Depooter Reported-by: Egor Pugin Fixes https://github.com/curl/curl/issues/9431 Closes https://github.com/curl/curl/pull/9904
show more ...
|
856b133f | 14-Nov-2022 |
Jay Satiro |
test3026: reduce runtime in legacy mingw builds - Load Windows system libraries secur32 and iphlpapi beforehand, so that libcurl's repeated global init/cleanup only increases/decreases
test3026: reduce runtime in legacy mingw builds - Load Windows system libraries secur32 and iphlpapi beforehand, so that libcurl's repeated global init/cleanup only increases/decreases the library's refcount rather than causing it to load/unload. Assisted-by: Marc Hoersken Closes https://github.com/curl/curl/pull/9412
show more ...
|
37ca6f0f | 17-Nov-2022 |
Daniel Stenberg |
url: move back the IDN conversion of proxy names Regression: in commit 53bcf55 we moved the IDN conversion calls to happen before the HSTS checks. But the HSTS checks are only done on th
url: move back the IDN conversion of proxy names Regression: in commit 53bcf55 we moved the IDN conversion calls to happen before the HSTS checks. But the HSTS checks are only done on the server host name, not the proxy names. By moving the proxy name IDN conversions, we accidentally broke the verbose output showing the proxy name. This change moves back the IDN conversions for the proxy names to the place in the code path they were before 53bcf55. Reported-by: Andy Stamp Fixes #9937 Closes #9939
show more ...
|
49798cac | 12-Jul-2022 |
Alexandre Ferrieux |
CURLOPT_QUICK_EXIT: don't wait for DNS thread on exit Fixes #2975 Closes #9147 |
b473df52 | 17-Nov-2022 |
Daniel Stenberg |
HTTP-COOKIES.md: mention that http://localhost is a secure context Reported-by: Trail of Bits Closes #9938 |
e9c580de | 17-Nov-2022 |
Daniel Stenberg |
lib: parse numbers with fixed known base 10 ... instead of using 0 argument that allows decimal, hex or octal when the number is documented and assumed to use base 10. Closes #9
lib: parse numbers with fixed known base 10 ... instead of using 0 argument that allows decimal, hex or octal when the number is documented and assumed to use base 10. Closes #9933
show more ...
|
0fef73ea | 17-Nov-2022 |
Daniel Stenberg |
RELEASE-NOTES: synced |
709aefc7 | 17-Nov-2022 |
Daniel Stenberg |
scripts/delta: adapt to curl.h changes for the opt counter |
cc3d517e | 17-Nov-2022 |
Daniel Stenberg |
cookie: expire cookies at once when max-age is negative Update test 329 to verify Reported-by: godmar on github Fixes #9930 Closes #9932 |
7a19dd8a | 17-Nov-2022 |
Stefan Eissing |
proxy: haproxy filter is only available when PROXY and HTTP are Closes #9935 |
14d55890 | 16-Nov-2022 |
Daniel Stenberg |
OtherTests.cmake: check for cross-compile, not for toolchain Build systems like vcpkg alway sets `CMAKE_TOOLCHAIN_FILE` so it should not be used as a sign that this is a cross-compile.
OtherTests.cmake: check for cross-compile, not for toolchain Build systems like vcpkg alway sets `CMAKE_TOOLCHAIN_FILE` so it should not be used as a sign that this is a cross-compile. Also indented the function correctly. Reported-by: Philip Chan Fixes #9921 Closes #9923
show more ...
|
df00df1e | 16-Nov-2022 |
Daniel Stenberg |
ntlm: improve comment for encrypt_des Reported-by: Andrei Rybak Fixes #9903 Closes #9925 |
bbb36409 | 15-Nov-2022 |
Daniel Stenberg |
include/curl/curl.h: bump the deprecated requirements to gcc 5.3 Reported-by: Stephan Guilloux Fixes #9917 Closes #9918 |
a8e6351e | 14-Nov-2022 |
Stefan Eissing |
proxy: refactor haproxy protocol handling as connection filter Closes #9893 |
6967571b | 14-Nov-2022 |
Patrick Monnerat |
lib: feature deprecation warnings in gcc >= 4.3 Add a deprecated attribute to functions and enum values that should not be used anymore. This uses a gcc 4.3 dialect, thus is only ava
lib: feature deprecation warnings in gcc >= 4.3 Add a deprecated attribute to functions and enum values that should not be used anymore. This uses a gcc 4.3 dialect, thus is only available for this version of gcc and newer. Note that the _Pragma() keyword is introduced by C99, but is available as part of the gcc dialect even when compiling in C89 mode. It is still possible to disable deprecation at a calling module compile time by defining CURL_DISABLE_DEPRECATION. Gcc type checking macros are made aware of possible deprecations. Some testing support Perl programs are adapted to the extended declaration syntax. Several test and unit test C programs intentionally use deprecated functions/options and are annotated to not generate a warning. New test 1222 checks the deprecation status in doc and header files. Closes #9667
show more ...
|
98051092 | 11-Nov-2022 |
Daniel Stenberg |
log2changes.pl: wrap long lines at 80 columns Also, only use author names in the output. Fixes #9896 Reported-by: John Sherrill Closes #9897 |
f4912407 | 14-Nov-2022 |
Daniel Stenberg |
cfilters: use %zu for outputting size_t Detected by Coverity CID 1516894 Closes #9907 |
e1e090b8 | 14-Nov-2022 |
Daniel Stenberg |
Curl_closesocket: avoid using 'conn' if NULL ... in debug-only code. Reported by Coverity CID 1516896 Closes #9907 |