xq2248 opened a new issue, #9422:
URL: https://github.com/apache/trafficserver/issues/9422

   The global blockbytes of slice.so is set to 1mb in plugin.config.
   The  blockbytes of slice.so of a specific remap rule is set to 2mb in the 
remap.config.
   The final result of blockbyte is 1mb. It seems that the "@plugin=slice.so 
@pparam=-b @pparam=2097152" does not work.
   
   plugin.config as follows: 
   [zxats@ats trafficserver]$ cat plugin.config 
   #slice.so --blockbytes=256k
   slice.so --blockbytes=1m
   cache_range_requests.so
   
   remap.config as follows:
   map http://10.57.66.173:6510/v96-dy.ixigua.com/ http://10.57.66.164:80/ \
       @plugin=slice.so @pparam=-b @pparam=2097152 \
       @plugin=cache_range_requests.so
   
   squid.log as follows:
   1676537269.711 14 192.168.1.246 TCP_MISS/206 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 1048887 GET curl/7.29.0 bytes=0-1048575 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 - DIRECT/192.168.1.164 text/plain
   1676537269.725 11 192.168.1.246 TCP_HIT/206 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 1048887 GET curl/7.29.0 bytes=1048576-2097151 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 - NONE/- text/plain
   1676537269.741 5 192.168.1.246 TCP_MEM_HIT/206 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 1048887 GET curl/7.29.0 bytes=2097152-3145727 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 - NONE/- text/plain
   1676537269.752 5 192.168.1.246 TCP_MEM_HIT/206 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 1048887 GET curl/7.29.0 bytes=3145728-4194303 
http://192.168.1.164:80/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 - NONE/- text/plain
   1676537269.709 59 192.168.1.246 TCP_MISS/200 
http://192.168.1.173:6510/www.mytest.com/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 4194567 GET curl/7.29.0 - 
http://192.168.1.173:6510/www.mytest.com/2b815d65607546e70b3ba75c44c53454/671b8225/videoHIT/20220228/750kC11677/220349073fbfa334df1950743251062fd7b1161fe24400008c0beaxq+0222/?aaa=10
 - DIRECT/192.168.1.173 text/plain
   
   
   
   


-- 
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: [email protected]

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

Reply via email to