caddy/modules/caddyhttp/requestbody
Rishita Shaw 8c3dd3de70
requestbody: Type-based error handling for MaxBytesError (#6701)
* fix: handle "request body too large" error using type assertion

* fix: address overlooked nil check for MaxBytesError

* fix: replace type assertion with errors.As() for MaxBytesError
2024-11-22 19:45:58 +00:00
..
caddyfile.go
requestbody.go requestbody: Type-based error handling for MaxBytesError (#6701) 2024-11-22 19:45:58 +00:00