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

Function onProxyConnection

lib/https.js:401–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

399 }
400 });
401 const onProxyConnection = () => {
402 socket.removeListener('error', onError);
403 establishTunnel(this, socket, options, tunnelConfig, cleanupAndPropagate);
404 };
405 if (this[kProxyConfig].protocol === 'http:') {
406 socket = net.connect(connectOptions, onProxyConnection);
407 } else {

Callers

nothing calls this directly

Calls 2

establishTunnelFunction · 0.85
removeListenerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…