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

@ -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();