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

Function onParserExecute

lib/_http_server.js:954–962  ·  view source on GitHub ↗
(server, socket, parser, state, ret)

Source from the content-addressed store, hash-verified

952}
953
954function onParserExecute(server, socket, parser, state, ret) {
955 // When underlying `net.Socket` instance is consumed - no
956 // `data` events are emitted, and thus `socket.setTimeout` fires the
957 // callback even if the data is constantly flowing into the socket.
958 // See, https://github.com/nodejs/node/commit/ec2822adaad76b126b5cccdeaa1addf2376c9aa6
959 socket._unrefTimer();
960 debug('SERVER socketOnParserExecute %d', ret);
961 onParserExecuteCommon(server, socket, parser, state, ret, undefined);
962}
963
964function onParserTimeout(server, socket) {
965 const serverTimeout = server.emit('timeout', socket);

Callers

nothing calls this directly

Calls 2

onParserExecuteCommonFunction · 0.85
debugFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…