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

Aviv Palivoda report at bugs.python.org
Mon Feb 8 11:58:33 EST 2016


New submission from Aviv Palivoda:

When socketserver.BaseServer.verify_request() return False then we do not call shutdown_request. If we will take the TCPServer as example we will call get_request thus calling socket.accept() and creating a new socket but we will not call shutdown_request to close the unused socket.

----------
components: Library (Lib)
files: socketserver-shutdown-if-verify-false.patch
keywords: patch
messages: 259861
nosy: palaviv
priority: normal
severity: normal
status: open
title: socketserver.BaseServer._handle_request_noblock() don't shutdwon request if verify_request is False
type: resource usage
versions: Python 2.7, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41855/socketserver-shutdown-if-verify-false.patch

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


More information about the New-bugs-announce mailing list