client_body_buffer_size

Igor Savchenko dicsydel at gmail.com
Tue Dec 11 18:52:00 MSK 2007


Если выставить в конфиге client_body_buffer_size 0 то очень странно ведет
себя nginx, а именно:

 

Независимо от client_body_in_file_only запрос пишется в файл.

 

Причем если запрос меньше 783 байт то он проходит успешно, если больше то
500 ошибка.

 

Это нормально? Если надо могу выслать дебаг лог.

 

-V:

nginx version: nginx/0.6.21

configure arguments: --with-poll_module --prefix=/usr --user=www-data
--group=www-data --conf-path=/etc/nginx/nginx.conf
--pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/cache/nginx/client-body
--http-proxy-temp-path=/var/cache/nginx/proxy
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi --without-mail_imap_module
--with-http_ssl_module --with-http_realip_module
--with-http_stub_status_module --with-http_perl_module --with-debug

 

-t:

2007/12/11 10:52:16 [info] 4638#0: the configuration file
/etc/nginx/nginx.conf syntax is ok

2007/12/11 10:52:16 [info] 4638#0: the configuration file
/etc/nginx/nginx.conf was tested successfully

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20071211/a42fbc26/attachment.html>


More information about the nginx-ru mailing list