diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2016-06-03 11:57:42 +1200 | 
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2016-06-03 11:58:05 +1200 | 
| commit | 36383a6146d605879bf8c2834370b09f42bfec06 (patch) | |
| tree | 14d631fb5b9ca186f39b08fcb739c4207c814fb3 | |
| parent | c5076f5e019b73ec2f6efea5a4bafed90423df8f (diff) | |
| download | mitmproxy-36383a6146d605879bf8c2834370b09f42bfec06.tar.gz mitmproxy-36383a6146d605879bf8c2834370b09f42bfec06.tar.bz2 mitmproxy-36383a6146d605879bf8c2834370b09f42bfec06.zip  | |
Pathod websocket service threads should not be immortal
| -rw-r--r-- | pathod/protocols/websockets.py | 2 | 
1 files changed, 1 insertions, 1 deletions
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(  | 
