浏览代码

crash fix

tags/v0.4
Brice Figureau 18 年前
父节点
当前提交
903a01fbff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      ngx_http_uploadprogress_module.c

+ 1
- 0
ngx_http_uploadprogress_module.c 查看文件

@@ -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;

正在加载...
取消
保存