Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "default rejectUnauthorized to true"
This reverts commit 2c55b27, which breaks websocket transport under node v0.10 (#494).
  • Loading branch information
darrachequesne committed Oct 4, 2016
commit a567e9503448a6cfad4862b3e5280bd57704165f
2 changes: 1 addition & 1 deletion lib/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function Socket (uri, opts) {
this.cert = opts.cert || null;
this.ca = opts.ca || null;
this.ciphers = opts.ciphers || null;
this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? true : opts.rejectUnauthorized;
this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? null : opts.rejectUnauthorized;

// other options for Node.js client
var freeGlobal = typeof global === 'object' && global;
Expand Down