From 5f5a9d09b8f94c0f36a643c3dfa57f001e1ebd71 Mon Sep 17 00:00:00 2001 From: Anthony Young-Garner Date: Thu, 20 Aug 2020 15:47:23 -0500 Subject: [PATCH] Add comment explaining previous commit --- cheroot/server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheroot/server.py b/cheroot/server.py index 51cc1766ab..61c1e34482 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -1344,6 +1344,9 @@ def _conditional_error(self, req, response): try: req.simple_response(response) except socket.error: + # See #210. Prevents DOS attack via uncaught + # socket.error caused by silent connections + # lasting beyond connection timeout length. pass except errors.FatalSSLAlert: pass