You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
Hello,
The "close" method of the TSimpleServer/TThreadedServer classes cannot close the server because the thread who called "serve()" is blocked at "client = self.trans.accept()". The only way I found to stop it is to call "server.trans.close()" after "server.close()", which is not obvious. I think you should call "self.trans.close()" in the TServer.close() method.
If you agree I can propose a PR.
Regards
The text was updated successfully, but these errors were encountered:
Hello,
The "close" method of the TSimpleServer/TThreadedServer classes cannot close the server because the thread who called "serve()" is blocked at "client = self.trans.accept()". The only way I found to stop it is to call "server.trans.close()" after "server.close()", which is not obvious. I think you should call "self.trans.close()" in the TServer.close() method.
If you agree I can propose a PR.
Regards
The text was updated successfully, but these errors were encountered: