-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Description
Having configuration:
CONFIG proxy.config.http.negative_revalidating_enabled INT 1
CONFIG proxy.config.http.negative_revalidating_lifetime INT 10
I have such scenario:
- with executing
GET /test HTTP/1.1origin repliesHTTP/1.1 200 OKwith header:Cache-Control: max-age=11, publicand some content, I seeTCP_MISS/200insquid.log, I am happy with the reply - then I configured origin to reply
HTTP/1.1 503 Service Unavailablewithcache-control: no-cache - did again
GET /test HTTP/1.1, got proper 200 reply from cache, insquid.logI seeTCP_REFRESH_MISS/200 sleep 15(more thennegative_revalidating_lifetime)- did again
GET /test HTTP/1.1, got:- surprising 200 reply
- expected: 503 code from the origin
- in
squid.logI seeTCP_REFRESH_MISS/200
It happens with 7.1.11, 8.1.0 and 8.1.1.
Note: Same happens if origin is just down, where I'd expect 5xx code from trafficserver after waiting for enough of time.