Skip to content

Commit 0f35430

Browse files
committed
https-proxy-agent: more comments
1 parent 11e54c8 commit 0f35430

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

https-proxy-agent.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function HttpsProxyAgent (opts) {
5555
inherits(HttpsProxyAgent, Agent);
5656

5757
/**
58-
* Defaults for the "connect" opts object.
58+
* Default options for the "connect" opts object.
5959
*/
6060

6161
var defaults = { port: 443 };
@@ -67,6 +67,8 @@ var defaults = { port: 443 };
6767
*/
6868

6969
function connect (req, _opts, fn) {
70+
71+
// these `opts` are the connect options to connect to the destination endpoint
7072
var opts = extend({}, this.proxy, defaults, _opts);
7173

7274
var socket;

0 commit comments

Comments
 (0)