Explorar el Código

crash fix

tags/v0.4
Brice Figureau hace 18 años
padre
commit
903a01fbff
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      ngx_http_uploadprogress_module.c

+ 1
- 0
ngx_http_uploadprogress_module.c Ver fichero

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

Loading…
Cancelar
Guardar