mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-23 20:00:09 +08:00
Add --norefresh to stop refreshing server playback to mitmdump.
Also, make cookie parsing for refreshing more error-tolerant.
This commit is contained in:
@@ -10,6 +10,7 @@ class Options(object):
|
||||
"client_replay",
|
||||
"keepserving",
|
||||
"kill",
|
||||
"refresh_server_playback",
|
||||
"request_script",
|
||||
"response_script",
|
||||
"rheaders",
|
||||
@@ -85,6 +86,7 @@ class DumpMaster(flow.FlowMaster):
|
||||
)
|
||||
|
||||
self.anticache = options.anticache
|
||||
self.refresh_server_playback = options.refresh_server_playback
|
||||
|
||||
def _readflow(self, path):
|
||||
path = os.path.expanduser(path)
|
||||
|
||||
Reference in New Issue
Block a user