add compression flag option for http request

This commit is contained in:
ginuerzh
2024-11-02 20:41:23 +08:00
parent edb9a992e2
commit a12870e766
6 changed files with 23 additions and 11 deletions
+1
View File
@@ -98,6 +98,7 @@ func (h *tunnelHandler) Init(md md.Metadata) (err error) {
IdleConnTimeout: 30 * time.Second,
ResponseHeaderTimeout: h.md.entryPointReadTimeout,
DisableKeepAlives: !h.md.entryPointKeepalive,
DisableCompression: !h.md.entryPointCompression,
}
for _, ro := range h.options.Recorders {