-
Notifications
You must be signed in to change notification settings - Fork 30
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
Libuv/evt-tls segfaults when trying to write to a socket which is closed by the other party #20
Comments
Thanks for letting us know this. Would you please share output of gdb |
There you go:
|
Looks like, Are you on the latest code? there was fixes handling this type of issue. Again, libuv-tls is just a sample and will need more work to be production ready |
Seems to be working quite well, except this. I'm using a snapshot from last week.
Am 20.02.2018 08:10 schrieb dlmeetei <[email protected]>:
Looks like, SSL_write is failing due to corrupted structures before reaching the network, libuv.
Are you on the latest code? there was fixes handling this type of issue.
Again, libuv-tls is just a sample and will need more work to be production ready
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#20 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAXZgYeU--27LjAqc1DY5__hC8DRg51Qks5tWm_sgaJpZM4SI74y>.
|
It's not closed.. Problem still exists.
Am 20.02.2018 11:56 schrieb dlmeetei <[email protected]>:
Thanks for confirming.
Closing this then
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#20 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAXZgTz176reqYoLuBPqcbfcleWOgKULks5tWqThgaJpZM4SI74y>.
|
Sorry, closed by misreading lines. |
@Bendr0id Can you get |
Yes, will create another core dump later. Btw. here are the steps to reproduce: Open a connection to a TLS server, keep the connection open. It should recognize that the server is gone and return an error instead of segfaulting. |
Sorry for late response..
But it seems that it has issues to look up source ssl_lib.c file :/, hope this helps. |
Thanks, this is useful. |
Digged some more into it. It seems that |
@Bendr0id We are also working on a redesign to make evt-tls production ready |
sleep was added earlier to debug issue #20
Libuv/evt-tls segfaults when trying to write to a socket which is closed by the other party
Libuv in this case just returns -1.
If you need more info, please let me know.
The text was updated successfully, but these errors were encountered: