-
-
Save bnoordhuis/22370a60acfcf80f7bed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/simple/test-tls-peer-certificate.js b/test/simple/test-tls-peer-certificate.js | |
index 6ef03c7..ddb0f25 100644 | |
--- a/test/simple/test-tls-peer-certificate.js | |
+++ b/test/simple/test-tls-peer-certificate.js | |
@@ -39,7 +39,9 @@ var options = { | |
var verified = false; | |
var server = tls.createServer(options, function(cleartext) { | |
+ console.error('cleartext.writable [1]', cleartext.writable); | |
cleartext.end('World'); | |
+ console.error('cleartext.writable [2]', cleartext.writable); | |
}); | |
server.listen(common.PORT, function() { | |
var socket = tls.connect(common.PORT, function() { | |
@@ -50,7 +52,9 @@ server.listen(common.PORT, function() { | |
verified = true; | |
server.close(); | |
}); | |
+ console.error('socket.writable [1]', socket.writable); | |
socket.end('Hello'); | |
+ console.error('socket.writable [2]', socket.writable); | |
}); | |
process.on('exit', function() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment