mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
cleartext.socket always exists
This commit is contained in:
@@ -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