mastodon/lib
Claire 48f8658d34
Fix upload of remote media with OpenStack Swift sometimes failing (#16998)
Under certain conditions, files fetched from remotes trigger an error when
being uploaded using OpenStack Swift. This is because in some cases, the
remote server will not return a content-length, so our ResponseWithLimitAdapter
will hold a `nil` value for `#size`, which will lead to an invalid value
for the Content-Length header of the Swift API call.

This commit fixes that by taking the size from the actually-downloaded file
size rather than the upstream-provided Content-Length header value.
2021-11-16 21:36:28 +01:00
..
action_dispatch
active_record
assets
chewy/strategy
devise
generators
json_ld
mastodon Forward port version bumps to 3.4.2 and 3.4.3 (#16945) 2021-11-06 05:32:14 +01:00
paperclip Fix upload of remote media with OpenStack Swift sometimes failing (#16998) 2021-11-16 21:36:28 +01:00
rails
redis
sanitize_ext
tasks Fix "bundle exec rails mastodon:setup" crashing in some circumstances (#16976) 2021-11-11 14:00:30 +01:00
templates
terrapin
webpacker
cli.rb Fix tootctl self-destruct not sending Delete activities for recently-suspended accounts (#16688) 2021-10-14 19:59:28 +02:00
enumerable.rb
exceptions.rb