[nginx] Upstream: fixed logging of required buffer size (ticket #1722).
Maxim Dounin
mdounin at mdounin.ru
Tue Feb 12 19:41:38 UTC 2019
details: https://hg.nginx.org/nginx/rev/608810849b6d
branches:
changeset: 7456:608810849b6d
user: Chanhun Jeong <chanhun.jeong at 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",
More information about the nginx-devel
mailing list