Closed alexpenev-s closed 8 years ago
By analyzing the blame information on this pull request, we identified @fengmk2, @lattmann and @pmalouin to be potential reviewers
https://github.com/node-modules/agentkeepalive/pull/33/files#diff-5f7fb0850412c6be189faeddea6c5359R226 createSocket()
will do the _extend
logic.
It extends its own copy of options
.
On a subsequent request, when addRequest()
is called. It is called with the options specified by https.request(options)
which don't have the ca property.
The issue occurs when ca
is in the global options
object and not in the options
coming from the request.
@saperal Can you add a test case for this change?
And you can also send a pr for nodejs itself too. https://github.com/nodejs/node/blob/master/lib/_http_agent.js#L108
@saperal nice move! I will merge this soon. https://github.com/nodejs/node/pull/5713/files
Landed 88d1e1ee167f28819edce7349d0155b91c1a0d75
2.1.1
-closes:#32