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

Function onProxyError

lib/https.js:234–238  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

232 }
233
234 function onProxyError(err) {
235 debug('onProxyError', err);
236 cleanup();
237 afterSocket(err, socket);
238 }
239
240 // Read the headers from the chunks and check for the status code. If it fails we
241 // clean up the socket and return an error. Otherwise we establish the tunnel.

Callers

nothing calls this directly

Calls 2

cleanupFunction · 0.70
debugFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…