mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 12:25:00 +08:00
Make upstream-cert the default. There's now a --no-upstream-cert option to turn it off.
This commit is contained in:
@@ -212,9 +212,9 @@ def common_options(parser):
|
||||
help="Wait for specified number of seconds after a new cert is generated. This can smooth over small discrepancies between the client and server times."
|
||||
)
|
||||
parser.add_option(
|
||||
"--upstream-cert", default=False,
|
||||
action="store_true", dest="upstream_cert",
|
||||
help="Connect to upstream server to look up certificate details."
|
||||
"--no-upstream-cert", default=False,
|
||||
action="store_true", dest="no_upstream_cert",
|
||||
help="Don't connect to upstream server to look up certificate details."
|
||||
)
|
||||
|
||||
group = optparse.OptionGroup(parser, "Client Replay")
|
||||
|
||||
Reference in New Issue
Block a user