mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06: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
|
#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);
|
(void) ngx_http_v3_send_cancel_stream(c, c->quic->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user