masaori335 commented on code in PR #12121:
URL: https://github.com/apache/trafficserver/pull/12121#discussion_r2009524055


##########
plugins/compress/compress.cc:
##########
@@ -733,6 +737,26 @@ transformable(TSHttpTxn txnp, bool server, 
HostConfiguration *host_configuration
     return 0;
   }
 
+  // check Partial Object is transformable
+  if (host_configuration->range_request_ctl() == 
RangeRequestCtrl::NO_COMPRESSION) {

Review Comment:
   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



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to