ezelkow1 opened a new issue #7688:
URL: https://github.com/apache/trafficserver/issues/7688


   Doing a curl with gzip (this is with caching compressed turned off so it is 
on the fly):
   curl http://localhost:8080/index.html -Lvsk -o /dev/null -H 
"Accept-Encoding: gzip"
   with remap
   map / http://google.com @plugin=compress.so @pparam=compress.config
   
   That remap will force a redirect to www.google.com. 
   < Content-Encoding: gzip
   but still gzip the content. The plugin reports:
   [ET_NET 12] DIAG: (compress) INFO: Kicking off compress plugin for request
   [ET_NET 12] DIAG: (compress) INFO: normalized accept encoding to gzip
   [ET_NET 12] DIAG: (compress) INFO: handling compression of cached object
   
   So it did still compress, and i could see the proper content encoding. 
However in the logging
   pce="""-"""
   pce="""%<{Content-Encoding}psh>"""
   
   So even though we got a compressed response it was not logged as gzipped
   
   If you change the remap to www.google.com instead so you avoid the redirect 
then everything is logged as it should be


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to