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
{{ message }}
Repository navigation
Difference between http.request({keepAlive}) and http.request({agent: {keepAlive}}) #1300
Activity
Fishrock123 commentedon Apr 9, 2015
keepAliveandkeepAliveMsecsare wrongly indented in the docs. They should be indented one more level, since they are forhttp.Agent.Fishrock123 commentedon Apr 9, 2015
Fixed in 69bc138, thanks for reporting! :)
vvo commentedon Apr 10, 2015
awwww now it makes sense.. the nodejs docs as the same issue.
vvo commentedon Apr 10, 2015
@Fishrock123 You sure this is the right fix?
Reading this is confusing, it explains that
agent:can take valuekeepAliveMsecswhich is not true.I think we should just remove keepAlive and keepAliveMsecs from here and link to the Agent constructor where they are explained.
doc: remove keepAlive options from http.request