Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpFoundation][FrameworkBundle] AddBinaryFileResponse::setXSendfileHeader() and corresponding config option to help configure upload acceleration#58162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
8465ad4 to37b2ffbCompareUh oh!
There was an error while loading.Please reload this page.
…S`, `SYMFONY_TRUSTED_HEADERS`, `SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER` and `SYMFONY_TRUSTED_HOSTS` env vars
…eHeader() and corresponding config option to help configure upload acceleration
37b2ffb toafd4b3dCompareBinaryFileResponse::setXSendfileHeader() and corresponding config option to help configure upload accelerationnicolas-grekas commentedSep 5, 2024
Let me withdraw this PR: X-Senfile-Type is coming from the RoR world, and requires the server to send an X-Accel-Mapping header anyway so there is always something to configure on the server-side (at least for nginx) Seehttps://github.com/rack/rack/blob/main/lib/rack/sendfile.rb andhttps://mattbrictson.com/blog/accelerated-rails-downloads for more on the topic. |
nicolas-grekas commentedSep 5, 2024
See also#58181 |
Follows#58161 (comment) (and embeds the corresponding commit for now)