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

Function handleSocketAfterProxy

lib/_http_agent.js:347–354  ·  view source on GitHub ↗
(err, req)

Source from the content-addressed store, hash-verified

345};
346
347function handleSocketAfterProxy(err, req) {
348 if (err.code === 'ERR_PROXY_TUNNEL') {
349 if (err.proxyTunnelTimeout) {
350 req.emit('timeout'); // Propagate the timeout from the tunnel to the request.
351 }
352 req.emit('error', err);
353 }
354}
355
356Agent.prototype.addRequest = function addRequest(req, options, port/* legacy */,
357 localAddress/* legacy */) {

Callers 1

_http_agent.jsFile · 0.85

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…