Open
Description
Affected URL(s)
https://nodejs.org/docs/latest/api/http.html#agentcreateconnectionoptions-callback
Description of the problem
In http agents, the createConnection
function is a direct passthrough to net.connect
, which the function signature does not take, nor call a callback.
In https agents, the createConnection
function has a wildly different signature, but the https docs say "it's the same as the http" agent. But again, there is no callback for this function and none is called.