Skip to content

Commit

Permalink
Merge pull request #43 from creationix/fix_async_id
Browse files Browse the repository at this point in the history
getAsyncId() return 0 instead of false
  • Loading branch information
Jimbly committed Sep 21, 2017
2 parents 494a6bc + 50f37b6 commit 4c27a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ HTTPParser.prototype.close =
HTTPParser.prototype.pause =
HTTPParser.prototype.resume = function () {};
HTTPParser.prototype._compatMode0_11 = false;
HTTPParser.prototype.getAsyncId = function() { return false; };
HTTPParser.prototype.getAsyncId = function() { return 0; };

var headerState = {
REQUEST_LINE: true,
Expand Down

0 comments on commit 4c27a07

Please sign in to comment.