mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-21 12:16:14 -06:00
[bugfix] Wrap media reader in length reader to determine length if no content-length given (#848)
* use lengthReader 2 determine fileSize if not given * update tests * small fixes * go fmt
This commit is contained in:
parent
69a193dae5
commit
78409f1985
6 changed files with 397 additions and 30 deletions
BIN
internal/media/test/big-panda.gif
Normal file
BIN
internal/media/test/big-panda.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 631 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 10 KiB |
Loading…
Add table
Add a link
Reference in a new issue