mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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: https://github.com/nodejs/node/pull/32328 Backport-PR-URL: https://github.com/nodejs/node/pull/32443 Fixes: https://github.com/nodejs/node/issues/32210 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
76033c5495
commit
89692ff19b
1 file changed
+1
-1
@@ -64,7 +64,7 @@ function doTest(testOptions, callback) {
|
||||
throw er;
|
||||
});
|
||||
++requestCount;
|
||||
cleartext.end();
|
||||
cleartext.end('');
|
||||
});
|
||||
server.on('newSession', function(id, data, cb) {
|
||||
++newSessionCount;
|
||||
|
||||
Reference in new issue
Block a user