mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-14 08:30:38 +00:00
e862888d2d
Add request body size limiting (10MB) to readRequestBody method: - Define maxRequestBodySize constant to prevent unbounded reads - Use io.LimitReader to enforce size limit - Add explicit error handling for oversized requests - Prevents potential DoS attacks via large request bodies