diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-08-03 16:44:17 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-08-03 16:44:17 +0200 |
commit | 1f98c7be4f3fa6eb56e7760fb99dfaaadbf0f541 (patch) | |
tree | 818466f49b1e33417a710b0406d41a7e0c2bc93c | |
parent | 79354235a687ce8cd4b855b3b292fe3c432660c7 (diff) | |
download | mitmproxy-1f98c7be4f3fa6eb56e7760fb99dfaaadbf0f541.tar.gz mitmproxy-1f98c7be4f3fa6eb56e7760fb99dfaaadbf0f541.tar.bz2 mitmproxy-1f98c7be4f3fa6eb56e7760fb99dfaaadbf0f541.zip |
improve docstring for rawtcp
-rw-r--r-- | mitmproxy/options.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 20151c19..1ecdd6a6 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -173,7 +173,7 @@ class Options(optmanager.OptManager): ) self.add_option( "server", bool, True, - "Start a proxy server." + "Start a proxy server. Enabled by default." ) self.add_option( "server_replay_nopop", bool, False, @@ -406,8 +406,9 @@ class Options(optmanager.OptManager): ) self.add_option( "rawtcp", bool, False, - "Enable/disable experimental raw TCP support. " - "Disabled by default. " + "Enable/disable experimental raw TCP support. TCP connections starting with non-ascii " + "bytes are treated as if they would match tcp_hosts. The heuristic is very rough, use " + "with caution. Disabled by default. " ) self.add_option( |