Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.14 KB

UpgradingMitmProxy.MD

File metadata and controls

34 lines (18 loc) · 1.14 KB

The following instructions are used for updating to a new version of mitmproxy.


Fix websocket connection missing issue for our internal websocket:

mitmproxy/addons/browserup/test/mitmproxy/addons/browserupclients/

mitmproxy/proxy/layers/http/init.py

elif isinstance(command, SendHttp): if command.connection in self.connections: conn = self.connections[command.connection] yield from self.event_to_child(conn, command.event) else: self.debug(f"No connection found for key: {command.connection}")

Copy:

mitmproxy/addons/browserup/ test/mitmproxy/addons/browserup clients/

Adjust setup.py to have the browserup executable entrypoint: setup.py

entry_points={ "console_scripts": [ "mitmproxy = mitmproxy.tools.main:mitmproxy", "mitmdump = mitmproxy.tools.main:mitmdump", "mitmweb = mitmproxy.tools.main:mitmweb", "browserup-proxy = mitmproxy.tools.main:browserupproxy", ], "pyinstaller40": [ "hook-dirs = mitmproxy.utils.pyinstaller:hook_dirs", ]},

Add scripts folder:

scripts/browsertime/browser-data.js

Add (falcon, etc) to:

setup.py