📜🤖 Added by blurb_it.

This commit is contained in:
blurb-it[bot] 2020-04-16 18:54:29 +00:00 committed by GitHub
parent fcdcf39e85
commit 528f6ca93d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Implement ``server_close()`` method to :class:`ThreadingHTTPServer`
the :class:`ThreadingHTTPServer` extend two :class:`socketserver.ThreadingMixIn` and :class:`HTTPServer` which cause shadow definition of ``server_close()`` method. Propose implementation just call ``server_close()`` method of two parent class.
Fix ``server_close()`` method implementation of :class:`TCPServer`.
Now call parent method ``shutdown()`` to stop :class:`BaseServer` ``server_forever()`` infinite loop.