Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix crash on intercept.

Fixes #106
  • Loading branch information...
commit 800af347632ca12155a4af3f1b30f4832f339fb8 1 parent 5c33f67
@cortesi cortesi authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 libmproxy/console/flowview.py
View
4 libmproxy/console/flowview.py
@@ -201,7 +201,7 @@ def _tab(self, content, attr):
def wrap_body(self, active, body):
parts = []
- if self.flow.intercepting and not self.flow.request.acked:
+ if self.flow.intercepting and not self.flow.request.reply.acked:
qt = "Request intercepted"
else:
qt = "Request"
@@ -210,7 +210,7 @@ def wrap_body(self, active, body):
else:
parts.append(self._tab(qt, "heading_inactive"))
- if self.flow.intercepting and self.flow.response and not self.flow.response.acked:
+ if self.flow.intercepting and self.flow.response and not self.flow.response.reply.acked:
st = "Response intercepted"
else:
st = "Response"
Please sign in to comment.
Something went wrong with that request. Please try again.