mod_repeater - скорее мёртв чем жив?
Panflov Konstantin Sergeevich
root на error500.ru
Пт Авг 13 11:53:58 MSD 2010
Пробегал тут некоторое продолжительное время назад такой модуль. С
текущей ветгой nginx он несобирается:
1.
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
-Wunused-function -Wunused-variable -Wunused-value -Werror -g -I
src/core -I src/event -I src/event/modules -I src/os/unix -I objs
-I src/http -I src/http/modules -I src/mail \
2.
-o
objs/addon/repeater/ngx_http_repeater_filter_module.o \
3.
src/http/modules/repeater/ngx_http_repeater_filter_module.c
4.
cc1: warnings being treated as errors
5.
src/http/modules/repeater/ngx_http_repeater_filter_module.c: In
function ‘ngx_http_repeater_header_filter’:
6.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘strlen’ differ in
signedness
7.
/usr/include/string.h:397: note: expected ‘const char *’ but
argument is of type ‘u_char *’
8.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘__builtin_strlen’
differ in signedness
9.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
note: expected ‘const char *’ but argument is of type ‘u_char *’
10.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
11.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
note: expected ‘const char *’ but argument is of type ‘u_char *’
12.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘__builtin_strlen’
differ in signedness
13.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
note: expected ‘const char *’ but argument is of type ‘u_char *’
14.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
15.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
note: expected ‘const char *’ but argument is of type ‘u_char *’
16.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
17.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
note: expected ‘const char *’ but argument is of type ‘u_char *’
18.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
19.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
note: expected ‘const char *’ but argument is of type ‘u_char *’
20.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:140:
error: pointer targets in passing argument 1 of ‘strncmp’ differ
in signedness
21.
/usr/include/string.h:145: note: expected ‘const char *’ but
argument is of type ‘u_char *’
22.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘strlen’ differ in
signedness
23.
/usr/include/string.h:397: note: expected ‘const char *’ but
argument is of type ‘u_char *’
24.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘__builtin_strlen’
differ in signedness
25.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
note: expected ‘const char *’ but argument is of type ‘u_char *’
26.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
27.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
note: expected ‘const char *’ but argument is of type ‘u_char *’
28.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘__builtin_strlen’
differ in signedness
29.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
note: expected ‘const char *’ but argument is of type ‘u_char *’
30.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
31.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
note: expected ‘const char *’ but argument is of type ‘u_char *’
32.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
33.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
note: expected ‘const char *’ but argument is of type ‘u_char *’
34.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘__builtin_strcmp’
differ in signedness
35.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
note: expected ‘const char *’ but argument is of type ‘u_char *’
36.
src/http/modules/repeater/ngx_http_repeater_filter_module.c:167:
error: pointer targets in passing argument 1 of ‘strncmp’ differ
in signedness
37.
/usr/include/string.h:145: note: expected ‘const char *’ but
argument is of type ‘u_char *’
38.
make[1]: ***
[objs/addon/repeater/ngx_http_repeater_filter_module.o] Ошибка 1
39.
make[1]: Leaving directory `/tmp/nginx-0.8.49'
40.
make: *** [build] Ошибка 2
обственно вопрос а может есть что то альтернативное? или какойто
патч? хочется тестить под реальной нагрузкой - какие нынче
варианты в моде?
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20100813/f93e6bef/attachment-0001.html>
Подробная информация о списке рассылки nginx-ru