Skip to content

Commit

Permalink
Merge pull request #1618 from private-octopus/handshake-pto-bug
Browse files Browse the repository at this point in the history
Try fix handshake repeat bug.
  • Loading branch information
huitema authored Jan 14, 2024
2 parents aa7315e + 00495da commit 40ecb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picoquic/loss_recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ static size_t picoquic_retransmit_needed_packet(picoquic_cnx_t* cnx, picoquic_pa
*continue_next = 0;
}
}
else if (cnx->cnx_state < picoquic_state_client_ready_start) {
else if (cnx->cnx_state <= picoquic_state_client_ready_start) {
/* We do not follow the PTO logic before the connection is complete */
int packet_is_pure_ack;
if (old_path != NULL &&
Expand Down

0 comments on commit 40ecb88

Please sign in to comment.