diff options
author | Francis Lavoie <lavofr@gmail.com> | 2022-11-14 11:38:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 09:38:02 -0700 |
commit | ee7c92ec9b57c671c9091ff993b1a24251020c25 (patch) | |
tree | b9d012e3cbcdf75959b69a7210b762fb48c8b78b /modules/caddyhttp/push/link.go | |
parent | 33fdea8f261c306a47b07a6df2c3cb8fe2ad2d5d (diff) |
reverseproxy: Mask the WS close message when we're the client (#5199)
* reverseproxy: Mask the WS close message when we're the client
* weakrand
* Bump golangci-lint version so path ignores work on Windows
* gofmt
* ugh, gofmt everything, I guess
Diffstat (limited to 'modules/caddyhttp/push/link.go')
-rw-r--r-- | modules/caddyhttp/push/link.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/caddyhttp/push/link.go b/modules/caddyhttp/push/link.go index f7c1dd8..855dffd 100644 --- a/modules/caddyhttp/push/link.go +++ b/modules/caddyhttp/push/link.go @@ -29,9 +29,9 @@ type linkResource struct { // // Accepted formats are: // -// Link: <resource>; as=script -// Link: <resource>; as=script,<resource>; as=style -// Link: <resource>;<resource2> +// Link: <resource>; as=script +// Link: <resource>; as=script,<resource>; as=style +// Link: <resource>;<resource2> // // where <resource> begins with a forward slash (/). func parseLinkHeader(header string) []linkResource { |