summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode/zstd
diff options
context:
space:
mode:
authorSimon Legner <Simon.Legner@gmail.com>2022-08-25 11:00:05 +0200
committerGitHub <noreply@github.com>2022-08-25 12:00:05 +0300
commit66596f2d74dfbd876cbd140467491951b69dec5c (patch)
tree6146c965bcf6c64458628bcd7dc0f505aab0f2e7 /modules/caddyhttp/encode/zstd
parentb540f195b1bdf5ea8b869e43431a3f1d64810753 (diff)
zstd: fix typo in comment (#4985)
Diffstat (limited to 'modules/caddyhttp/encode/zstd')
-rw-r--r--modules/caddyhttp/encode/zstd/zstd.go2
1 files changed, 1 insertions, 1 deletions
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