From 36383a6146d605879bf8c2834370b09f42bfec06 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 3 Jun 2016 11:57:42 +1200 Subject: Pathod websocket service threads should not be immortal --- pathod/protocols/websockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pathod/protocols/websockets.py b/pathod/protocols/websockets.py index 134d27bc..2b60e618 100644 --- a/pathod/protocols/websockets.py +++ b/pathod/protocols/websockets.py @@ -18,7 +18,7 @@ class WebsocketsProtocol: frm = websockets.Frame.from_file(self.pathod_handler.rfile) except NetlibException as e: lg("Error reading websocket frame: %s" % e) - break + return None, None ended = time.time() lg(frm.human_readable()) retlog = dict( -- cgit v1.2.3