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

Function resetSocketTimeout

lib/_http_server.js:1389–1395  ·  view source on GitHub ↗
(server, socket, state)

Source from the content-addressed store, hash-verified

1387}
1388
1389function resetSocketTimeout(server, socket, state) {
1390 if (!state.keepAliveTimeoutSet)
1391 return;
1392
1393 socket.setTimeout(server.timeout || 0);
1394 state.keepAliveTimeoutSet = false;
1395}
1396
1397function onSocketResume() {
1398 // It may seem that the socket is resumed, but this is an enemy's trick to

Callers 1

parserOnIncomingFunction · 0.85

Calls 1

setTimeoutMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…