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

Function onUpgradeStreamTimeout

deps/undici/undici.js:8881–8884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8879 }
8880 __name(onUpgradeStreamEnd, "onUpgradeStreamEnd");
8881 function onUpgradeStreamTimeout() {
8882 const state = this[kRequestStreamState];
8883 failUpgradeStream(state, new InformationalError(`HTTP/2: "stream timeout after ${state.headersTimeout}"`));
8884 }
8885 __name(onUpgradeStreamTimeout, "onUpgradeStreamTimeout");
8886 function onUpgradeResponse(headers, _flags) {
8887 const stream = this;

Callers

nothing calls this directly

Calls 1

failUpgradeStreamFunction · 0.70

Tested by

no test coverage detected