mirror of
https://github.com/caddyserver/caddy.git
synced 2026-04-21 10:49:17 +02:00
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
This commit is contained in:
@@ -53,9 +53,9 @@ func (StaticError) CaddyModule() caddy.ModuleInfo {
|
||||
|
||||
// UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax:
|
||||
//
|
||||
// error [<matcher>] <status>|<message> [<status>] {
|
||||
// message <text>
|
||||
// }
|
||||
// error [<matcher>] <status>|<message> [<status>] {
|
||||
// message <text>
|
||||
// }
|
||||
//
|
||||
// If there is just one argument (other than the matcher), it is considered
|
||||
// to be a status code if it's a valid positive integer of 3 digits.
|
||||
|
||||
Reference in New Issue
Block a user