Просмотр исходного кода

Update ngx_http_uploadprogress_module.c

pull/21/head
António P. P. Almeida 14 лет назад
Родитель
Сommit
d0d046b3ef
1 измененных файлов: 5 добавлений и 1 удалений
  1. 5
    1
      ngx_http_uploadprogress_module.c

+ 5
- 1
ngx_http_uploadprogress_module.c Просмотреть файл

1
-
2
 /*
1
 /*
3
  * Copyright (C) 2007 Brice Figureau
2
  * Copyright (C) 2007 Brice Figureau
4
  * shm_zone and rbtree code Copyright (c) 2002-2007 Igor Sysoev
3
  * shm_zone and rbtree code Copyright (c) 2002-2007 Igor Sysoev
10
 
9
 
11
 #define TIMER_FREQUENCY 15 * 1000
10
 #define TIMER_FREQUENCY 15 * 1000
12
 
11
 
12
+/* NGX_PARSE_LARGE_TIME was removed in  1.1.15 */
13
+#ifndef NGX_PARSE_LARGE_TIME
14
+    #define NGX_PARSE_LARGE_TIME -2
15
+#endif /* NGX_PARSE_LARGE_TIME */
16
+
13
 typedef enum {
17
 typedef enum {
14
     uploadprogress_state_starting = 0,
18
     uploadprogress_state_starting = 0,
15
     uploadprogress_state_error = 1, 
19
     uploadprogress_state_error = 1, 

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