Hi, agentzh, the chunkin-nginx-module is not compatible with nginx 1.5.x

Hi,agentzh, the chunkin-nginx-module is not compatible with nginx 1.5.x

In nginx 1.5.3, the error when making is as follows:

cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror
-g
-DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR
-DNDK_SET_VAR -DNDK_UPSTREAM_LIST -I src/core -I src/event -I
src/event/modules -I src/os/unix -I …/ngx_devel_kit/objs -I
objs/addon/ndk
-I /opt/luajit/include/luajit-2.0 -I …/lua-nginx-module/src/api -I objs
-I
src/http -I src/http/modules -I src/http/modules/perl -I
…/ngx_devel_kit/src -I src/mail
-o objs/addon/src/ngx_http_echo_request_info.o
…/echo-nginx-module/src/ngx_http_echo_request_info.c
make[1]: *** [objs/addon/src/chunked_parser.o] Error 1
make[1]: *** Waiting for unfinished jobs…
…/chunkin-nginx-module/src/ngx_http_chunkin_util.c: In function
ngx_http_chunkin_process_request:
…/chunkin-nginx-module/src/ngx_http_chunkin_util.c:291: error:
ngx_http_request_t has no member named plain_http
make[1]: *** [objs/addon/src/ngx_http_chunkin_util.o] Error 1
make[1]: Leaving directory `/opt/distfiles/nginx/nginx-1.5.3’
make: *** [build] Error 2

In nginx 1.5.5, the error when making is as follows:

s -I objs/addon/ndk -I /opt/luajit/include/luajit-2.0 -I
…/lua-nginx-module/src/api -I objs -I src/http -I src/http/modules -I
src/http/modules/perl -I …/ngx_devel_kit/src -I src/mail
-o objs/addon/src/ngx_http_encrypted_session_cipher.o \

…/encrypted-session-nginx-module/src/ngx_http_encrypted_session_cipher.c
make[1]: *** [objs/addon/src/ngx_http_chunkin_util.o] Error 1
make[1]: *** Waiting for unfinished jobs…
make[1]: *** [objs/addon/src/chunked_parser.o] Error 1
make[1]: Leaving directory `/opt/distfiles/nginx/nginx-1.5.5’
make: *** [build] Error 2

In nginx 1.5.6, the error when making is as follows:
-o objs/addon/src/ngx_http_drizzle_handler.o
…/drizzle-nginx-module/src/ngx_http_drizzle_handler.c
make[1]: *** [objs/addon/src/ngx_http_chunkin_util.o] Error 1
make[1]: *** Waiting for unfinished jobs…
src/chunked_parser.rl: In function ngx_http_chunkin_run_chunked_parser:
src/chunked_parser.rl:296: error: ngx_http_request_t has no member named
plain_http
make[1]: *** [objs/addon/src/chunked_parser.o] Error 1
make[1]: Leaving directory `/opt/distfiles/nginx/nginx-1.5.6’
make: *** [build] Error 2

Best Regards

Thank you!

Hello!

On Wed, Oct 30, 2013 at 8:39 AM, Xiangong Y. wrote:

the chunkin-nginx-module is not compatible with nginx 1.5.x

In nginx 1.5.3, the error when making is as follows:

To answer your question, I’d just quote the ngx_chunkin’s official
documentation:

“This module is no longer needed for Nginx 1.3.9+ because since 1.3.9,
the Nginx core already has built-in support for the chunked request
bodies.”

See also GitHub - agentzh/chunkin-nginx-module: HTTP 1.1 chunked-encoding request body support for Nginx

Best regards,
-agentzh