Skip to content

Commit

Permalink
It appears that secureOptions is an undocumented feature to fix issue…
Browse files Browse the repository at this point in the history
…s with broken server. See joynet/node #5119

- fixes issue introduced in #666
  • Loading branch information
nw committed Feb 22, 2014
1 parent d3545e4 commit 4b6ce1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions request.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ Request.prototype.getAgent = function () {
if (this.ca) options.ca = this.ca
if (this.ciphers) options.ciphers = this.ciphers
if (this.secureProtocol) options.secureProtocol = this.secureProtocol
if (this.secureOptions) options.secureOptions = this.secureOptions
if (typeof this.rejectUnauthorized !== 'undefined') options.rejectUnauthorized = this.rejectUnauthorized

if (this.cert && this.key) {
Expand Down

0 comments on commit 4b6ce1a

Please sign in to comment.