|
|
@@ -14,7 +14,7 @@ It works because Nginx acts as an accelerator of an upstream server, storing upl
|
|
14
|
14
|
on disk, before transmitting it to the upstream server. Each individual POST upload request
|
|
15
|
15
|
should contain a progress unique identifier.
|
|
16
|
16
|
|
|
17
|
|
-This module is Copyright (c) 2007 Brice Figureau, and is licensed under the BSD license (see LICENSE).
|
|
|
17
|
+This module is Copyright (c) 2007,2008 Brice Figureau, and is licensed under the BSD license (see LICENSE).
|
|
18
|
18
|
* rbtree and shm_zone code is based on Igor Sysoev limit_zone Nginx module.
|
|
19
|
19
|
* expire header code is based on Igor Sysoev header_filter Nginx module.
|
|
20
|
20
|
|
|
|
@@ -31,7 +31,7 @@ WARNINGS:
|
|
31
|
31
|
Installation
|
|
32
|
32
|
============
|
|
33
|
33
|
|
|
34
|
|
-nginx_uploadprogress_module has been tested with Nginx 0.6.1, 0.6.12 and 0.6.13.
|
|
|
34
|
+nginx_uploadprogress_module has been tested with Nginx 0.6.1, 0.6.12, 0.6.13 and 0.6.30.
|
|
35
|
35
|
|
|
36
|
36
|
Download the Nginx sources from http://nginx.net/ and unpack it.
|
|
37
|
37
|
|
|
|
@@ -94,8 +94,9 @@ report_uploads
|
|
94
|
94
|
* the upload request has ended:
|
|
95
|
95
|
new Object({ 'state' : 'done' })
|
|
96
|
96
|
|
|
97
|
|
- * the upload request generated an HTTP 413 error (Request entity too large):
|
|
98
|
|
- new Object({ 'state' : 'error', 'status' : 413 })
|
|
|
97
|
+ * the upload request generated an HTTP error
|
|
|
98
|
+ new Object({ 'state' : 'error', 'status' : <error code> })
|
|
|
99
|
+ one error code that can be of use to track for the client is 413 (request entity too large).
|
|
99
|
100
|
|
|
100
|
101
|
* the upload request is in progress:
|
|
101
|
102
|
new Object({ 'state' : 'uploading', 'received' : <size_received>, 'size' : <total_size>})
|