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
|
@ -1598,7 +1598,13 @@ stream_readf (struct lsquic_stream *stream,
|
|||
errno = EBADMSG;
|
||||
return -1;
|
||||
}
|
||||
assert(stream->uh);
|
||||
|
||||
if (!stream->uh)
|
||||
{
|
||||
LSQ_DEBUG("cannot read: headers not available");
|
||||
errno = EBADMSG;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue