summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-03-05 12:15:02 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-03-05 12:15:02 +0000
commit27b9a05b4b957adc5a7d87e5d0baebbec9dc26e6 (patch)
tree318e8b69e65fb782c6d528702ad040e9cb3b7e6b /src/http/ngx_http_core_module.c
parent9ec45d5f6fde95be4a19669d631044cfe7b52cb6 (diff)
downloadnginx-27b9a05b4b957adc5a7d87e5d0baebbec9dc26e6.tar.gz
nginx-27b9a05b4b957adc5a7d87e5d0baebbec9dc26e6.tar.bz2
Merge of r4461: upstream: fixed "too big header" check.
If header filter postponed processing of a header by returning NGX_AGAIN and not moved u->buffer->pos, previous check incorrectly assumed there is additional space and did another recv() with zero-size buffer. This resulted in "upstream prematurely closed connection" error instead of correct "upstream sent too big header" one. Patch by Feibo Li.
Diffstat (limited to 'src/http/ngx_http_core_module.c')
0 files changed, 0 insertions, 0 deletions