comparison conf/nginx.conf @ 4507:e66122a62bde stable-1.0

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 05 Mar 2012 12:15:02 +0000
parents 1e90599af73b
children 50f531a55b73
comparison
equal deleted inserted replaced
4506:14f8e8a0cc77 4507:e66122a62bde