mirror of
https://github.com/nginx/nginx.git
synced 2026-10-25 13:32:27 +00:00
HTTP/3: avoid sending stream cancellation for pushed streams.
This commit is contained in:
parent
1bd3cae959
commit
9860a82b19
1 changed files with 3 additions and 1 deletions
|
|
@ -405,7 +405,9 @@ ngx_http_v3_reset_connection(ngx_connection_t *c)
|
|||
}
|
||||
#endif
|
||||
|
||||
if (h3scf->max_table_capacity > 0 && !c->read->eof) {
|
||||
if (h3scf->max_table_capacity > 0 && !c->read->eof
|
||||
&& (c->quic->id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0)
|
||||
{
|
||||
(void) ngx_http_v3_send_cancel_stream(c, c->quic->id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue