Skip to content

http_parser: use `MakeCallback`

Make HTTPParser an instance of AsyncWrap and make it use MakeCallback. This means that async wrap hooks will be called on consumed TCP sockets as well as on non-consumed ones.

Fix: https://github.com/nodejs/node/issues/4416

This PR overrides https://github.com/nodejs/node/pull/4509.

R= @indutny R= @bnoordhuis

Merge request reports

Loading