diff options
author | Aldo Cortesi <aldo@corte.si> | 2012-02-16 22:57:58 -0800 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2012-02-16 22:57:58 -0800 |
commit | fcc874fa183971c1985578dca66e4b4e49e17f43 (patch) | |
tree | 9d9d0fc261ba8986da7ceab3f0a1512afaa380e1 /libmproxy/cmdline.py | |
parent | f25156a6377b89ea34899fb61a94694361a7e511 (diff) | |
parent | a3509b7f229eafdcbdd545e49de8ad2ac728e034 (diff) | |
download | mitmproxy-fcc874fa183971c1985578dca66e4b4e49e17f43.tar.gz mitmproxy-fcc874fa183971c1985578dca66e4b4e49e17f43.tar.bz2 mitmproxy-fcc874fa183971c1985578dca66e4b4e49e17f43.zip |
Merge pull request #29 from hessu/master
Reverse proxy mode for mitmproxy
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r-- | libmproxy/cmdline.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index 6d1ffa3d..e7ca1bcf 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -65,6 +65,11 @@ def common_options(parser): help = "Proxy service port." ) parser.add_option( + "-R", + action="store", dest="reverse_upstream", default=None, + help="Reverse proxy: upstream server host:port" + ) + parser.add_option( "-q", action="store_true", dest="quiet", help="Quiet." |