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

Function abort

github-actions/bazel/configure-remote/configure-remote.js:6672–6679  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

6670 }
6671 const bodyLength = util.bodyLength(body);
6672 contentLength = bodyLength != null ? bodyLength : contentLength;
6673 if (contentLength === null) {
6674 contentLength = request.contentLength;
6675 }
6676 if (contentLength === 0 && !expectsPayload) {
6677 contentLength = null;
6678 }
6679 if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) {
6680 if (client[kStrictContentLength]) {
6681 util.errorRequest(client, request, new RequestContentLengthMismatchError());
6682 return false;

Callers 12

onConnectMethod · 0.70
writeBufferFunction · 0.70
writeBlobFunction · 0.70
destroyMethod · 0.70
writeH2Function · 0.70
writeStreamFunction · 0.70
writeIterableFunction · 0.70
onConnectMethod · 0.70
addSignalFunction · 0.70
onHeadersMethod · 0.70
constructorMethod · 0.70
onConnectFunction · 0.70

Calls 8

removeSignalFunction · 0.70
destroyMethod · 0.45
abortMethod · 0.45
derefMethod · 0.45
unregisterMethod · 0.45
getMethod · 0.45
clearMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected