perf(服务端): 启用 h2c 并保留 HTTP/1.1 回退

This commit is contained in:
yangjianbo
2026-01-24 20:01:03 +08:00
parent fbf72f0ec4
commit bece1b5201
4 changed files with 38 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ example.com {
# 连接池优化
transport http {
versions h2c h1
keepalive 120s
keepalive_idle_conns 256
read_buffer 16KB