comparison src/http/ngx_http_upstream.c @ 5581:4dee5ad51e9e

Upstream: fixed error message wording.
author Konstantin Pavlov <thresh@nginx.com>
date Thu, 20 Feb 2014 13:48:40 +0400
parents 7586e7b2dbe9
children 345e4fd4bb64
comparison
equal deleted inserted replaced
5580:06c227e9edd0 5581:4dee5ad51e9e
713 ngx_http_file_cache_create_key(r); 713 ngx_http_file_cache_create_key(r);
714 714
715 if (r->cache->header_start + 256 >= u->conf->buffer_size) { 715 if (r->cache->header_start + 256 >= u->conf->buffer_size) {
716 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 716 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
717 "%V_buffer_size %uz is not enough for cache key, " 717 "%V_buffer_size %uz is not enough for cache key, "
718 "it should increased at least to %uz", 718 "it should be increased to at least %uz",
719 &u->conf->module, u->conf->buffer_size, 719 &u->conf->module, u->conf->buffer_size,
720 ngx_align(r->cache->header_start + 256, 1024)); 720 ngx_align(r->cache->header_start + 256, 1024));
721 721
722 r->cache = NULL; 722 r->cache = NULL;
723 return NGX_DECLINED; 723 return NGX_DECLINED;