From 4f877cde6a9a6b99c3bf452f2164ab09abc64d50 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 20 Mar 2011 09:31:39 +1300 Subject: Reverse order of flows in mitmproxy. It matches user expectations much better to have new flows appended to the bottom. --- libmproxy/flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmproxy/flow.py') diff --git a/libmproxy/flow.py b/libmproxy/flow.py index 718a3dcd..eed006b4 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -343,7 +343,7 @@ class State: Add a request to the state. Returns the matching flow. """ f = Flow(req) - self.flow_list.insert(0, f) + self.flow_list.append(f) self.flow_map[req] = f return f -- cgit v1.2.3