-
Notifications
You must be signed in to change notification settings - Fork 845
[compress] Add an option to do not compress partial object #12121
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
|
|
||
| // check Partial Object is transformable | ||
| if (host_configuration->range_request_ctl() == RangeRequestCtrl::NO_COMPRESSION) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block restores code prior to the PR #11975 and add another check of Content-Range header in server response. Because cache_range_request might remove Range header from client request.
https://github.com/apache/trafficserver/pull/11975/files#diff-a50782f349c34e95c6c8643b834aaeba685f244f78a645e85a402bbda9012fb6L680-L689
4b6e504 to
86bb2aa
Compare
|
Rebased on the latest master. |
) (cherry picked from commit 678d786)
…12258) * Couple of coverity fixes. (#12145) * Fix for CID-1593545: Uninitialized scalar field * Fix for 1593544 : Unchecked return value from library (cherry picked from commit d605c6c) * [compress] Add an option to do not compress partial object (#12121) (cherry picked from commit 678d786) --------- Co-authored-by: Damian Meden <dmeden@apache.org>
|
This was added to milestone 10.1.x via #12258 |
During #11975 test, we found that new configs doesn't work as expected if other plugins (like
cache_range_request) run first and removeRangeheader from client request.Also, @vmamidi wants to send both of
RangeandAccept-Encodingheaders to allow origin server to return "partial content of compressed content".This PR clarify name of current options and add a new option to do not compress partial object.