http-parser-js
Advanced tools
Comparing version 0.5.7 to 0.5.8
@@ -13,2 +13,3 @@ /*jshint node:true */ | ||
} | ||
this.maxHeaderSize=HTTPParser.maxHeaderSize | ||
} | ||
@@ -140,3 +141,3 @@ HTTPParser.prototype.initialize = function (type, async_resource) { | ||
this.headerSize += length; | ||
if (this.headerSize > HTTPParser.maxHeaderSize) { | ||
if (this.headerSize > (this.maxHeaderSize||HTTPParser.maxHeaderSize)) { | ||
return new Error('max header size exceeded'); | ||
@@ -143,0 +144,0 @@ } |
{ | ||
"name": "http-parser-js", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"description": "A pure JS HTTP parser for node.", | ||
@@ -5,0 +5,0 @@ "main": "http-parser.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25812
584