llhttp icon indicating copy to clipboard operation
llhttp copied to clipboard

Valid return values for on_body?

Open ronag opened this issue 3 years ago • 1 comments

Documented for other methods but not on_body.

https://github.com/nodejs/llhttp/blob/master/src/native/api.h#L40

ronag avatar Apr 06 '21 10:04 ronag

Would appreciate a PR for that! All llhttp_data_cb should return 0 on success and non-zero value will interrupt the parser and make llparse_execute set error to that value.

indutny avatar Apr 06 '21 15:04 indutny