[issue26309] socketserver.BaseServer._handle_request_noblock() don't shutdwon request if verify_request is False

Martin Panter report at bugs.python.org
Sun Feb 14 00:12:54 EST 2016


Martin Panter added the comment:

Thanks for the test, but it is a bit confusing to have the shutdown_request() method call finish_request() and actually do normal request handling. Maybe it would be better to not handle the request (and not test that a response is received), and just check that shutdown_request() is called or that the client socket is explicitly closed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26309>
_______________________________________


More information about the Python-bugs-list mailing list