on_status_complete doesn't respect return HPE_PAUSED
MunifTanjim opened this issue · 0 comments
MunifTanjim commented
The api.h
says on_status_complete
can return HPE_PAUSED
to pause the parser:
Lines 44 to 47 in fdc5e1c
But the return values from on_status_complete
is not respected.
The test is broken too:
llhttp/test/response/pausing.md
Lines 52 to 73 in fdc5e1c
It's passing because of wrong assertion. There's not pause
line in the log.