mirror of
https://github.com/nginx/nginx.git
synced 2024-11-27 23:49:00 +08:00
HTTP/3: avoid sending stream cancellation for pushed streams.
This commit is contained in:
parent
1bd3cae959
commit
9860a82b19
@ -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…
Reference in New Issue
Block a user