-
Notifications
You must be signed in to change notification settings - Fork 103
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
Race condition during stopping of server connection. #1175
Comments
The cause of the crash is following scenario: As a result of described sequence - Also, above sequence (the last step) may be the reason of #1080. |
There is another problem - also with race condition in So, the server's refcnt decreased twice instead of one time and server's destructor will be called earlier - in |
1. Resolve implicit declaration; 2. Remove 'tfw_connection_close()' call from 'tfw_sock_srv_connect_try()'; this call looked obsolete: sock's state is not established during this call, so there are no usefull actions performed.
Fix #1175: Add synchronization of disconnect procedure for server con…
The crash occurred during long tests on 9011 server (dump
201812220406
):The text was updated successfully, but these errors were encountered: