Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
once
Function · 0.90
createProxyServer
Function · 0.90
writeHead
Method · 0.80
listen
Method · 0.80
address
Method · 0.65
request
Method · 0.65
close
Method · 0.65
skip
Method · 0.45
end
Method · 0.45
on
Method · 0.45
error
Method · 0.45
once
Method · 0.45
Tested by
no test coverage detected