浏览代码

fixed documentation

tags/v0.3
Brice Figureau 18 年前
父节点
当前提交
251beb32f6
共有 2 个文件被更改,包括 13 次插入4 次删除
  1. 8
    0
      Makefile
  2. 5
    4
      README

+ 8
- 0
Makefile 查看文件

@@ -0,0 +1,8 @@
1
+dist: CHANGES README LICENSE config ngx_http_uploadprogress_module.c
2
+	tar czvf ../nginx_uploadprogress_module-0.3.tar.gz  \
3
+		 ../nginx_uploadprogress_module/CHANGES \
4
+		 ../nginx_uploadprogress_module/README \
5
+		 ../nginx_uploadprogress_module/LICENSE \
6
+ 		 ../nginx_uploadprogress_module/config \
7
+ 		 ../nginx_uploadprogress_module/ngx_http_uploadprogress_module.c
8
+		 		 

+ 5
- 4
README 查看文件

@@ -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>})

正在加载...
取消
保存