(len)
| 54300 | this.keepAlive += buf.toString(); |
| 54301 | } else if (key.length === 10 && key.toString().toLowerCase() === "connection") { |
| 54302 | this.connection += buf.toString(); |
| 54303 | } else if (key.length === 14 && key.toString().toLowerCase() === "content-length") { |
| 54304 | this.contentLength += buf.toString(); |
| 54305 | } |
| 54306 | this.trackHeader(buf.length); |
| 54307 | } |
| 54308 | trackHeader(len) { |
| 54309 | this.headersSize += len; |
| 54310 | if (this.headersSize >= this.headersMaxSize) { |
no test coverage detected