Skip to content

Commit

Permalink
Fix incorrect first misc test
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Sep 6, 2024
1 parent bf10c46 commit 85b6d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions picoquic/sender.c
Original file line number Diff line number Diff line change
Expand Up @@ -2002,8 +2002,8 @@ int picoquic_prepare_packet_client_init(picoquic_cnx_t* cnx, picoquic_path_t * p
*is_initial_sent = (packet->ptype == picoquic_packet_initial);
}
else if (ret == 0 && is_cleartext_mode && tls_ready == 0
&& picoquic_find_first_misc_frame(cnx, pc) != NULL
&& cnx->first_misc_frame == NULL && !cnx->ack_ctx[pc].act[0].ack_needed && !force_handshake_padding) {
&& picoquic_find_first_misc_frame(cnx, pc) == NULL
&& !cnx->ack_ctx[pc].act[0].ack_needed && !force_handshake_padding) {
/* when in a clear text mode, only send packets if there is
* actually something to send, or resend. */

Expand Down

0 comments on commit 85b6d84

Please sign in to comment.