You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function was then refactored into _http_agent.js at 12cd133.
However, the localAddress parameter was mistaken to be path during the refactoring. Below are some evidences showing that the parameter should be localAddress.
At https://github.com/nodejs/node/blob/master/lib/_http_agent.js#L114:
The line should read:
instead of:
The
localAddressparameter was added to theaddRequest()function inlib/http.jssince 1e9bcf2#diff-1c0f1c434b17b7f8795d44a51a14320a.The function was then refactored into
_http_agent.jsat 12cd133.However, the
localAddressparameter was mistaken to bepathduring the refactoring. Below are some evidences showing that the parameter should belocalAddress.Here is the current code in
master:Here is how the
optionsobject is used. It clearly expectslocalAddress:Here is the code in an old release (
v0.10.36, which is the version currently used on AWS):These clears shows the format
host:port:localAddress: