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

Function cleanup

lib/https.js:227–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 }
226
227 function cleanup() {
228 socket.removeListener('end', onProxyEnd);
229 socket.removeListener('error', onProxyError);
230 socket.removeListener('readable', read);
231 socket.setTimeout(0); // Clear the timeout for the tunnel establishment.
232 }
233
234 function onProxyError(err) {
235 debug('onProxyError', err);

Callers 5

_http_incoming.jsFile · 0.70
onProxyErrorFunction · 0.70
onProxyDataFunction · 0.70
onProxyEndFunction · 0.70
onProxyTimeoutFunction · 0.70

Calls 2

removeListenerMethod · 0.45
setTimeoutMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…