mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
fix flow detail display
This commit is contained in:
parent
bfef9b4940
commit
4f56b76b2c
@ -39,7 +39,7 @@ class FlowDetailsView(urwid.ListBox):
|
|||||||
text.append(urwid.Text([("head", "Server Connection:")]))
|
text.append(urwid.Text([("head", "Server Connection:")]))
|
||||||
sc = self.flow.server_conn
|
sc = self.flow.server_conn
|
||||||
parts = [
|
parts = [
|
||||||
["Address", "%s:%s" % sc.peername],
|
["Address", "%s:%s" % sc.address()],
|
||||||
["Start time", utils.format_timestamp(sc.timestamp_start)],
|
["Start time", utils.format_timestamp(sc.timestamp_start)],
|
||||||
["End time", utils.format_timestamp(sc.timestamp_end) if sc.timestamp_end else "active"],
|
["End time", utils.format_timestamp(sc.timestamp_end) if sc.timestamp_end else "active"],
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user