Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 6050:a08fad30aeac
Request body: unbuffered reading.
The r->request_body_no_buffering flag was introduced. It instructs
client request body reading code to avoid reading the whole body, and
to call post_handler early instead. The caller should use the
ngx_http_read_unbuffered_request_body() function to read remaining
parts of the body.
Upstream module is now able to use this mode, if configured with
the proxy_request_buffering directive.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 23 Mar 2015 21:09:19 +0300 |
parents | f8ee988cfe6d |
children | 187aa751ad62 |
comparison
equal
deleted
inserted
replaced
6049:42d9beeb22db | 6050:a08fad30aeac |
---|---|
471 unsigned request_body_in_file_only:1; | 471 unsigned request_body_in_file_only:1; |
472 unsigned request_body_in_persistent_file:1; | 472 unsigned request_body_in_persistent_file:1; |
473 unsigned request_body_in_clean_file:1; | 473 unsigned request_body_in_clean_file:1; |
474 unsigned request_body_file_group_access:1; | 474 unsigned request_body_file_group_access:1; |
475 unsigned request_body_file_log_level:3; | 475 unsigned request_body_file_log_level:3; |
476 unsigned request_body_no_buffering:1; | |
476 | 477 |
477 unsigned subrequest_in_memory:1; | 478 unsigned subrequest_in_memory:1; |
478 unsigned waited:1; | 479 unsigned waited:1; |
479 | 480 |
480 #if (NGX_HTTP_CACHE) | 481 #if (NGX_HTTP_CACHE) |
507 unsigned chunked:1; | 508 unsigned chunked:1; |
508 unsigned header_only:1; | 509 unsigned header_only:1; |
509 unsigned keepalive:1; | 510 unsigned keepalive:1; |
510 unsigned lingering_close:1; | 511 unsigned lingering_close:1; |
511 unsigned discard_body:1; | 512 unsigned discard_body:1; |
513 unsigned reading_body:1; | |
512 unsigned internal:1; | 514 unsigned internal:1; |
513 unsigned error_page:1; | 515 unsigned error_page:1; |
514 unsigned filter_finalize:1; | 516 unsigned filter_finalize:1; |
515 unsigned post_action:1; | 517 unsigned post_action:1; |
516 unsigned request_complete:1; | 518 unsigned request_complete:1; |