Release 2.17.1: fix regression in 2.17.0

This commit is contained in:
Dmitri Tikhonov 2020-06-18 11:26:16 -04:00
parent 4051ae3a1a
commit e957eb06e3
4 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,5 @@
2020-06-18 2020-06-18
- 2.17.0 - 2.17.1
- [FEATURE] QUIC and HTTP/3 Internet Draft 29 support. - [FEATURE] QUIC and HTTP/3 Internet Draft 29 support.
- [BUGFIX] Check that scheduled packets are also sendable when - [BUGFIX] Check that scheduled packets are also sendable when
calculating a connection's "tickable" property. calculating a connection's "tickable" property.

View file

@ -26,7 +26,7 @@ author = u'LiteSpeed Technologies'
# The short X.Y version # The short X.Y version
version = u'2.17' version = u'2.17'
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = u'2.17.0' release = u'2.17.1'
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View file

@ -25,7 +25,7 @@ extern "C" {
#define LSQUIC_MAJOR_VERSION 2 #define LSQUIC_MAJOR_VERSION 2
#define LSQUIC_MINOR_VERSION 17 #define LSQUIC_MINOR_VERSION 17
#define LSQUIC_PATCH_VERSION 0 #define LSQUIC_PATCH_VERSION 1
/** /**
* Engine flags: * Engine flags:

View file

@ -1653,8 +1653,11 @@ lsquic_engine_connect (lsquic_engine_t *engine, enum lsquic_version version,
callbacks */ callbacks */
))); )));
conn->cn_flags |= LSCONN_HASHED; conn->cn_flags |= LSCONN_HASHED;
if (!(conn->cn_flags & LSCONN_TICKABLE))
{
lsquic_mh_insert(&engine->conns_tickable, conn, conn->cn_last_ticked); lsquic_mh_insert(&engine->conns_tickable, conn, conn->cn_last_ticked);
engine_incref_conn(conn, LSCONN_TICKABLE); engine_incref_conn(conn, LSCONN_TICKABLE);
}
lsquic_conn_set_ctx(conn, conn_ctx); lsquic_conn_set_ctx(conn, conn_ctx);
conn->cn_if->ci_client_call_on_new(conn); conn->cn_if->ci_client_call_on_new(conn);
end: end: