File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ fn log_setup(args: Args) -> Option<tracing_appender::non_blocking::WorkerGuard>
565565 #[ cfg( feature = "api_server" ) ]
566566 let ws_logger = {
567567 let addr: & str = args. ws_log_addr . as_deref ( ) . unwrap_or ( log_ws:: DEFAULT_ADDR ) ;
568- if addr. is_empty ( ) {
568+ if addr. is_empty ( ) || !args . api_server {
569569 None
570570 } else {
571571 let logger = log_ws:: WebsocketLogger :: new ( ) ;
Original file line number Diff line number Diff line change 1010
1111因为feature use-native-tls 编译使用了 native-tls, 因此会在 linux 版本中需要 openssl 3 安装在 机器上才行
1212
13- 但是有些老机器上的 openssl 是 1.1.1 版的
13+ 但是有些老机器上的 openssl 是 1.1.1 版的. 可以用 native-tls-vendored feature 解决
1414
1515### 证书
1616
@@ -417,8 +417,9 @@ linux release 使用gnu 版可能会报 glibc 问题, 解决方法是
4174171 . 更新系统的glibc
4184182 . 使用 musl 版
4194193 . 自己编译
420+ 4 . 使用 docker
420421
421- 更新系统的 glibc 是比较危险的做法, 此时推荐使用 musl
422+ 更新系统的 glibc 是比较危险的做法, 此时推荐使用 musl 或者 docker
422423
423424## tproxy: Too many open files
424425
You can’t perform that action at this time.
0 commit comments