mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 03:51:14 +00:00
QUIC: stop processing new client streams at the closing state.
This commit is contained in:
parent
5c99f43e6f
commit
54655cebbb
1 changed files with 2 additions and 2 deletions
|
|
@ -314,7 +314,7 @@ ngx_quic_create_client_stream(ngx_connection_t *c, uint64_t id)
|
|||
|
||||
qc = ngx_quic_get_connection(c);
|
||||
|
||||
if (qc->shutdown) {
|
||||
if (qc->shutdown || qc->closing) {
|
||||
return NGX_QUIC_STREAM_GONE;
|
||||
}
|
||||
|
||||
|
|
@ -385,7 +385,7 @@ ngx_quic_create_client_stream(ngx_connection_t *c, uint64_t id)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (qc->shutdown) {
|
||||
if (qc->shutdown || qc->closing) {
|
||||
return NGX_QUIC_STREAM_GONE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue