1 diff --git a/lib/quicly.c b/lib/quicly.c
2 index 71fa149..668677f 100644
5 @@ -3631,10 +3631,14 @@ int quicly_send(quicly_conn_t *conn, quicly_datagram_t **packets, size_t *num_pa
6 * progress (i.e. due to the payload of lost packet being cancelled), then PTO for the previously sent packet. To accomodate
7 * that, we allow to rerun the do_send function just once.
9 - if (s.num_packets == 0 && conn->egress.loss.alarm_at <= now) {
10 + if (conn->egress.loss.alarm_at <= now) {
11 assert(conn->egress.loss.alarm_at == now);
12 - if ((ret = do_send(conn, &s)) != 0)
14 + if (s.num_packets == 0) {
15 + if ((ret = do_send(conn, &s)) != 0)
18 + conn->egress.loss.alarm_at = now + 1;
21 assert_consistency(conn, 1);