Skip to content

Commit ccbccc9

Browse files
glepskybrianc
authored andcommitted
Issue #1769 - Inability to restrict communication protocols to set in ssl configuration (#1804)
- Propagate client's ssl.secureOptions config to TLS.
1 parent 060a35f commit ccbccc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/connection.js

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Connection.prototype.connect = function (port, host) {
101101
key: self.ssl.key,
102102
passphrase: self.ssl.passphrase,
103103
cert: self.ssl.cert,
104+
secureOptions: self.ssl.secureOptions,
104105
NPNProtocols: self.ssl.NPNProtocols
105106
})
106107
self.attachListeners(self.stream)

0 commit comments

Comments
 (0)