diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-07-25 18:47:48 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-07-25 18:47:48 +0200 |
commit | 4382829b7d9fde4358e12f7c9f195c7d7c854ff1 (patch) | |
tree | 2b605ec52ca3cd0ba3c6122d86ff0a808f51dd2f /libmproxy/controller.py | |
parent | a1fa34e61c4414898fd489c40d543ffe638c3d22 (diff) | |
download | mitmproxy-4382829b7d9fde4358e12f7c9f195c7d7c854ff1.tar.gz mitmproxy-4382829b7d9fde4358e12f7c9f195c7d7c854ff1.tar.bz2 mitmproxy-4382829b7d9fde4358e12f7c9f195c7d7c854ff1.zip |
workaround: always make sure that flow.response.reply exists
Diffstat (limited to 'libmproxy/controller.py')
-rw-r--r-- | libmproxy/controller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/controller.py b/libmproxy/controller.py index 63e44241..4a72cf80 100644 --- a/libmproxy/controller.py +++ b/libmproxy/controller.py @@ -49,7 +49,7 @@ class Channel: try: # The timeout is here so we can handle a should_exit event. g = m.reply.q.get(timeout=0.5) - except Queue.Empty: # pragma: nocover + except Queue.Empty: # pragma: nocover continue return g |