mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
m) correct qpack decoder stream log (#405)
Co-authored-by: wangfuyu <ivanfywang@gmail.com>
This commit is contained in:
parent
43b1739859
commit
5f073670ba
1 changed files with 4 additions and 4 deletions
|
@ -301,15 +301,15 @@ qeh_in_on_read (struct lsquic_stream *stream, lsquic_stream_ctx_t *ctx)
|
||||||
{
|
{
|
||||||
if (nread < 0)
|
if (nread < 0)
|
||||||
{
|
{
|
||||||
LSQ_WARN("cannot read from encoder stream: %s", strerror(errno));
|
LSQ_WARN("cannot read from decoder stream: %s", strerror(errno));
|
||||||
qeh->qeh_conn->cn_if->ci_internal_error(qeh->qeh_conn,
|
qeh->qeh_conn->cn_if->ci_internal_error(qeh->qeh_conn,
|
||||||
"cannot read from encoder stream");
|
"cannot read from decoder stream");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LSQ_INFO("encoder stream closed by peer: abort connection");
|
LSQ_INFO("decoder stream closed by peer: abort connection");
|
||||||
qeh->qeh_conn->cn_if->ci_abort_error(qeh->qeh_conn, 1,
|
qeh->qeh_conn->cn_if->ci_abort_error(qeh->qeh_conn, 1,
|
||||||
HEC_CLOSED_CRITICAL_STREAM, "encoder stream closed");
|
HEC_CLOSED_CRITICAL_STREAM, "decoder stream closed");
|
||||||
}
|
}
|
||||||
lsquic_stream_wantread(stream, 0);
|
lsquic_stream_wantread(stream, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue