aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChanhun Jeong <chanhun.jeong@navercorp.com>2019-02-11 13:36:53 +0900
committerChanhun Jeong <chanhun.jeong@navercorp.com>2019-02-11 13:36:53 +0900
commitc5c034f66d55b6836c5c8fa19ab062dbaff009cd (patch)
treeabee99063d9480de5ec146ee3a09f7dd5155af74 /src
parentfc66ccce02767061c334ce6636fbd4e22819b58f (diff)
downloadnginx-c5c034f66d55b6836c5c8fa19ab062dbaff009cd.tar.gz
nginx-c5c034f66d55b6836c5c8fa19ab062dbaff009cd.zip
Upstream: fixed logging of required buffer size (ticket #1722).
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 907105571..a7391d09a 100644
--- 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_t *r, ngx_http_upstream_t *u)
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",