Skip to content

Commit

Permalink
Release 2.19.1 -- fix crash in IETF client (DPLPMTUD regression)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Tikhonov committed Jul 29, 2020
1 parent b8fa619 commit ef80a65
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
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'2.19'
# The full version, including alpha/beta/rc tags
release = u'2.19.0'
release = u'2.19.1'


# -- 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 @@ -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:
Expand Down
7 changes: 4 additions & 3 deletions src/liblsquic/lsquic_full_conn_ietf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1237,16 +1237,17 @@ 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);
else
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,
Expand Down

0 comments on commit ef80a65

Please sign in to comment.