MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / trackHeader

Method trackHeader

out/cli.cjs:54302–54307  ·  view source on GitHub ↗
(len)

Source from the content-addressed store, hash-verified

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) {

Callers 2

onHeaderFieldMethod · 0.80
onHeaderValueMethod · 0.80

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected