nginx-1.3.9 & nginx upload module 2.0.2

Maxim Dounin mdounin at mdounin.ru
Tue Nov 27 21:56:19 UTC 2012


Hello!

On Tue, Nov 27, 2012 at 09:58:42PM +0100, Paweł Marzec wrote:

> Unexpectedly compiling fresh 1.3.9 with nginx_upload_module I've met
> 
> objs -I src/http -I src/http/modules -I src/mail \
>                 -o objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o
> \
>                 ../nginx_upload_module-2.2.0/ngx_http_upload_module.c
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function
> ‘ngx_http_read_upload_client_request_body’:
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2628: error:
> ‘ngx_http_request_body_t’ has no member named ‘to_write’
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2687: error:
> ‘ngx_http_request_body_t’ has no member named ‘to_write’
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c: In function
> ‘ngx_http_do_read_upload_client_request_body’:
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2769: error:
> ‘ngx_http_request_body_t’ has no member named ‘to_write’
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2785: error:
> ‘ngx_http_request_body_t’ has no member named ‘to_write’
> ../nginx_upload_module-2.2.0/ngx_http_upload_module.c:2877: error:
> ‘ngx_http_request_body_t’ has no member named ‘to_write’
> make[1]: *** [objs/addon/nginx_upload_module-2.2.0/ngx_http_upload_module.o]
> Error 1
> make[1]: Leaving directory `/root/nginx-1.3.9'
> make: *** [build] Error 2
> 
> any ideas?

Looks like upload module depends on request body reading code 
internal details, and it needs updating.

-- 
Maxim Dounin
http://nginx.com/support.html



More information about the nginx mailing list