Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change null to undefined so that it works on not yet merged upgraded …

…setEncoding.
  • Loading branch information...
commit 74825f54b0c88f7f49d23cdb50c584dcbecd9c89 1 parent c42bf53
@Rush authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tls.js
View
2  lib/tls.js
@@ -1208,7 +1208,7 @@ exports.start = function(socket /* [options], [asServer], cb */) {
}
// revert encoding as TLS requires a binary stream
- socket.setEncoding(null);
+ socket.setEncoding(undefined);
options = util._extend({
socket: socket,
Please sign in to comment.
Something went wrong with that request. Please try again.