Merge branch 'develop' into pskreporter
This commit is contained in:
commit
45479b9f65
@ -160,6 +160,9 @@ class WebSocketConnection(object):
|
|||||||
logger.warning("unsupported opcode: {0}".format(opcode))
|
logger.warning("unsupported opcode: {0}".format(opcode))
|
||||||
except IncompleteRead:
|
except IncompleteRead:
|
||||||
available = False
|
available = False
|
||||||
|
except TimeoutError:
|
||||||
|
logger.warning("websocket timed out; closing connection")
|
||||||
|
self.open = False
|
||||||
|
|
||||||
logger.debug("websocket loop ended; shutting down")
|
logger.debug("websocket loop ended; shutting down")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user