Skip to content

Commit

Permalink
Merge pull request #28 from private-octopus/align-picoquic-december-2023
Browse files Browse the repository at this point in the history
Fix call to ticket retrieval
  • Loading branch information
huitema authored Dec 30, 2023
2 parents f7da9ea + db9fa44 commit 8c15c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int fuzi_q_start_connection(fuzi_q_ctx_t* fuzi_q_ctx, fuzi_q_cnx_ctx_t* cnx_ctx,
/* Try pick the ALPN and version from tickets if there are any */

if (picoquic_demo_client_get_alpn_and_version_from_tickets(fuzi_q_ctx->quic, PICOQUIC_TEST_SNI, alpn,
proposed_version, current_time, &ticket_alpn, &ticket_version) == 0) {
proposed_version, &ticket_alpn, &ticket_version) == 0) {
if (ticket_version != 0) {
proposed_version = ticket_version;
}
Expand Down

0 comments on commit 8c15c9f

Please sign in to comment.