Changes between Initial Version and Version 1 of Ticket #1100, comment 3
- Timestamp:
- 10/12/16 14:13:51 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1100, comment 3
initial v1 1 You can see a working example in [[http://hg.nginx.org/nginx/file/tip/src/http/modules/ngx_http_dav_module.c|src/http/modules/ngx_http_dav_module.c]]. The key difference is that after `ngx_http_read_client_request_body()` you are responsible to call `ngx_http_finalize_request()` in the body handler. Also, your compiler should tell you that you are passing a wrong function to `ngx_http_read_client_request_body()`.1 You can see a working example in [[http://hg.nginx.org/nginx/file/tip/src/http/modules/ngx_http_dav_module.c|src/http/modules/ngx_http_dav_module.c]]. The key difference is that after `ngx_http_read_client_request_body()` you are responsible to call `ngx_http_finalize_request()` in the body handler.