summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_linux_init.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-09-06 14:54:48 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-09-06 14:54:48 +0300
commit584a30b4d51302755c5600892fc293b1586985f7 (patch)
tree4659b773e84120daed4b5dc4fc3e2982ab39252f /src/os/unix/ngx_linux_init.c
parent27fb6cdb9f7aa9d6258251d565b199e2a15f5286 (diff)
downloadnginx-584a30b4d51302755c5600892fc293b1586985f7.tar.gz
nginx-584a30b4d51302755c5600892fc293b1586985f7.tar.bz2
HTTP/2: fixed timers left after request body reading.
Following rb->filter_need_buffering changes, request body reading is only finished after the filter chain is called and rb->last_saved is set. As such, with r->request_body_no_buffering, timer on fc->read is no longer removed when the last part of the body is received, potentially resulting in incorrect behaviour. The fix is to call ngx_http_v2_process_request_body() from the ngx_http_v2_read_unbuffered_request_body() function instead of directly calling ngx_http_v2_filter_request_body(), so the timer is properly removed.
Diffstat (limited to 'src/os/unix/ngx_linux_init.c')
0 files changed, 0 insertions, 0 deletions