diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-09-08 23:34:43 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-09-08 23:34:43 +0200 |
commit | fbc4bb38df48447f846ae0ff4f87062c827bd632 (patch) | |
tree | 3955afbe79f9e9e6497565c1e2a34d9c66234ed9 /examples/stickycookies | |
parent | 7ea8d3ff357e278ba047a18a0dcc4bd434017c79 (diff) | |
download | mitmproxy-fbc4bb38df48447f846ae0ff4f87062c827bd632.tar.gz mitmproxy-fbc4bb38df48447f846ae0ff4f87062c827bd632.tar.bz2 mitmproxy-fbc4bb38df48447f846ae0ff4f87062c827bd632.zip |
mitmproxy -> libmproxy.main. do some leanup on the way
Diffstat (limited to 'examples/stickycookies')
-rwxr-xr-x | examples/stickycookies | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/stickycookies b/examples/stickycookies index d2368e22..132e4dc7 100755 --- a/examples/stickycookies +++ b/examples/stickycookies @@ -37,8 +37,9 @@ class StickyMaster(controller.Master): config = proxy.ProxyConfig( - ca_file = os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem") + port=8080, + ca_file=os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem") ) -server = ProxyServer(config, 8080) +server = ProxyServer(config) m = StickyMaster(server) m.run() |