Message366619
Maybe :
Main problem is currently ThreadingHTTPServer which extends socketserver.ThreadingMixIn and HTTPServer don't overload his server_close() method. This method server_close is defined into both parent class and should be both call in implementation to avoid shadow definition.
Second and linked to first problem is the class socketserver.TCPServer which is parent class of HTTPServer and extend of BaseServer don't overload method server_close() properly indeed this overload call self.socket.close() but should also call super().shutdown() to avoid infinite thread join into ThreadingHTTPServer server_close() method.
Open to advice |
|
Date |
User |
Action |
Args |
2020-04-16 18:13:08 | ROUX antoine2 | set | recipients:
+ ROUX antoine2 |
2020-04-16 18:13:08 | ROUX antoine2 | set | messageid: <1587060788.93.0.613571029656.issue40305@roundup.psfhosted.org> |
2020-04-16 18:13:08 | ROUX antoine2 | link | issue40305 messages |
2020-04-16 18:13:08 | ROUX antoine2 | create | |
|