Brice Figureau 18 лет назад
Родитель
Сommit
903a01fbff
1 измененных файлов: 1 добавлений и 0 удалений
  1. 1
    0
      ngx_http_uploadprogress_module.c

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

282
       return NGX_ERROR;
282
       return NGX_ERROR;
283
     }
283
     }
284
 
284
 
285
+    ctx->read_event_handler = r->read_event_handler;
285
     ngx_http_set_ctx(r, ctx, ngx_http_uploadprogress_module);
286
     ngx_http_set_ctx(r, ctx, ngx_http_uploadprogress_module);
286
     r->read_event_handler = ngx_http_uploadprogress_event_handler;
287
     r->read_event_handler = ngx_http_uploadprogress_event_handler;
287
     return rc;
288
     return rc;

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