mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Do not look for Content-Length in headers and try to convert them into integer representations use ContentLength field from *http.Request*. If Content-Length is understood to be as '-1' then treat it as an error condition, since it could be a malformed body to crash the server. Fixes #1011
1.2 KiB
1.2 KiB