MCPcopy Index your code
hub / github.com/nodejs/node / test-https-proxy-request-socket-keep-alive.mjs

File test-https-proxy-request-socket-keep-alive.mjs

test/client-proxy/test-https-proxy-request-socket-keep-alive.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 and
2// keepAlive: true, after the first request finishes, a subsequent request
3// reuses the same socket connection.
4

Callers

nothing calls this directly

Calls 12

onceFunction · 0.90
createProxyServerFunction · 0.90
writeHeadMethod · 0.80
listenMethod · 0.80
addressMethod · 0.65
requestMethod · 0.65
closeMethod · 0.65
skipMethod · 0.45
endMethod · 0.45
onMethod · 0.45
errorMethod · 0.45
onceMethod · 0.45

Tested by

no test coverage detected