MCPcopy Create free account
hub / github.com/angular/dev-infra / onParserTimeout

Function onParserTimeout

github-actions/browserstack/set-browserstack-env.js:6429–6444  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

6427 return 1;
6428 }
6429 if (statusCode < 200) {
6430 return 1;
6431 }
6432 if (socket[kBlocking]) {
6433 socket[kBlocking] = false;
6434 client[kResume]();
6435 }
6436 return pause ? constants3.ERROR.PAUSED : 0;
6437 }
6438 onBody(buf) {
6439 const { client, socket, statusCode, maxResponseSize } = this;
6440 if (socket.destroyed) {
6441 return -1;
6442 }
6443 const request = client[kQueue][client[kRunningIdx]];
6444 assert(request);
6445 assert(this.timeoutType === TIMEOUT_BODY);
6446 if (this.timeout) {
6447 if (this.timeout.refresh) {

Callers

nothing calls this directly

Calls 2

derefMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected