From 66596f2d74dfbd876cbd140467491951b69dec5c Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Thu, 25 Aug 2022 11:00:05 +0200 Subject: zstd: fix typo in comment (#4985) --- modules/caddyhttp/encode/zstd/zstd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/encode') diff --git a/modules/caddyhttp/encode/zstd/zstd.go b/modules/caddyhttp/encode/zstd/zstd.go index d2a638c..3da9b13 100644 --- a/modules/caddyhttp/encode/zstd/zstd.go +++ b/modules/caddyhttp/encode/zstd/zstd.go @@ -45,7 +45,7 @@ func (z *Zstd) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { // used in the Accept-Encoding request headers. func (Zstd) AcceptEncoding() string { return "zstd" } -// NewEncoder returns a new gzip writer. +// NewEncoder returns a new Zstandard writer. func (z Zstd) NewEncoder() encode.Encoder { // The default of 8MB for the window is // too large for many clients, so we limit -- cgit v1.2.3