QUIC: avoid sending extra frames in case of error.

This commit is contained in:
Vladimir Homutov 2021-04-15 12:17:19 +03:00
parent 2f5bcafdde
commit 17eebfea99

View File

@ -718,6 +718,10 @@ ngx_quic_stream_cleanup_handler(void *data)
return;
}
if (qc->error) {
goto done;
}
if ((qs->id & NGX_QUIC_STREAM_SERVER_INITIATED) == 0
|| (qs->id & NGX_QUIC_STREAM_UNIDIRECTIONAL) == 0)
{