Version
10.0.0 - 17.0.0
Platform
Linux 46aea4d126eb 5.11.0-1020-gcp #22~20.04.1-Ubuntu SMP Tue Sep 21 10:54:26 UTC 2021 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
create an https server, listen, And request the server
reproducible code:
require('https').createServer()
.on('request', (req, res) => {
return res.writeHead(200).end();
})
.on('clientError', e => console.log(e))
.listen(3000);
How often does it reproduce? Is there a required condition?
every time
What is the expected behavior?
emit the request event, respond accordingly, and move on
What do you see instead?
an openssl error from the 'clientError' event
[Error: C0C70EF8F77F0000:error:0A00009C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:345:
] {
library: 'SSL routines',
reason: 'http request',
code: 'ERR_SSL_HTTP_REQUEST'
}
Additional information
No response
Version
10.0.0 - 17.0.0
Platform
Linux 46aea4d126eb 5.11.0-1020-gcp #22~20.04.1-Ubuntu SMP Tue Sep 21 10:54:26 UTC 2021 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
create an https server, listen, And request the server
reproducible code:
How often does it reproduce? Is there a required condition?
every time
What is the expected behavior?
emit the request event, respond accordingly, and move on
What do you see instead?
an openssl error from the 'clientError' event
Additional information
No response