[ANN] nginx upload progress module v0.7

Brice Figureau brice+nginx at daysofwonder.com
Sun Nov 22 13:53:18 MSK 2009


I'm proud to announce the availability of the version 0.7 of the

This version is now stable to be used in production.

The release is available in the nginx wiki page or directly from my git 
hub repository:

Changes since v0.6:

  * fixed segfault when uploads are aborted (thanks to Markus 
Doppelbauer for his bug report)

  * session ID header name is now configurable (thanks to Valery Kholodkov)

  * Added directive to format output as pure json (thanks to Valery 

  * Added directive to format output with configurable template (thanks 
to Valery Kholodkov)

  * Added directive to set a probe response content-type (thanks to 
Valery Kholodkov)

  * Added upload status variables (needs a status patch) (thanks to 
Valery Kholodkov)

More Information:

This module implements a progress upload ala Lighttpd mod_uploadprogress
for nginx. It monitors RFC1867 uploads sent to upstream servers and can
serve javascript, pure JSON or even custom responses containing 
information about the upload progress on request.

This module doesn't implement a RFC1867 parser and client code. As such
I consider this module as a temporary hack until Igor Sysoev implements
a full client body filter chain into Nginx.

This module is delivered as is (no guarantee of any kind) under the BSD
license with the following caveats and warnings:
  * when compiled with --with-debug, this module will produce high number
of log messages.

More information on the git repository:

Installation instructions:

nginx_uploadprogress_module has been compiled/tested with Nginx 0.6.x,
and 0.7.64. The legacy 0.5.x versions are not supported,
please upgrade your nginx installation to the current stable (0.7.x).

1) download the Nginx sources from http://nginx.net/ and unpack it.

2) build Nginx: change to the directory which contains the Nginx
sources, and run the configuration script making sure to add the path
to the nginx_uploadprogress_module sources using the --add-module
  $ ./configure --add-module=/path/to/nginx_uploadprogress_module/

Now you can build and install the software:
  $ make

and as root:
  $ make install

For usage, configuration and examples, please see the github page or the
README file.

Anyway enjoy :-)
Brice Figureau
My Blog: http://www.masterzen.fr/

More information about the nginx mailing list