-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Crash using SNICallback over a netSocket #10704
Labels
Comments
Also I would like to point that in
Since I'm using a |
indutny
added a commit
to indutny/io.js
that referenced
this issue
Jan 9, 2017
`TLSSocket` should not have a hard dependency on `tls.Server`, since it may be running without it in cases like `STARTTLS`. Fix: nodejs#10704
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
My node app is crashing often when using
SNICallback
withnetSocket
andnetServer
, can't reproduce it yet.Backtrace:
Here is a small piece of code just to show what is done:
The tlswrapper attached here is what invokes
new tls.TLSSocket(socket, sslOptions)
, you should take a look at it.The code above is what is used in production and works for dozens or hundreds of requests (which means a few minutes) until it crashes, but I wasn't able to reproduce it on a test case. I'll keep working on that.
Also, I would like to point that it seems to call that
requestOSCP()
function even though I set it tofalse
.It works fine if I use any
tlsServer
instead of thenetServer
, by just changing the last line to this:The text was updated successfully, but these errors were encountered: