This commit is contained in:
wjqserver 2025-06-13 15:23:46 +08:00
parent b86e58cddf
commit a5bf7686bd
6 changed files with 14 additions and 18 deletions

View file

@ -110,6 +110,8 @@ func ChunkedProxyRequest(ctx context.Context, c *app.RequestContext, u string, c
bodyReader = limitreader.NewRateLimitedReader(bodyReader, bandwidthLimit, int(bandwidthBurst), ctx)
}
defer bodyReader.Close()
if MatcherShell(u) && matchString(matcher) && cfg.Shell.Editor {
// 判断body是不是gzip
var compress string