Welcome! Log In Create A New Profile

Advanced

nginx 1.1.15: upload_progress module and NGX_PARSE_LARGE_TIME

February 15, 2012 11:42AM
nginx 1.1.15 не компилируется с ngx_upload_progress модулем:

/var/tmp/portage/www-servers/nginx-1.1.15/work/masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.c: In function 'ngx_http_track_uploads':
/var/tmp/portage/www-servers/nginx-1.1.15/work/masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.c:1455:26: error: 'NGX_PARSE_LARGE_TIME' undeclared (first use in this function)
/var/tmp/portage/www-servers/nginx-1.1.15/work/masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.c:1455:26: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [objs/addon/masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-servers/nginx-1.1.15/work/nginx-1.1.15'
make: *** [build] Error 2
* ERROR: www-servers/nginx-1.1.15 failed (compile phase):

ngx_http_uploadprogress_module.c:1455: if (lzcf->timeout == NGX_PARSE_LARGE_TIME) {

Что делать теперь? Видимо, эту константу по-тихому убрали из ngx_parse.h, но что делать со старыми модулями, её использующими?

Андрей
Subject Author Posted

nginx 1.1.15: upload_progress module and NGX_PARSE_LARGE_TIME

locojohn February 15, 2012 11:42AM

Re: nginx 1.1.15: upload_progress module and NGX_PARSE_LARGE_TIME

Maxim Dounin February 15, 2012 12:04PM

Re: nginx 1.1.15: upload_progress module and NGX_PARSE_LARGE_TIME

mva February 15, 2012 12:12PM

Re: nginx 1.1.15: upload_progress module and NGX_PARSE_LARGE_TIME

locojohn February 15, 2012 12:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready