cheluskin opened a new issue #7187:
URL: https://github.com/apache/trafficserver/issues/7187


   
   First I ask for the range 0-500000 then 0-5000000.
   In the first case it is age 2, in the second it is an incorrect value 
because it cannot be in the cache yet
   
   `service trafficserver stop && /opt/trafficserver/bin/traffic_server -Cclear 
&& service trafficserver startStopping trafficserver`
   
   `curl -sSL -D - -r 0-500000 
https://cdn.fps.cdn1.mycdn.com/contents/videos/17000/17868/17868_720p.mp4 -o 
/dev/null`
   HTTP/1.1 206 Partial Content
   Server: nginx
   Date: Sun, 13 Sep 2020 13:25:27 GMT
   Content-Type: video/mp4
   Content-Length: 500001
   Last-Modified: Wed, 11 Mar 2020 07:27:42 GMT
   ETag: "5e6892ee-27fb5287"
   Expires: Thu, 31 Dec 2037 23:55:55 GMT
   Cache-Control: max-age=315360000
   Content-Range: bytes 0-500000/670782087
   Age: 2
   Connection: keep-alive
   
   `curl -sSL -D - -r 0-5000000 
https://cdn.fps.cdn1.mycdn.com/contents/videos/17000/17868/17868_720p.mp4 -o 
/dev/null`
   HTTP/1.1 206 Partial Content
   Server: nginx
   Date: Sun, 13 Sep 2020 13:25:27 GMT
   Content-Type: video/mp4
   Content-Length: 5000001
   Last-Modified: Wed, 11 Mar 2020 07:27:42 GMT
   ETag: "5e6892ee-27fb5287"
   Expires: Thu, 31 Dec 2037 23:55:55 GMT
   Cache-Control: max-age=315360000
   Content-Range: bytes 0-5000000/670782087
   Age: 28
   Connection: keep-alive
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to