History log of /curl/ (Results 1 – 25 of 32101)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d1a8b35119-Apr-2024 Daniel Stenberg

RELEASE-NOTES: synced

fe17c16219-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

ac49152e19-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

51a3b9f819-Apr-2024 Daniel Stenberg

file: remove useless assignment

This code assigned the variable the same value it already had.

Spotted by CodeSonar

Closes #13425

d54b0adb19-Apr-2024 Daniel Stenberg

test2406: verify -f with HTTP/2

5c59f91418-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 ...

926fb00419-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

25236c6a19-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

fe226af119-Apr-2024 Daniel Stenberg

Curl_creader_read: init two variables to avoid using them uninited

Spotted by CodeSonar

Closes #13419

a032e97f19-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 ...

123d3ef519-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 ...

b2523fc419-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 ...

0a25b3e018-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 ...

89ce720018-Apr-2024 Daniel Stenberg

github/ISSUE_TEMPLATE: tweak the commericual support text

2011e49318-Apr-2024 Daniel Stenberg

github/ISSUE_TEMPLATE: link the GitHub discussions too

... and move the feature request line to the bottom.

229c144f18-Apr-2024 Daniel Stenberg

curl_url_get.md: clarify queries and fragments and CURLU_GET_EMPTY

Follow-up to 3eac21d86bc5

Closes #13407

3e16c97f18-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

1634330418-Apr-2024 Daniel Stenberg

curl_url_set.md: extended

Closes #13404

3eac21d817-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 ...

5379dbc217-Apr-2024 Daniel Stenberg

RELEASE-NOTES: synced

4dc414c317-Apr-2024 Daniel Stenberg

lib1560: test with leading zeroes and more IPv4 versions

Inspired by WHATWG URL Spec test inputs

Closes #13400

4746b83617-Apr-2024 Christian Schmitz

smtp: result of Curl_bufq_cread was not used

return the result back to the caller.

Closes #13398

c37b694e17-Apr-2024 Daniel Stenberg

urlapi: fix relative redirects to fragment-only

Using the URL API for a redirect URL when the redirected-to string
starts with a hash, ie is only a fragment, the API would produce the

urlapi: fix relative redirects to fragment-only

Using the URL API for a redirect URL when the redirected-to string
starts with a hash, ie is only a fragment, the API would produce the
wrong final URL.

Adjusted test 1560 to test for several new redirect cases.

Closes #13394

show more ...

5fb0184917-Apr-2024 Jiwoo Park

url: fix use of an uninitialized variable

Closes #13399

411d128817-Apr-2024 Patrick Monnerat

os400: sync with latest changes

- Conversion support for new version info character field rtmp_version.
- New ILE/RPG declarations.

Closes #13402

12345678910>>...1285