mirror of
https://github.com/nginx/nginx.git
synced 2025-01-06 07:27:47 +08:00
QUIC: avoid sending extra frames in case of error.
This commit is contained in:
parent
2f5bcafdde
commit
17eebfea99
@ -718,6 +718,10 @@ ngx_quic_stream_cleanup_handler(void *data)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (qc->error) {
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
if ((qs->id & NGX_QUIC_STREAM_SERVER_INITIATED) == 0
|
if ((qs->id & NGX_QUIC_STREAM_SERVER_INITIATED) == 0
|
||||||
|| (qs->id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0)
|
|| (qs->id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user