mirror of https://github.com/nodejs/node.git
cleartext.socket always exists
parent
bb27885251
commit
41d73e02a2
|
@ -508,6 +508,8 @@ function Server(/* [options], listener */) {
|
|||
pair.encrypted.pipe(socket);
|
||||
socket.pipe(pair.encrypted);
|
||||
|
||||
pair.cleartext.socket = socket;
|
||||
|
||||
pair.on('secure', function() {
|
||||
pair.cleartext.authorized = false;
|
||||
if (!self.requestCert) {
|
||||
|
|
Loading…
Reference in New Issue