Mercurial > hg > nginx-quic
view src/mysql/config @ 4460:6299d1c4dbb4
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 | Fri, 10 Feb 2012 14:31:04 +0000 |
parents | 7cbef16c71a1 |
children |
line wrap: on
line source
ngx_addon_name=ngx_mysql HTTP_MODULES="$HTTP_MODULES ngx_http_mysql_test_module" HTTP_INCS="$HTTP_INCS $ngx_addon_dir" HTTP_DEPS="$HTTP_DEPS $ngx_addon_dir/ngx_mysql.h" #CORE_LIBS="$CORE_LIBS -lmd" USE_SHA1=YES NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_mysql.c" NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_mysql_test.c"