Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_proxy_module.c @ 1125:2d978e1443ed
use the contemporary directives
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 Feb 2007 11:50:39 +0000 |
parents | db7c468c447d |
children | 1666b7b0bafc |
comparison
equal
deleted
inserted
replaced
1124:f1a8c6cd10ba | 1125:2d978e1443ed |
---|---|
1583 } | 1583 } |
1584 | 1584 |
1585 if (conf->upstream.busy_buffers_size < size) { | 1585 if (conf->upstream.busy_buffers_size < size) { |
1586 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 1586 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
1587 "\"proxy_busy_buffers_size\" must be equal or bigger than " | 1587 "\"proxy_busy_buffers_size\" must be equal or bigger than " |
1588 "maximum of the value of \"proxy_header_buffer_size\" and " | 1588 "maximum of the value of \"proxy_buffer_size\" and " |
1589 "one of the \"proxy_buffers\""); | 1589 "one of the \"proxy_buffers\""); |
1590 | 1590 |
1591 return NGX_CONF_ERROR; | 1591 return NGX_CONF_ERROR; |
1592 } | 1592 } |
1593 | 1593 |
1614 } | 1614 } |
1615 | 1615 |
1616 if (conf->upstream.temp_file_write_size < size) { | 1616 if (conf->upstream.temp_file_write_size < size) { |
1617 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 1617 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
1618 "\"proxy_temp_file_write_size\" must be equal or bigger than " | 1618 "\"proxy_temp_file_write_size\" must be equal or bigger than " |
1619 "maximum of the value of \"proxy_header_buffer_size\" and " | 1619 "maximum of the value of \"proxy_buffer_size\" and " |
1620 "one of the \"proxy_buffers\""); | 1620 "one of the \"proxy_buffers\""); |
1621 | 1621 |
1622 return NGX_CONF_ERROR; | 1622 return NGX_CONF_ERROR; |
1623 } | 1623 } |
1624 | 1624 |
1637 && conf->upstream.max_temp_file_size < size) | 1637 && conf->upstream.max_temp_file_size < size) |
1638 { | 1638 { |
1639 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 1639 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
1640 "\"proxy_max_temp_file_size\" must be equal to zero to disable " | 1640 "\"proxy_max_temp_file_size\" must be equal to zero to disable " |
1641 "the temporary files usage or must be equal or bigger than " | 1641 "the temporary files usage or must be equal or bigger than " |
1642 "maximum of the value of \"proxy_header_buffer_size\" and " | 1642 "maximum of the value of \"proxy_buffer_size\" and " |
1643 "one of the \"proxy_buffers\""); | 1643 "one of the \"proxy_buffers\""); |
1644 | 1644 |
1645 return NGX_CONF_ERROR; | 1645 return NGX_CONF_ERROR; |
1646 } | 1646 } |
1647 | 1647 |