aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/flow.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-02-18 14:45:22 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-02-18 14:45:22 +1300
commita7df6e1503551bf15c35252ffe39236221bae739 (patch)
tree86b55ce06498f5ad347e8995b13a7419332240e5 /libmproxy/flow.py
parentacdc2d00b4779a8c67107794a2bc66d66036c268 (diff)
downloadmitmproxy-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/flow.py')
-rw-r--r--libmproxy/flow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py
index 776846fe..f9f1093f 100644
--- a/libmproxy/flow.py
+++ b/libmproxy/flow.py
@@ -1292,9 +1292,9 @@ class FlowMaster(controller.Master):
f.error = None
self.process_new_request(f)
rt = proxy.RequestReplayThread(
+ self.server.config,
f,
self.masterq,
- self.server.config.body_size_limit
)
rt.start()
#end nocover