Peter Griess

Results 5 comments of Peter Griess

I've been holding off on functionality like this because it falls into the bucket of parsing ASCII streams, which has a whole slew of other problems and far better developer...

Yeah, this is tricky to fix because a single byte can trigger multiple callbacks, and if a callback other than the last results in the parser being paused, we need...

_I don't really care if more callbacks are invoked after I pause the parser (e.g. on_message_complete() for an empty message), so long as it pauses "soon"._ I think having a...

_Is node (or any other library) relying on http-parser not executing on_message_complete after pausing from inside on_headers_complete?_ Not that I know of. AFAIK there are very few users of `http_parser_pause()`....

Yeah, @AndreLouisCaron is right that the particular devil here is the extra byte that you need to stash: where to stash it, and how to kick off parsing with it....