Skip to content

Commit

Permalink
Change secureOptions' to secureProtocol' for HTTPS request
Browse files Browse the repository at this point in the history
  • Loading branch information
董劭田 DONG Shaotian committed Sep 21, 2013
1 parent 4db8a9b commit da16120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,9 @@ Request.prototype.getAgent = function () {
poolKey += options.ciphers
}

if (options.secureOptions) {
if (options.secureProtocol) {
if (poolKey) poolKey += ':'
poolKey += options.secureOptions
poolKey += options.secureProtocol
}
}

Expand Down

0 comments on commit da16120

Please sign in to comment.