diff options
author | Roman Arutyunyan <arut@nginx.com> | 2021-09-22 14:08:21 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2021-09-22 14:08:21 +0300 |
commit | 08dcf62f5b8ee49927dc38bae705b8fa777799e4 (patch) | |
tree | d65779c112bfcc6c777afd16e1cec39d32ad2fe8 /src/stream/ngx_stream_ssl_module.c | |
parent | 3ae914c837b2ad4217165007c980d31161d6db9f (diff) | |
download | nginx-08dcf62f5b8ee49927dc38bae705b8fa777799e4.tar.gz nginx-08dcf62f5b8ee49927dc38bae705b8fa777799e4.zip |
HTTP/3: fixed ngx_stat_active counter.
Previously the counter was not incremented for HTTP/3 streams, but still
decremented in ngx_http_close_connection(). There are two solutions here, one
is to increment the counter for HTTP/3 streams, and the other one is not to
decrement the counter for HTTP/3 streams. The latter solution looks
inconsistent with ngx_stat_reading/ngx_stat_writing, which are incremented on a
per-request basis. The change adds ngx_stat_active increment for HTTP/3
request and push streams.
Diffstat (limited to 'src/stream/ngx_stream_ssl_module.c')
0 files changed, 0 insertions, 0 deletions