dendrite/mediaapi/routing
S7evinK 9ed0440421
Set MaxFileSizeBytes <= 0 to "unlimited" (#1875)
* Set MaxFileSizeBytes < 0 to "unlimited"

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* int64 overflows later in mediaapi/routing/upload.go[doUpload]

* Prevent int overflow when uploading
2021-06-14 14:12:03 +01:00
..
download.go Retrieve remote file size without the Content-Size header (#1537) 2021-02-17 13:54:53 +00:00
routing.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
upload.go Set MaxFileSizeBytes <= 0 to "unlimited" (#1875) 2021-06-14 14:12:03 +01:00
upload_test.go Use LimitReader to prevent DoS risk (#1843) 2021-06-07 09:17:20 +01:00