1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
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 caddyhttp: Address some Go 1.20 features (#6252) 2024-04-24 00:05:57 +00:00
requestbody.go requestbody: Type-based error handling for MaxBytesError (#6701) 2024-11-22 19:45:58 +00:00