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

Attempt to fix issue #7

wip/issue7_chasing
Brice Figureau 15 лет назад
Родитель
Сommit
680dbd742d
1 измененных файлов: 4 добавлений и 0 удалений
  1. 4
    0
      ngx_http_uploadprogress_module.c

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

1268
         node->key = hash;
1268
         node->key = hash;
1269
         up->len = (u_char) id->len;
1269
         up->len = (u_char) id->len;
1270
         up->err_status = r->err_status;
1270
         up->err_status = r->err_status;
1271
+        up->done = 0;
1272
+        up->rest = 0;
1273
+        up->length = 0;
1274
+        up->timeout = 0;
1271
         up->log = r->connection->log;
1275
         up->log = r->connection->log;
1272
         ngx_memcpy(up->data, id->data, id->len);
1276
         ngx_memcpy(up->data, id->data, id->len);
1273
 
1277
 

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