mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 2.29.4
- [BUGFIX] Infinite loop in stream: returned HQ frame can be at any point on the list. - [BUGFIX] Fail push promise immediately if STREAM_NOPUSH is set.
This commit is contained in:
parent
99a1ad0f24
commit
e1b8f1a8c3
4 changed files with 13 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2021-03-08
|
||||||
|
- 2.29.4
|
||||||
|
- [BUGFIX] Infinite loop in stream: returned HQ frame can be at any
|
||||||
|
point on the list.
|
||||||
|
- [BUGFIX] Fail push promise immediately if STREAM_NOPUSH is set.
|
||||||
|
|
||||||
2021-03-03
|
2021-03-03
|
||||||
- 2.29.3
|
- 2.29.3
|
||||||
- [BUGFIX] Do not send RESET_STREAM if writing to stream is already
|
- [BUGFIX] Do not send RESET_STREAM if writing to stream is already
|
||||||
|
|
|
@ -26,7 +26,7 @@ author = u'LiteSpeed Technologies'
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
version = u'2.29'
|
version = u'2.29'
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = u'2.29.3'
|
release = u'2.29.4'
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
|
@ -25,7 +25,7 @@ extern "C" {
|
||||||
|
|
||||||
#define LSQUIC_MAJOR_VERSION 2
|
#define LSQUIC_MAJOR_VERSION 2
|
||||||
#define LSQUIC_MINOR_VERSION 29
|
#define LSQUIC_MINOR_VERSION 29
|
||||||
#define LSQUIC_PATCH_VERSION 3
|
#define LSQUIC_PATCH_VERSION 4
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Engine flags:
|
* Engine flags:
|
||||||
|
|
|
@ -2669,8 +2669,8 @@ static void
|
||||||
stream_hq_frame_put (struct lsquic_stream *stream,
|
stream_hq_frame_put (struct lsquic_stream *stream,
|
||||||
struct stream_hq_frame *shf)
|
struct stream_hq_frame *shf)
|
||||||
{
|
{
|
||||||
assert(STAILQ_FIRST(&stream->sm_hq_frames) == shf);
|
/* In vast majority of cases, the frame to put is at the head: */
|
||||||
STAILQ_REMOVE_HEAD(&stream->sm_hq_frames, shf_next);
|
STAILQ_REMOVE(&stream->sm_hq_frames, shf, stream_hq_frame, shf_next);
|
||||||
if (frame_in_stream(stream, shf))
|
if (frame_in_stream(stream, shf))
|
||||||
memset(shf, 0, sizeof(*shf));
|
memset(shf, 0, sizeof(*shf));
|
||||||
else
|
else
|
||||||
|
@ -5383,7 +5383,9 @@ lsquic_stream_push_promise (struct lsquic_stream *stream,
|
||||||
ssize_t nw;
|
ssize_t nw;
|
||||||
|
|
||||||
assert(stream->sm_bflags & SMBF_IETF);
|
assert(stream->sm_bflags & SMBF_IETF);
|
||||||
assert(lsquic_stream_can_push(stream));
|
|
||||||
|
if (stream->stream_flags & STREAM_NOPUSH)
|
||||||
|
return -1;
|
||||||
|
|
||||||
bits = vint_val2bits(promise->pp_id);
|
bits = vint_val2bits(promise->pp_id);
|
||||||
len = 1 << bits;
|
len = 1 << bits;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue