Skip to content

Commit

Permalink
Add comment explaining previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ajyoung committed Aug 20, 2020
1 parent 90b6027 commit 5f5a9d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cheroot/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f5a9d0

Please sign in to comment.