Welcome! Log In Create A New Profile

Advanced

[nginx] Upstream: fixed logging of required buffer size (ticket #1722).

Maxim Dounin
February 12, 2019 02:42PM
details: https://hg.nginx.org/nginx/rev/608810849b6d
branches:
changeset: 7456:608810849b6d
user: Chanhun Jeong <chanhun.jeong@navercorp.com>
date: Mon Feb 11 13:36:53 2019 +0900
description:
Upstream: fixed logging of required buffer size (ticket #1722).

diffstat:

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

diffs (12 lines):

diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -850,7 +850,7 @@ ngx_http_upstream_cache(ngx_http_request

ngx_http_file_cache_create_key(r);

- if (r->cache->header_start + 256 >= u->conf->buffer_size) {
+ if (r->cache->header_start + 256 > u->conf->buffer_size) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
"%V_buffer_size %uz is not enough for cache key, "
"it should be increased to at least %uz",
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Upstream: fixed logging of required buffer size (ticket #1722).

Maxim Dounin 232 February 12, 2019 02:42PM



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

Online Users

Guests: 244
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