fix r2664: ..._cache_valid did not work for stale responses
Igor Sysoev
13 years ago
1 changed file(s) with
1 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-0
src/http/ngx_http_upstream.c
less
more
580
580
581
581
} else if (rc == NGX_HTTP_CACHE_STALE) {
582
582
583
c->valid_sec = 0;
583
584
u->stale_cache = 1;
584
585
u->buffer.start = NULL;
585
586