New issue

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

HTTP headers are delivered in pieces #2314

Closed
bagder opened this Issue Feb 15, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@bagder
Member

bagder commented Feb 15, 2018

I did this

Get a HTTP response with one or more headers longer than 16K. Get the headers sent to the header callback in 16K pieces.

I expected the following

To get the full headers delivered to the CURLOPT_HEADERFUNCTION as per the documentation.

curl/libcurl version

current git master

operating system

any

Reported-by: Guido Berhoerster
Bug: https://curl.haxx.se/mail/lib-2018-02/0056.html

@bagder bagder added the HTTP label Feb 15, 2018

@jay

This comment has been minimized.

Show comment
Hide comment
@jay

jay Feb 15, 2018

Member

See #801 which went stale when I moved on to other things. There might be something salvageable in there

Member

jay commented Feb 15, 2018

See #801 which went stale when I moved on to other things. There might be something salvageable in there

bagder added a commit that referenced this issue Feb 16, 2018

header callback: don't chop headers into smaller pieces
Reported-by: Guido Berhoerster
Fixes #2314

@bagder bagder closed this in 367689d Feb 16, 2018

fsedano added a commit to fsedano/curl that referenced this issue Feb 20, 2018

@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.