mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
improve docstring for rawtcp
This commit is contained in:
parent
79354235a6
commit
1f98c7be4f
@ -173,7 +173,7 @@ class Options(optmanager.OptManager):
|
|||||||
)
|
)
|
||||||
self.add_option(
|
self.add_option(
|
||||||
"server", bool, True,
|
"server", bool, True,
|
||||||
"Start a proxy server."
|
"Start a proxy server. Enabled by default."
|
||||||
)
|
)
|
||||||
self.add_option(
|
self.add_option(
|
||||||
"server_replay_nopop", bool, False,
|
"server_replay_nopop", bool, False,
|
||||||
@ -406,8 +406,9 @@ class Options(optmanager.OptManager):
|
|||||||
)
|
)
|
||||||
self.add_option(
|
self.add_option(
|
||||||
"rawtcp", bool, False,
|
"rawtcp", bool, False,
|
||||||
"Enable/disable experimental raw TCP support. "
|
"Enable/disable experimental raw TCP support. TCP connections starting with non-ascii "
|
||||||
"Disabled by default. "
|
"bytes are treated as if they would match tcp_hosts. The heuristic is very rough, use "
|
||||||
|
"with caution. Disabled by default. "
|
||||||
)
|
)
|
||||||
|
|
||||||
self.add_option(
|
self.add_option(
|
||||||
|
Loading…
Reference in New Issue
Block a user