masterzen / nginx-upload-progress-module

Nginx module implementing an upload progress system, that monitors RFC1867 POST uploads as they are transmitted to upstream servers.

Home Page:http://wiki.codemongers.com/NginxHttpUploadProgressModule

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FTBFS with nginx 1.1.15 on Debian

davromaniak opened this issue · comments

Hi.

I tried to upgrade the nginx packages using the just released nginx 1.1.15, and the build failed.

Here is the log extract :
/tmp/buildd/nginx-1.1.15/debian/modules/nginx-upload-progress/ngx_http_uploadprogress_module.c: In function 'ngx_http_track_uploads':
/tmp/buildd/nginx-1.1.15/debian/modules/nginx-upload-progress/ngx_http_uploadprogress_module.c:1445:26: error: 'NGX_PARSE_LARGE_TIME' undeclared (first use in this function)
/tmp/buildd/nginx-1.1.15/debian/modules/nginx-upload-progress/ngx_http_uploadprogress_module.c:1445:26: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [objs/addon/nginx-upload-progress/ngx_http_uploadprogress_module.o] Error 1

Apparently, they removed the NGX_PARSE_LARGE_TIME variable starting 1.1.15.

Could you take a look at fixing it ?

Thank you very much.

Indeed it has been removed. Here's a quick fix.

Gist here and pull request.

This is fixed in 03cbf1f.
Thank you for your report.

It works well.

Thanks for your reactivity.