mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
cleartext.socket always exists
This commit is contained in:
1 parent
bb27885251
commit
41d73e02a2
1 file changed
+2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user