Skip to content

Commit

Permalink
Release 4.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gwanglst committed Sep 24, 2024
1 parent a2890f6 commit f3fc7cc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-09-23
- 4.0.12
- Fix stream WANT_WRITE flag that causes busy looping.

2024-09-09
- 4.0.11
- Fix assert failure related to splitting a large packet.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The short X.Y version
version = u'4.0'
# The full version, including alpha/beta/rc tags
release = u'4.0.11'
release = u'4.0.12'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion include/lsquic.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extern "C" {

#define LSQUIC_MAJOR_VERSION 4
#define LSQUIC_MINOR_VERSION 0
#define LSQUIC_PATCH_VERSION 11
#define LSQUIC_PATCH_VERSION 12

/**
* Engine flags:
Expand Down
3 changes: 3 additions & 0 deletions src/liblsquic/lsquic_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,8 @@ lsquic_stream_call_on_close (lsquic_stream_t *stream)
stream->stream_flags |= STREAM_ONCLOSE_DONE;
SM_HISTORY_APPEND(stream, SHE_ONCLOSE_CALL);
stream->stream_if->on_close(stream, stream->st_ctx);
if (stream->sm_qflags & SMQF_WANT_WRITE)
maybe_remove_from_write_q(stream, SMQF_WANT_WRITE);
}
else
assert(0);
Expand Down Expand Up @@ -2064,6 +2066,7 @@ static void
maybe_put_onto_write_q (lsquic_stream_t *stream, enum stream_q_flags flag)
{
assert(SMQF_WRITE_Q_FLAGS & flag);
assert(!(stream->stream_flags & STREAM_ONCLOSE_DONE));
if (!(stream->sm_qflags & SMQF_WRITE_Q_FLAGS))
{
LSQ_DEBUG("put on write queue");
Expand Down

0 comments on commit f3fc7cc

Please sign in to comment.