Release 1.17.7

[BUGFIX] Do not unset PING alarm before ringing expired alarms.  This
prevented PING from ever being sent.
This commit is contained in:
Dmitri Tikhonov 2018-12-03 10:34:57 -05:00
parent 8252b0b935
commit 18237fa49c
3 changed files with 6 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2018-12-03
- 1.17.7
- [BUGFIX] Do not unset PING alarm before ringing expired alarms.
This prevented PING from ever being sent.
2018-11-29
- 1.17.6
- Add failsafe: resume sending packets after some time

View file

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

View file

@ -2818,12 +2818,6 @@ full_conn_ci_tick (lsquic_conn_t *lconn, lsquic_time_t now)
lsquic_send_ctl_set_buffer_stream_packets(&conn->fc_send_ctl, 1);
CLOSE_IF_NECESSARY();
if (!(conn->fc_flags & FC_SERVER))
{
lsquic_alarmset_unset(&conn->fc_alset, AL_PING);
lsquic_send_ctl_sanity_check(&conn->fc_send_ctl);
}
lsquic_alarmset_ring_expired(&conn->fc_alset, now);
CLOSE_IF_NECESSARY();