nginx/src
Maxim Dounin 27fb6cdb9f HTTP/2: fixed window updates when buffering in filters.
In the body read handler, the window was incorrectly calculated
based on the full buffer size instead of the amount of free space
in the buffer.  If the request body is buffered by a filter, and
the buffer is not empty after the read event is generated by the
filter to resume request body processing, this could result in
"http2 negative window update" alerts.

Further, in the body ready handler and in ngx_http_v2_state_read_data()
the buffer wasn't cleared when the data were already written to disk,
so the client might stuck without window updates.
2021-09-06 14:54:47 +03:00
..
core Version bump. 2021-09-03 17:19:33 +03:00
event SSL: removed use of the SSL_OP_MSIE_SSLV2_RSA_PADDING option. 2021-08-10 23:43:17 +03:00
http HTTP/2: fixed window updates when buffering in filters. 2021-09-06 14:54:47 +03:00
mail SSL: ciphers now set before loading certificates (ticket #2035). 2021-08-16 22:40:31 +03:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Give GCC atomics precedence over deprecated Darwin atomic(3). 2021-08-30 14:45:21 +03:00
stream SSL: ciphers now set before loading certificates (ticket #2035). 2021-08-16 22:40:31 +03:00