]> git.kaiwu.me - nginx.git/commit
HTTP/2: rewritten handling of request body.
authorValentin Bartenev <vbart@nginx.com>
Fri, 1 Apr 2016 12:56:03 +0000 (15:56 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 1 Apr 2016 12:56:03 +0000 (15:56 +0300)
commit948eeca222c67dc6954ec0e68bf5c18e97e1a784
treeb9442b62cff536807a10b6b9adce34c261b229dc
parentcedba685a1eb18ca960b2eab3fafdc2afdbd624a
HTTP/2: rewritten handling of request body.

There are two improvements:

  1. Support for request body filters;

  2. Receiving of request body is started only after
     the ngx_http_read_client_request_body() call.

The last one fixes the problem when the client_max_body_size value might not be
respected from the right location if the location was changed either during the
process of receiving body or after the whole body had been received.
src/http/ngx_http_request.h
src/http/ngx_http_request_body.c
src/http/v2/ngx_http_v2.c
src/http/v2/ngx_http_v2.h