Skip to content

Commit e86620e

Browse files
committed
Handle delayed NEW CID before multipath test
1 parent fad3699 commit e86620e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

picoquicfirst/picoquicdemo.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ int client_loop_cb(picoquic_quic_t* quic, picoquic_packet_loop_cb_enum cb_mode,
664664
}
665665
}
666666
}
667+
if (!cb_ctx->multipath_probe_done && cb_ctx->cnx_client->is_notified_that_path_is_allowed) {
668+
ret = client_create_additional_path(cb_ctx->cnx_client, cb_ctx);
669+
}
667670
/* Track the migration to server preferred address */
668671
if (cb_ctx->cnx_client->remote_parameters.prefered_address.is_defined && !cb_ctx->migration_to_preferred_finished) {
669672
if (picoquic_compare_addr(

0 commit comments

Comments
 (0)