limit_rate_after
Лазовский Вадим
lvm at rkmail.ru
Thu May 28 14:49:14 MSD 2009
Igor Sysoev пишет:
> Патч, директива limit_rate_after:
>
> limit_rate_after 1m;
> limit_rate 100k;
>
> Скорость ограничивается только после отдачи указанного числа байтов.
>
>
>
Здравствуйте.
# patch -p0 < patch.limit_rate_after
(Stripping trailing CRs from patch.)
patching file src/http/ngx_http_core_module.c
Hunk #2 succeeded at 2919 with fuzz 1 (offset -12 lines).
Hunk #3 succeeded at 3118 (offset -13 lines).
(Stripping trailing CRs from patch.)
patching file src/http/ngx_http_core_module.h
(Stripping trailing CRs from patch.)
patching file src/http/ngx_http_write_filter_module.c
После наложения патча, при компиляции:
src/http/ngx_http_write_filter_module.c: In function
Б??ngx_http_write_filterБ??:
src/http/ngx_http_write_filter_module.c:248: error: comparison between
signed and unsigned
make[1]: *** [objs/src/http/ngx_http_write_filter_module.o] Error 1
make[1]: Leaving directory `/usr/src/nginx-0.7.59'
make: *** [build] Error 2
В configure, если это важно:
--add-module=../nginx_uploadprogress_module
OS: openSUSE 11.0 (X86-64)
Спасибо за внимание.
More information about the nginx-ru
mailing list