encode: make zstd checksum configurable (#7586)

* http: make zstd checksum configurable

* disable_checksum
This commit is contained in:
Sam Ottenhoff
2026-03-28 15:07:21 -04:00
committed by GitHub
parent 62e9c05264
commit 7a630f2910
3 changed files with 94 additions and 27 deletions
+4 -1
View File
@@ -41,7 +41,10 @@ func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error)
//
// encode [<matcher>] <formats...> {
// gzip [<level>]
// zstd
// zstd [<level>] {
// level <level>
// disable_checksum
// }
// minimum_length <length>
// # response matcher block
// match {