Skip to content

Commit

Permalink
Release 2.5.2
Browse files Browse the repository at this point in the history
- [BUGFIX] argument order to gQUIC client constructor.  Regression
  introduced in 2.5.0.
- [BUGFIX] split buffered packet error recovery: destroy the correct
  packet.
  • Loading branch information
Dmitri Tikhonov committed Nov 7, 2019
1 parent 1c9cee3 commit 75a7a2a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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.
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 5
#define LSQUIC_PATCH_VERSION 1
#define LSQUIC_PATCH_VERSION 2

/**
* Engine flags:
Expand Down
4 changes: 2 additions & 2 deletions src/liblsquic/lsquic_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/liblsquic/lsquic_send_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 75a7a2a

Please sign in to comment.