Welcome! Log In Create A New Profile

Advanced

[nginx] Cache: fixed updating bypassed cached errors (ticket #827).

Maxim Dounin
May 16, 2016 01:42PM
details: http://hg.nginx.org/nginx/rev/d94f57990492
branches:
changeset: 6539:d94f57990492
user: Maxim Dounin <mdounin@mdounin.ru>
date: Mon May 16 20:37:38 2016 +0300
description:
Cache: fixed updating bypassed cached errors (ticket #827).

diffstat:

src/http/ngx_http_file_cache.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -1403,6 +1403,7 @@ ngx_http_file_cache_update(ngx_http_requ
ngx_shmtx_lock(&cache->shpool->mutex);

c->node->count--;
+ c->node->error = 0;
c->node->uniq = uniq;
c->node->body_start = c->body_start;


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Cache: fixed updating bypassed cached errors (ticket #827).

Maxim Dounin 306 May 16, 2016 01:42PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready