<html><head><style>p{margin-top:0px;margin-bottom:0px;}</style></head><body><div style="font-size:13px; font-family:Gulim,굴림,sans-serif;"><div><span># HG changeset patch</span></div><div><span># User Chanhun Jeong <chanhun.jeong@navercorp.com></span></div><div><span># Date 1549859813 -32400</span></div><div><span># Mon Feb 11 13:36:53 2019 +0900</span></div><div><span># Node ID f2648ca4ed03a907e6d3c22729be82b3bc4027a0</span></div><div><span># Parent 992bf7540a980c48a37c305d2c511cf9a48fe701</span></div><div><span>Fix buffer size comparison for the case header_start + 256 has same value to buffer_size (ticket #1722).</span></div><div><span></span></div><div><span>diff -r 992bf7540a98 -r f2648ca4ed03 src/http/ngx_http_upstream.c</span></div><div><span>--- a/src/http/ngx_http_upstream.c Thu Feb 07 19:39:35 2019 +0300</span></div><div><span>+++ b/src/http/ngx_http_upstream.c Mon Feb 11 13:36:53 2019 +0900</span></div><div><span>@@ -850,7 +850,7 @@</span></div><div><span></span></div><div><span> ngx_http_file_cache_create_key(r);</span></div><div><span></span></div><div><span>- if (r->cache->header_start + 256 >= u->conf->buffer_size) {</span></div><div><span>+ if (r->cache->header_start + 256 > u->conf->buffer_size) {</span></div><div><span> ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,</span></div><div><span> "%V_buffer_size %uz is not enough for cache key, "</span></div><div><span> "it should be increased to at least %uz",</span></div><div><span></span></div><div><span></span></div></div></body></html><table style='display:none'><tr><td><img src="https://ack.mail.navercorp.com/readReceipt/notify/?img=qXYmKo2ZKqtXKouYaqumaAbwpoF0KoCCpzFvMqJ0Mq04M6UwMxv9F6urtzFXp6UmKZl5W63474lcWNFlbX30WLloWrdQarlN16l%2F7630%2B4kntzlN16l%2F74eZpm%3D%3D.gif" border="0"/></td></tr></table>