nodejs / http-parser

http request/response parser for c
MIT License
6.32k stars 1.53k forks source link

Update http_parser.content_length doc comment. #513

Closed bnoordhuis closed 4 years ago

bnoordhuis commented 4 years ago

It's -1 when no Content-Length field is present, not 0.

Fixes: https://github.com/nodejs/http-parser/issues/512