Doesn't work with the latest Node version
Closed this issue · 2 comments
etumyan commented
_http_common.js:220
emitDestroy(parser.getAsyncId());
TypeError: parser.getAsyncId is not a function
$ node -v
v8.1.0
Could be dirty fixed on redefinition:
var HTTPParser = require('http-parser-js').HTTPParser;
HTTPParser.prototype.getAsyncId = function() { return false; };
process.binding('http_parser').HTTPParser = HTTPParser;
creationix commented
Published new version with fix, thanks!