[ANN] nginx_uploadprogress_module v0.1

Brice Figureau brice+nginx at daysofwonder.com
Wed Oct 3 19:49:45 MSD 2007


I'm proud to announce the availability of the first version of
nginx_uploadprogress_module (v0.1).

This module implements a progress upload ala Lighttpd mod_uploadprogress
for nginx. It monitors RFC1867 uploads sent to upstream servers and can
serve special JSON response 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:
 * this software has never been tested under load. It only passed a few
lab tests.
 * it is not intended to be deployed on *production systems*.
 * when compiled with --with-debug, this module will produce high number
of log messages.

More information on the wiki page I just created:

The code is available as an attachment of the aforementionned page.

Installation instructions:

nginx_uploadprogress_module has been compiled/tested with Nginx 0.6.1,
0.6.12 and 0.6.13.

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 wiki page or the
README file.

There are still some missing functionnalities, like retaining
information about a finished upload for a few seconds to be able to
serve to report upload request that the upload has finished...

Anyway enjoy :-)
Brice Figureau <brice+nginx at daysofwonder.com>

More information about the nginx mailing list