Add --norefresh to stop refreshing server playback to mitmdump.

Also, make cookie parsing for refreshing more error-tolerant.
This commit is contained in:
Aldo Cortesi
2011-03-11 11:56:10 +13:00
parent e99b1d1949
commit daa9653ebe
6 changed files with 55 additions and 4 deletions

View File

@@ -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)