rails/activestorage/app
Joé Dupuis f7ecde8331
Expire caching when a download fail while proxying in ActiveStorage
Fix #51284

Both Proxy controllers in Active Storage set the caching headers early
before streaming.

In some instances (see #51284), it is possible for the file
download (from the service to server) to fail before we send the first
byte to the client (response not yet committed).

In those instances, this change would invalidate the cache and return
a better response status before closing the stream.
2024-06-17 09:49:11 -07:00
..
assets/javascripts Fix submit button selector for type-less buttons 2023-11-24 15:36:13 -06:00
controllers Expire caching when a download fail while proxying in ActiveStorage 2024-06-17 09:49:11 -07:00
javascript/activestorage Fix submit button selector for type-less buttons 2023-11-24 15:36:13 -06:00
jobs/active_storage Fixes race condition when multiple preprocessed variants are defined for a Previewable file is attached 2024-02-09 13:22:35 -05:00
models/active_storage Allow ActiveStorage::Attachment creation with no record attachments 2024-05-28 01:21:22 -06:00