Release 2.19.1 -- fix crash in IETF client (DPLPMTUD regression)

This commit is contained in:
Dmitri Tikhonov 2020-07-29 12:00:21 -04:00
parent b8fa619567
commit ef80a65ff8
4 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
2020-07-29
- 2.19.0
- 2.19.1
- [FEATURE] DPLPMTUD support. IETF connections now search for the
maximum packet size, improving throughput.
- [DEBUG] Record event in stream history when on_close() is called

View File

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

View File

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

View File

@ -1237,6 +1237,10 @@ lsquic_ietf_full_conn_client_new (struct lsquic_engine_public *enpub,
}
esfi = select_esf_iquic_by_ver(ver);
if (0 != ietf_full_conn_init(conn, enpub, flags,
enpub->enp_settings.es_ecn))
goto err2;
if (base_plpmtu)
conn->ifc_paths[0].cop_path.np_pack_size
= base_plpmtu - TRANSPORT_OVERHEAD(!is_ipv4);
@ -1244,9 +1248,6 @@ lsquic_ietf_full_conn_client_new (struct lsquic_engine_public *enpub,
conn->ifc_paths[0].cop_path.np_pack_size
= calc_base_packet_size(conn, !is_ipv4);
if (0 != ietf_full_conn_init(conn, enpub, flags,
enpub->enp_settings.es_ecn))
goto err2;
if (token)
{
if (0 != lsquic_send_ctl_set_token(&conn->ifc_send_ctl, token,