Browse Source
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 bodiespull/8147/head
1 changed files with 12 additions and 1 deletions
Loading…
Reference in new issue