Mercurial > hg > nginx
changeset 8905:832723a49026 quic
QUIC: stop processing new client streams at the closing state.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 12 Nov 2021 16:29:07 +0300 |
parents | d2c193aa8480 |
children | 41caf5410110 |
files | src/event/quic/ngx_event_quic_streams.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_streams.c Mon Oct 18 14:48:11 2021 +0300 +++ b/src/event/quic/ngx_event_quic_streams.c Fri Nov 12 16:29:07 2021 +0300 @@ -314,7 +314,7 @@ qc = ngx_quic_get_connection(c); - if (qc->shutdown) { + if (qc->shutdown || qc->closing) { return NGX_QUIC_STREAM_GONE; } @@ -385,7 +385,7 @@ return NULL; } - if (qc->shutdown) { + if (qc->shutdown || qc->closing) { return NGX_QUIC_STREAM_GONE; } }