1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules
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
..
caddyevents events: Use WithLazy to prevent eager serialization of the event data (#6671) 2024-11-01 11:28:50 -06:00
caddyfs fix a typo (#6333) 2024-05-21 18:41:41 -04:00
caddyhttp requestbody: Type-based error handling for MaxBytesError (#6701) 2024-11-22 19:45:58 +00:00
caddypki perf: use zap's Check() to prevent useless allocs (#6560) 2024-09-13 11:16:37 -06:00
caddytls core: Implement FastAbs to avoid repeated os.Getwd calls (#6687) 2024-11-13 03:55:51 -05:00
filestorage caddyfile: Normalize & flatten all unmarshalers (#6037) 2024-01-23 19:36:59 -05:00
logging core: Implement FastAbs to avoid repeated os.Getwd calls (#6687) 2024-11-13 03:55:51 -05:00
metrics metrics: scope metrics to active config, add optional per-host metrics (#6531) 2024-10-02 08:23:26 -06:00
standard filesystem: Globally declared filesystems, fs directive (#5833) 2024-01-13 20:12:43 +00:00