mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #26309: Shut down socketserver request if verify_request() is false
Patch by Aviv Palivoda.
This commit is contained in:
parent
8f0432ffbb
commit
c12fef9aa3
3 changed files with 30 additions and 0 deletions
|
@ -319,6 +319,8 @@ class BaseServer:
|
|||
except:
|
||||
self.handle_error(request, client_address)
|
||||
self.shutdown_request(request)
|
||||
else:
|
||||
self.shutdown_request(request)
|
||||
|
||||
def handle_timeout(self):
|
||||
"""Called if no new request arrives within self.timeout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue