We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl 8.6.0 shows the verbose message "Leftovers after chunking: X bytes" when it receives a response with "Transfer-Encoding: chunked".
Example:
$ curl -s -v --http1.1 https://echo.free.beeceptor.com > /dev/null [...] < HTTP/1.1 200 OK < Alt-Svc: h3=":443"; ma=2592000 < Content-Type: application/json < Date: Wed, 14 Feb 2024 14:40:48 GMT < Vary: Accept-Encoding < Transfer-Encoding: chunked < { [5 bytes data] * Leftovers after chunking: 5 bytes * Connection #0 to host echo.free.beeceptor.com left intact
"git bisect" found commit d7b6ce6
No message "Leftovers after chunking".
curl 8.2.1 does not have the bug:
curl -s -v --http1.1 https://echo.free.beeceptor.com > /dev/null [...] < HTTP/1.1 200 OK < Alt-Svc: h3=":443"; ma=2592000 < Content-Type: application/json < Date: Wed, 14 Feb 2024 14:47:05 GMT < Vary: Accept-Encoding < Transfer-Encoding: chunked < { [5 bytes data] * Connection #0 to host echo.free.beeceptor.com left intact
curl 8.6.0
Fedora Linux 39
The text was updated successfully, but these errors were encountered:
I do not see that, given your example, on my machine, but it may be some timing dependant thing. Will investigate further.
Update: found it. Please see #12939 for the fix.
Sorry, something went wrong.
chunked decoding, fix accounting
5ac5065
- refs curl#12937 - chunks were handled correctly, but accounting was borked so that "left" bytes were reported on the last chunk written.
@icing Great, thanks! I have tested #12939, the message does not appear anymore :-)
59e2c78
Thanks
No branches or pull requests
I did this
curl 8.6.0 shows the verbose message "Leftovers after chunking: X bytes" when it receives a response with "Transfer-Encoding: chunked".
Example:
"git bisect" found commit d7b6ce6
I expected the following
No message "Leftovers after chunking".
curl 8.2.1 does not have the bug:
curl/libcurl version
curl 8.6.0
operating system
Fedora Linux 39
The text was updated successfully, but these errors were encountered: