revert polarity change
@@ -2623,7 +2623,7 @@ static int do_detect_loss(quicly_loss_t *ld, uint64_t largest_acked, uint32_t de
* this is ok.)
*/
while ((sent = quicly_sentmap_get(&iter))->packet_number < largest_acked &&
- (sent->sent_at > time_threshold || (sent->ack_epoch == QUICLY_EPOCH_1RTT && sent->packet_number > packet_threshold))) {
+ (sent->sent_at <= time_threshold || (sent->ack_epoch == QUICLY_EPOCH_1RTT && sent->packet_number <= packet_threshold))) {
if (sent->bytes_in_flight != 0 && conn->egress.max_lost_pn <= sent->packet_number) {
if (sent->packet_number != largest_newly_lost_pn) {
++conn->super.stats.num_packets.lost;
