-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
Description
With latest master, I was trying to track down some flakiness in test-tls-inception.js
, so I increased the data sent from the socket at the b
server like this:
diff --git a/test/parallel/test-tls-inception.js b/test/parallel/test-tls-inception.js
index df03cf9..4dc885d 100644
--- a/test/parallel/test-tls-inception.js
+++ b/test/parallel/test-tls-inception.js
@@ -38,7 +38,7 @@ a = tls.createServer(options, function(socket) {
// the "target" server
b = tls.createServer(options, function(socket) {
- socket.end('hello');
+ socket.end((new Buffer(4000)).fill('a'));
});
process.on('exit', function() {
and got this error:
events.js:141
throw er; // Unhandled 'error' event
^
Error: 140735127326720:error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac:../deps/openssl/openssl/ssl/s3_pkt.c:532:
at Error (native)
Reducing the size of the Buffer
to 3000
does not cause the error. Is this expected or a bug?
Thanks
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.