Suppress socket.send() errors

This commit is contained in:
Neil Booth 2018-08-19 11:31:21 +09:00
parent 1d299f3f67
commit eeb5f96cd5

View File

@ -28,7 +28,8 @@ class ServerBase(object):
Upon return the event loop runs until the shutdown signal is received.
'''
SUPPRESS_MESSAGE_REGEX = re.compile('SSL handshake|Fatal read error on|'
'SSL error in data received')
'SSL error in data received|'
'socket.send() raised exception')
SUPPRESS_TASK_REGEX = re.compile('accept_connection2')
PYTHON_MIN_VERSION = (3, 6)