From 98013d77462c74592e08b10409ee3bbf517b1cdc Mon Sep 17 00:00:00 2001 From: ty Date: Sat, 8 Jun 2024 12:29:13 +0800 Subject: [PATCH] fix: wrong compression name, should be brotli --- src/service/local.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/local.rs b/src/service/local.rs index 561ca251165a..d9741ef5a361 100644 --- a/src/service/local.rs +++ b/src/service/local.rs @@ -1112,7 +1112,7 @@ async fn get_online_config_servers( .user_agent(SHADOWSOCKS_USER_AGENT) .deflate(true) .gzip(true) - .deflate(true) + .brotli(true) .zstd(true) .redirect(Policy::limited(3)) .timeout(Duration::from_secs(30))