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

Function socketOnData

lib/_http_server.js:941–947  ·  view source on GitHub ↗
(server, socket, parser, state, d)

Source from the content-addressed store, hash-verified

939}
940
941function socketOnData(server, socket, parser, state, d) {
942 assert(!socket._paused);
943 debug('SERVER socketOnData %d', d.length);
944
945 const ret = parser.execute(d);
946 onParserExecuteCommon(server, socket, parser, state, ret, d);
947}
948
949function onRequestTimeout(socket) {
950 // socketOnError has additional logic and will call socket.destroy(err).

Callers

nothing calls this directly

Calls 4

onParserExecuteCommonFunction · 0.85
assertFunction · 0.70
debugFunction · 0.50
executeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…