MCPcopy Index your code
hub / github.com/nodejs/node / test-https-proxy-request-max-sockets.mjs

File test-https-proxy-request-max-sockets.mjs

test/client-proxy/test-https-proxy-request-max-sockets.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This tests that when using a proxy with an agent with maxSockets: 1,
2// subsequent requests are queued when the first request is still alive,
3// and processed after the first request completes, and both are sending
4// the request through the proxy.

Callers

nothing calls this directly

Calls 15

onceFunction · 0.90
createProxyServerFunction · 0.90
writeHeadMethod · 0.80
listenMethod · 0.80
nowMethod · 0.80
addressMethod · 0.65
requestMethod · 0.65
closeMethod · 0.65
resolveFunction · 0.50
skipMethod · 0.45
logMethod · 0.45
thenMethod · 0.45

Tested by

no test coverage detected