Skip to content

Commit

Permalink
更新文档以建议将'--never-ask-for-auth'设置为true以降低嗅探风险
Browse files Browse the repository at this point in the history
  • Loading branch information
arloor committed Nov 17, 2024
1 parent 6190405 commit ffaebef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Options:
可以多次指定,也可以不指定
--never-ask-for-auth
if enable, never send '407 Proxy Authentication Required' to client。
不建议开启,否则有被嗅探的风险
建议设置为true,否则有被嗅探的风险
-o, --over-tls
if enable, proxy server will listen on https
--hostname <HOSTNAME>
Expand Down
2 changes: 1 addition & 1 deletion rust_http_proxy/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub struct Param {
#[arg(
long,
help = "if enable, never send '407 Proxy Authentication Required' to client。\n\
不建议开启,否则有被嗅探的风险"
建议设置为true,否则有被嗅探的风险"
)]
never_ask_for_auth: bool,
#[arg(short, long, help = "if enable, proxy server will listen on https")]
Expand Down

0 comments on commit ffaebef

Please sign in to comment.