mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
m) Fix: quic server assert failed with special request (#403)
Co-authored-by: wangfuyu <ivanfywang@gmail.com>
This commit is contained in:
parent
d9b2c37837
commit
43b1739859
1 changed files with 7 additions and 1 deletions
|
@ -1598,7 +1598,13 @@ stream_readf (struct lsquic_stream *stream,
|
||||||
errno = EBADMSG;
|
errno = EBADMSG;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
assert(stream->uh);
|
|
||||||
|
if (!stream->uh)
|
||||||
|
{
|
||||||
|
LSQ_DEBUG("cannot read: headers not available");
|
||||||
|
errno = EBADMSG;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue