The idea is to return a transient error status to allow Clients to retry (A 404 
error may be a little too strong).

Additionally, an @Ats-Internal header is added to the 5xx response, to allow 
plugins to override the status code as needed.

Thanks,

Sudheer 


On Monday, April 18, 2016 8:46 PM, 张友力 <[email protected]> wrote:



Hi,

Thanks a lot for your amazing work with the Apache Traffic Server. It saves 
many servers and improve user experience.

When I was reading the document, a question came up in my mind.
The config proxy.config.http.cache.open_write_fail_action has 5 options. Is 
there some reason for returning 502 instead of 404 on a cache miss ? I think 
404 might be a proper response for "something miss".

the config's link is: 
https://docs.trafficserver.apache.org/en/latest/admin-guide/files/records.config.en.html#proxy-config-http-cache-open-write-fail-action

Best Wishes.
Yuri

Reply via email to