f8011ffa | 21-Apr-2024 |
Abdullah Alyan |
tests: enable test 1117 for hyper Closes #13436 |
999bdfc4 | 21-Apr-2024 |
Daniel Stenberg |
sendf: useless assignment in cr_lc_read() Spotted by CodeSonar Closes #13437 |
cf337d85 | 20-Apr-2024 |
Daniel Stenberg |
tool_paramhlp: remove duplicate assign Spotted by CodeSonar Closes #13433 |
8a5fe04c | 20-Apr-2024 |
Daniel Stenberg |
transfer: remove useless assignment in Curl_xfer_recv_resp Spotted by CodeSonar Closes #13435 |
727c946d | 20-Apr-2024 |
Daniel Stenberg |
http: acknowledge a returned error code ... and do not overwrite it with a new value that could then hide the problem. Spotted by CodeSonar Closes #13434 |
5fa594ab | 20-Apr-2024 |
Daniel Stenberg |
tool_operate: init vars unconditionally in post_per_transfer In case of (the unlikely) early return, they could otherwise remain uninitialized Spotted by CodeSonar Clos
tool_operate: init vars unconditionally in post_per_transfer In case of (the unlikely) early return, they could otherwise remain uninitialized Spotted by CodeSonar Closes #13430
show more ...
|
d1a8b351 | 19-Apr-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced |
fe17c162 | 19-Apr-2024 |
Daniel Stenberg |
urlapi: allow setting port number zero Also set and check errno when strtoul() parsing numbers for better error checking. Updated test 1560 Closes #13427 |
ac49152e | 19-Apr-2024 |
Daniel Stenberg |
http_aws_sigv4: remove useless assignment This code assigned the variable the same value it already had Spotted by CodeSonar Closes #13426 |
51a3b9f8 | 19-Apr-2024 |
Daniel Stenberg |
file: remove useless assignment This code assigned the variable the same value it already had. Spotted by CodeSonar Closes #13425 |
d54b0adb | 19-Apr-2024 |
Daniel Stenberg |
test2406: verify -f with HTTP/2 |
5c59f914 | 18-Apr-2024 |
Stefan Eissing |
http2 + ngtcp2: pass CURLcode errors from callbacks - errors returned by Curl_xfer_write_resp() and the header variant are not errors in the protocol. The result needs to be returned o
http2 + ngtcp2: pass CURLcode errors from callbacks - errors returned by Curl_xfer_write_resp() and the header variant are not errors in the protocol. The result needs to be returned on the next recv() from the protocol filter. - make xfer write errors for response data cause the stream to be cancelled - added pytest test_02_14 and test_02_15 to verify that also for parallel processing Reported-by: Laramie Leavitt Fixes #13411 Closes #13424
show more ...
|
926fb004 | 19-Apr-2024 |
Daniel Stenberg |
request: make Curl_req_init return void Since it could not return error and therefore this change removes dead code for the caller. Spotted by CodeSonar. Closes #13423 |
25236c6a | 19-Apr-2024 |
Daniel Stenberg |
multi: remove the unused Curl_preconnect function The implementation has been removed, no point in keeping it around. Follow-up to 476adfeac019ed Closes #13422 |
fe226af1 | 19-Apr-2024 |
Daniel Stenberg |
Curl_creader_read: init two variables to avoid using them uninited Spotted by CodeSonar Closes #13419 |
a032e97f | 19-Apr-2024 |
Daniel Stenberg |
http: reject HTTP major version switch mid connection A connection that has seen an HTTP major version now refuses any other major HTTP version in future responses. Previously, a HTTP/1.
http: reject HTTP major version switch mid connection A connection that has seen an HTTP major version now refuses any other major HTTP version in future responses. Previously, a HTTP/1.x connection would just silently accept HTTP/2 or HTTP/3 in the status lines as long as it had support for those built-in. It would then just lead to confusion and badness. Indirectly Spotted by CodeSonar which identified a duplicate assignment in this function. Add test 471 to verify Closes #13421
show more ...
|
123d3ef5 | 19-Apr-2024 |
Daniel Stenberg |
mqtt: when Curl_xfer_recv returns error, don't use nread A returned error code makes other return value unreliable, and in this case potentially uninitialized. On error, do not read othe
mqtt: when Curl_xfer_recv returns error, don't use nread A returned error code makes other return value unreliable, and in this case potentially uninitialized. On error, do not read other return values like the nread counter. Spotted by CodeSonar Closes #13418
show more ...
|
b2523fc4 | 19-Apr-2024 |
Daniel Stenberg |
ftp: fix socket leak on rare error In the function AcceptServerConnect() the newly created socket would leak if Curl_conn_tcp_accepted_set() returns error. Which basically should nev
ftp: fix socket leak on rare error In the function AcceptServerConnect() the newly created socket would leak if Curl_conn_tcp_accepted_set() returns error. Which basically should never happen. Spotted by CodeSonar. Closes #13417
show more ...
|
0a25b3e0 | 18-Apr-2024 |
Daniel Stenberg |
urlapi: remove unused flags argument from Curl_url_set_authority The function is only called from a single place (for HTTP/2 server push) so might as well just assume this fixed option e
urlapi: remove unused flags argument from Curl_url_set_authority The function is only called from a single place (for HTTP/2 server push) so might as well just assume this fixed option every time. Closes #13409
show more ...
|
89ce7200 | 18-Apr-2024 |
Daniel Stenberg |
github/ISSUE_TEMPLATE: tweak the commericual support text |
2011e493 | 18-Apr-2024 |
Daniel Stenberg |
github/ISSUE_TEMPLATE: link the GitHub discussions too ... and move the feature request line to the bottom. |
229c144f | 18-Apr-2024 |
Daniel Stenberg |
curl_url_get.md: clarify queries and fragments and CURLU_GET_EMPTY Follow-up to 3eac21d86bc5 Closes #13407 |
3e16c97f | 18-Apr-2024 |
Stefan Eissing |
tests: check caddy server version to match test expectations - new caddy servers no longer return 200 on POSTs, but 405 as they should Closes #13405 |
16343304 | 18-Apr-2024 |
Daniel Stenberg |
curl_url_set.md: extended Closes #13404 |
3eac21d8 | 17-Apr-2024 |
Daniel Stenberg |
urlapi: add CURLU_GET_EMPTY for empty queries and fragments By default the API inhibits empty queries and fragments extracted. Unless this new flag is set. This also makes the b
urlapi: add CURLU_GET_EMPTY for empty queries and fragments By default the API inhibits empty queries and fragments extracted. Unless this new flag is set. This also makes the behavior more consistent: without it set, zero length queries and fragments are considered not present in the URL. With the flag set, they are returned as a zero length strings if they were in fact present in the URL. This applies when extracting the individual query and fragment components and for the full URL. Closes #13396
show more ...
|