-
Notifications
You must be signed in to change notification settings - Fork 147
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
Access Violation in SSL_accept() when deactivating TIdTCPServer #218
Comments
When However, when A possible fix might be to change Otherwise, |
Didn't mean to close the ticket |
Tested the fix. Overriding DoTerminateContext and calling AContext.Binding.CloseSocket; worked. |
I also tested this, and it works. I assume somebody should change this in the master code. |
…derlying socket rather than closing the IOHandler.
Now that two different users have verified it is working, I have checked in the change. |
A user is experiencing an access violation in
SSL_accept()
(see https://stackoverflow.com/questions/51150235/) whenTIdTCPServer
is setup to use OpenSSL and there is an open connection that has NOT yet negotiated an SSL/TLS session whenTIdTCPServer
is being deactivated.This can be reproduced using the following code, with Putty making a RAW connection:
The text was updated successfully, but these errors were encountered: