You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
uint64_t content_length; /* # bytes in body (0 if no Content-Length header) */
This is not true in the latest version. I checked the content_length after the response has finished, and if there is no Content-Length header, this remains as ULLONGMAX. Could you confirm this is expected and update the documentation?
The text was updated successfully, but these errors were encountered:
bnoordhuis
added a commit
to bnoordhuis/http-parser
that referenced
this issue
May 8, 2020
Hello,
In https://github.com/nodejs/http-parser/blob/master/http_parser.h#L309 the content_length states the following:
This is not true in the latest version. I checked the content_length after the response has finished, and if there is no Content-Length header, this remains as ULLONGMAX. Could you confirm this is expected and update the documentation?
The text was updated successfully, but these errors were encountered: