MCPcopy Index your code
hub / github.com/nodejs/node / connectionHeaderMessageWarn

Function connectionHeaderMessageWarn

lib/internal/http2/compat.js:127–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127function connectionHeaderMessageWarn() {
128 if (statusConnectionHeaderWarned === false) {
129 process.emitWarning(
130 'The provided connection header is not valid, ' +
131 'the value will be dropped from the header and ' +
132 'will never be in use.',
133 'UnsupportedWarning',
134 );
135 statusConnectionHeaderWarned = true;
136 }
137}
138
139function onStreamData(chunk) {
140 const request = this[kRequest];

Callers 1

compat.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…