mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-12 22:48:54 +08:00
Don't turn off output if -v flag is passed more than twice.
This commit is contained in:
@@ -172,7 +172,7 @@ class DumpMaster(flow.FlowMaster):
|
||||
print >> self.outfile
|
||||
print >> self.outfile, result
|
||||
print >> self.outfile, "\n"
|
||||
elif self.o.verbosity == 3:
|
||||
elif self.o.verbosity >= 3:
|
||||
print >> self.outfile, str_request(f.request)
|
||||
print >> self.outfile, self.indent(4, f.request.headers)
|
||||
if utils.isBin(f.request.content):
|
||||
@@ -182,6 +182,7 @@ class DumpMaster(flow.FlowMaster):
|
||||
print >> self.outfile
|
||||
print >> self.outfile, result
|
||||
print >> self.outfile, "\n"
|
||||
|
||||
self.state.delete_flow(f)
|
||||
if self.o.wfile:
|
||||
self.fwriter.add(f)
|
||||
|
||||
Reference in New Issue
Block a user