I use the CoreHTTP (v2.1.0) and I try to send GET request to Google.
Google uses “Transfer-Encoding: chunked” header flag. I saw the F_CHUNKED flag for the response parser, but I don’t see where it is set. I suppose the it should be set automatically when the “Transfer-Encoding: chunked” is detected, but it is never set. If I force it normal GET request don’t longer work. On the other hand the flag F_CONTENT_LENGTH is set, and I don’t see where either.
Seems like only the first chunk is saved to my response buffer.
How can I make “Transfer-Encoding: chunked” response work?
Even though the underlying llhttp parser supports chunked response, I do not think we have tried it ever. This recent PR from one of the users seems to suggest that they are able to make it work. Do share your code if you make it work!