Skip to content

Commit

Permalink
feature: when the request body is big enough to be buffered onto a te…
Browse files Browse the repository at this point in the history
…mp file, the file will be persistent such that it can be read from within Lua, for example.
  • Loading branch information
agentzh committed Feb 4, 2013
1 parent 045575f commit 6fad9d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ngx_http_chunkin_filter_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ ngx_http_chunkin_handler(ngx_http_request_t *r)
dd("chunkin handler: header_in->pos: %d",
(int)(r->header_in->pos - r->header_in->start));

r->request_body_in_persistent_file = 1;

rc = ngx_http_chunkin_read_chunked_request_body(r,
ngx_http_chunkin_post_read);

Expand Down

0 comments on commit 6fad9d1

Please sign in to comment.