aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/protocols/websockets.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-06-03 14:08:48 +1200
committerAldo Cortesi <aldo@corte.si>2016-06-03 14:08:48 +1200
commit7191906ba895dba3e1a86573087ef45354126afe (patch)
treefe5e73b791c1e48d090ffb25e29a9556d683c9c3 /pathod/protocols/websockets.py
parent734ec945544f5ff0a33729f343c6f65443221df1 (diff)
parent28aa6f05643ecae99563bddf0826e851d39a233b (diff)
downloadmitmproxy-7191906ba895dba3e1a86573087ef45354126afe.tar.gz
mitmproxy-7191906ba895dba3e1a86573087ef45354126afe.tar.bz2
mitmproxy-7191906ba895dba3e1a86573087ef45354126afe.zip
Merge pull request #1192 from cortesi/testsuite
WIP: Solidify pathod test suite
Diffstat (limited to 'pathod/protocols/websockets.py')
-rw-r--r--pathod/protocols/websockets.py2
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(