This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ROUX antoine2
Recipients ROUX antoine2
Date 2020-04-16.18:13:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587060788.93.0.613571029656.issue40305@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-04-16 18:13:08ROUX antoine2setrecipients: + ROUX antoine2
2020-04-16 18:13:08ROUX antoine2setmessageid: <1587060788.93.0.613571029656.issue40305@roundup.psfhosted.org>
2020-04-16 18:13:08ROUX antoine2linkissue40305 messages
2020-04-16 18:13:08ROUX antoine2create