diff --git a/CHANGELOG b/CHANGELOG index ec0f144fd..9941247e3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +2019-11-07 + - 2.5.2 + - [BUGFIX] argument order to gQUIC client constructor. Regression + introduced in 2.5.0. + - [BUGFIX] split buffered packet error recovery: destroy the correct + packet. + 2019-11-04 - 2.5.1 - [BUGFIX] Fix double-free when emptying a packet number space. diff --git a/include/lsquic.h b/include/lsquic.h index 5e86631d0..97c5dc712 100644 --- a/include/lsquic.h +++ b/include/lsquic.h @@ -25,7 +25,7 @@ extern "C" { #define LSQUIC_MAJOR_VERSION 2 #define LSQUIC_MINOR_VERSION 5 -#define LSQUIC_PATCH_VERSION 1 +#define LSQUIC_PATCH_VERSION 2 /** * Engine flags: diff --git a/src/liblsquic/lsquic_engine.c b/src/liblsquic/lsquic_engine.c index d6c443c4f..8eb8f6387 100644 --- a/src/liblsquic/lsquic_engine.c +++ b/src/liblsquic/lsquic_engine.c @@ -1516,8 +1516,8 @@ lsquic_engine_connect (lsquic_engine_t *engine, enum lsquic_version version, flags, hostname, max_packet_size, is_ipv4, zero_rtt, zero_rtt_len, token, token_sz); else - conn = lsquic_gquic_full_conn_client_new(&engine->pub, flags, - versions, hostname, max_packet_size, is_ipv4, + conn = lsquic_gquic_full_conn_client_new(&engine->pub, versions, + flags, hostname, max_packet_size, is_ipv4, zero_rtt, zero_rtt_len); if (!conn) goto err; diff --git a/src/liblsquic/lsquic_send_ctl.c b/src/liblsquic/lsquic_send_ctl.c index 7f11ca802..e8cb81da2 100644 --- a/src/liblsquic/lsquic_send_ctl.c +++ b/src/liblsquic/lsquic_send_ctl.c @@ -2418,7 +2418,7 @@ split_buffered_packet (lsquic_send_ctl_t *ctl, } else { - send_ctl_destroy_packet(ctl, packet_out); + send_ctl_destroy_packet(ctl, new_packet_out); return -1; } }