-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resetAndDestroy can not be called on tlssocket? #49484
Comments
Facing the same challenge, I rearchitected my code some to create the socket; let client;
const socket = net.connect(connectOpts, () => {
client = new tls.TLSSocket(socket);
// [more code goes here]
}); In general it'd be Pretty Cool IMHO if the underlying socket were acessible. I thought for a second maybe |
@nodejs/net PTAL |
This looks like a bug in Node.js. |
cc @nodejs/crypto as well |
Running into this bug as well |
Details
Isn't tlssocket kind of TCP? How to send RST on a tls connection?
Node.js version
18
Example code
Operating system
Not applicable.
Scope
runtime
Module and version
net tls
The text was updated successfully, but these errors were encountered: