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

Function abortOutgoing

lib/_http_server.js:916–921  ·  view source on GitHub ↗
(outgoing)

Source from the content-addressed store, hash-verified

914}
915
916function abortOutgoing(outgoing) {
917 while (outgoing.length) {
918 const req = outgoing.shift();
919 req.destroy(new ConnResetException('aborted'));
920 }
921}
922
923function socketOnEnd(server, socket, parser, state) {
924 const ret = parser.finish();

Callers 1

socketOnCloseFunction · 0.85

Calls 2

shiftMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…