diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-26 20:01:51 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-26 20:01:51 +1200 |
commit | 3e158211a830bbcba2dd463189a79ec3ad17c8d4 (patch) | |
tree | b61133ad71a153d77289b408f886de42f79d56b0 /pathod | |
parent | b879890412041e7364a294151a3a8aef5fb62e48 (diff) | |
download | mitmproxy-3e158211a830bbcba2dd463189a79ec3ad17c8d4.tar.gz mitmproxy-3e158211a830bbcba2dd463189a79ec3ad17c8d4.tar.bz2 mitmproxy-3e158211a830bbcba2dd463189a79ec3ad17c8d4.zip |
Add a --nohang flag that turns off pauses in response generation.
Diffstat (limited to 'pathod')
-rwxr-xr-x | pathod | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -35,6 +35,10 @@ if __name__ == "__main__": help='Disable API.' ) parser.add_argument( + "--nohang", dest='nohang', default=False, action="store_true", + help='Disable pauses during crafted response generation.' + ) + parser.add_argument( "--noweb", dest='noweb', default=False, action="store_true", help='Disable both web interface and API.' ) @@ -100,7 +104,8 @@ if __name__ == "__main__": sizelimit = sizelimit, noweb = args.noweb, nocraft = args.nocraft, - noapi = args.noapi + noapi = args.noapi, + nohang = args.nohang ) except pathod.PathodError, v: parser.error(str(v)) |