diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-02-18 14:45:22 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-02-18 14:45:22 +1300 |
commit | a7df6e1503551bf15c35252ffe39236221bae739 (patch) | |
tree | 86b55ce06498f5ad347e8995b13a7419332240e5 /libmproxy/console/connlist.py | |
parent | acdc2d00b4779a8c67107794a2bc66d66036c268 (diff) | |
download | mitmproxy-a7df6e1503551bf15c35252ffe39236221bae739.tar.gz mitmproxy-a7df6e1503551bf15c35252ffe39236221bae739.tar.bz2 mitmproxy-a7df6e1503551bf15c35252ffe39236221bae739.zip |
Refactor reverse proxying
- Retain the specification from the Host header as a Request's description.
- Expand upstream proxy specifications to include the scheme. We now say https://hostname:port
- Move the "R" revert keybinding to "v" to make room for a reverse proxy
binding that matches the command-line flag.
Diffstat (limited to 'libmproxy/console/connlist.py')
-rw-r--r-- | libmproxy/console/connlist.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libmproxy/console/connlist.py b/libmproxy/console/connlist.py index 4e8bfebd..8fbe3609 100644 --- a/libmproxy/console/connlist.py +++ b/libmproxy/console/connlist.py @@ -8,11 +8,11 @@ def _mkhelp(): ("a", "accept this intercepted connection"), ("C", "clear connection list or eventlog"), ("d", "delete flow"), + ("e", "toggle eventlog"), ("l", "set limit filter pattern"), ("L", "load saved flows"), ("r", "replay request"), ("R", "revert changes to request"), - ("v", "toggle eventlog"), ("w", "save all flows matching current limit"), ("W", "save this flow"), ("X", "kill and delete connection, even if it's mid-intercept"), @@ -133,8 +133,6 @@ class ConnectionItem(common.WWrap): ) elif key == "X": self.flow.kill(self.master) - elif key == "v": - self.master.toggle_eventlog() elif key == "enter": if self.flow.request: self.master.view_flow(self.flow) @@ -190,7 +188,7 @@ class ConnectionListBox(urwid.ListBox): elif key == "C": self.master.clear_connections() key = None - elif key == "v": + elif key == "e": self.master.toggle_eventlog() key = None return urwid.ListBox.keypress(self, size, key) |