mirror of
https://github.com/nginx/nginx.git
synced 2026-09-02 19:42:26 +00:00
Upstream: fixed logging of required buffer size (ticket #1722).
This commit is contained in:
parent
fc66ccce02
commit
c5c034f66d
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue