优化ip获取流程

This commit is contained in:
bjdgyc
2023-01-03 17:16:28 +08:00
parent c8bde076d8
commit c267553287
9 changed files with 106 additions and 34 deletions

View File

@@ -66,7 +66,7 @@ func startTls() {
if base.Cfg.ProxyProtocol {
ln = &proxyproto.Listener{
Listener: ln,
ReadHeaderTimeout: 20 * time.Second,
ReadHeaderTimeout: 40 * time.Second,
}
}