Skip to content

Commit f209630

Browse files
committed
Proper timers for address fail test
1 parent b4f8845 commit f209630

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

picoquic/picoquic_internal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,7 @@ int picoquic_create_path(picoquic_cnx_t* cnx, uint64_t start_time,
15971597
uint64_t unique_path_id);
15981598
void picoquic_register_path(picoquic_cnx_t* cnx, picoquic_path_t * path_x);
15991599
int picoquic_renew_connection_id(picoquic_cnx_t* cnx, int path_id);
1600+
void picoquic_delete_tuple(picoquic_path_t* path_x, picoquic_tuple_t* tuple);
16001601
void picoquic_delete_path(picoquic_cnx_t* cnx, int path_index);
16011602
void picoquic_demote_path(picoquic_cnx_t* cnx, int path_index, uint64_t current_time, uint64_t reason, char const * phrase);
16021603
void picoquic_retransmit_demoted_path(picoquic_cnx_t* cnx, picoquic_path_t* path_x, uint64_t current_time);

picoquic/sender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4008,7 +4008,7 @@ uint64_t picoquic_tuple_challenge_time(picoquic_path_t* path_x, picoquic_tuple_
40084008
}
40094009
else {
40104010
if (tuple->challenge_repeat_count >= 2) {
4011-
next_challenge_time += path_x->retransmit_timer << (path_x->first_tuple->challenge_repeat_count - 1);
4011+
next_challenge_time += path_x->retransmit_timer << (tuple->challenge_repeat_count - 1);
40124012
}
40134013
else {
40144014
next_challenge_time += PICOQUIC_INITIAL_RETRANSMIT_TIMER;

picoquictest/tls_api_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6564,7 +6564,7 @@ int migration_fail_test()
65646564
}
65656565

65666566
if (ret == 0) {
6567-
ret = tls_api_one_scenario_body_verify(test_ctx, &simulated_time, 1000000);
6567+
ret = tls_api_one_scenario_body_verify(test_ctx, &simulated_time, 1100000);
65686568
}
65696569

65706570
if (test_ctx != NULL) {

0 commit comments

Comments
 (0)