Brice Figureau 18 лет назад
Родитель
Сommit
251beb32f6
2 измененных файлов: 13 добавлений и 4 удалений
  1. 8
    0
      Makefile
  2. 5
    4
      README

+ 8
- 0
Makefile Просмотреть файл

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
 on disk, before transmitting it to the upstream server. Each individual POST upload request
14
 on disk, before transmitting it to the upstream server. Each individual POST upload request
15
 should contain a progress unique identifier.
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
  * rbtree and shm_zone code is based on Igor Sysoev limit_zone Nginx module.
18
  * rbtree and shm_zone code is based on Igor Sysoev limit_zone Nginx module.
19
  * expire header code is based on Igor Sysoev header_filter Nginx module.
19
  * expire header code is based on Igor Sysoev header_filter Nginx module.
20
 
20
 
31
 Installation
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
 Download the Nginx sources from http://nginx.net/ and unpack it.
36
 Download the Nginx sources from http://nginx.net/ and unpack it.
37
 
37
 
94
 		* the upload request has ended:
94
 		* the upload request has ended:
95
 				new Object({ 'state' : 'done' })
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
 		* the upload request is in progress:
101
 		* the upload request is in progress:
101
 				new Object({ 'state' : 'uploading', 'received' : <size_received>, 'size' : <total_size>})
102
 				new Object({ 'state' : 'uploading', 'received' : <size_received>, 'size' : <total_size>})

Загрузка…
Отмена
Сохранить