Add log of retransmissions
@@ -5917,6 +5917,12 @@ int optimistic_ack_test_one(int shall_spoof_ack)
{
DBG_PRINTF("Data sending loop returns %d\n", ret);
}
+ else if (test_ctx->cnx_server != NULL) {
+ DBG_PRINTF("Complete after %d packets sent, %d r. by client, %d retransmits.\n",
+ (int)(test_ctx->cnx_server->pkt_ctx[picoquic_packet_context_application].send_sequence - 1),
+ (int)test_ctx->cnx_client->pkt_ctx[picoquic_packet_context_application].first_sack_item.end_of_sack_range,
+ test_ctx->cnx_server->nb_retransmission_total);
+ }
}
if (ret == 0 && nb_holes == 0) {
