Skip to content

Commit 76a7386

Browse files
sam-githubMylesBorins
authored andcommitted
test: end tls connection with some data
In openssl-1.1.1e the client doesn't seem to like having the TLS connection shut down with no data sent, so send an empty string. A number of related issues showed up in the TLS1.3 port, so this is not entirely surprising. PR-URL: #32328 Fixes: #32210 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent fcf9b46 commit 76a7386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-tls-session-cache.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function doTest(testOptions, callback) {
6565
throw er;
6666
});
6767
++requestCount;
68-
cleartext.end();
68+
cleartext.end('');
6969
});
7070
server.on('newSession', function(id, data, cb) {
7171
++newSessionCount;

0 commit comments

Comments
 (0)