mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04: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