]> git.kaiwu.me - nginx.git/commit
HTTP/3: call ngx_handle_read_event() from client header handler.
authorRoman Arutyunyan <arut@nginx.com>
Fri, 29 Jan 2021 16:42:47 +0000 (19:42 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Fri, 29 Jan 2021 16:42:47 +0000 (19:42 +0300)
commitcd6253430051a823dc31b756e93aeecb5f674af3
tree9145310497aeff160b9b4d91cc3aafe18dc9500c
parent68aa6fec77b06972a0a91223f08551569ecb5355
HTTP/3: call ngx_handle_read_event() from client header handler.

This function should be called at the end of an event handler to prepare the
event for the next handler call.  Particularly, the "active" flag is set or
cleared depending on data availability.

With this call missing in one code path, read handler was not called again
after handling the initial part of the client request, if the request was too
big to fit into a single STREAM frame.

Now ngx_handle_read_event() is called in this code path.  Also, read timer is
restarted.
src/http/v3/ngx_http_v3_request.c