Skip to content

Commit e5dc2fb

Browse files
sam-githubcodebytere
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 <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 551b93b commit e5dc2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)