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

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

@curl curl 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.