diff --git a/tests/quic/helpers/client.nim b/tests/quic/helpers/client.nim index 70aec64..1b0754a 100644 --- a/tests/quic/helpers/client.nim +++ b/tests/quic/helpers/client.nim @@ -1,3 +1,4 @@ +import std/monotimes import ngtcp2 import ids import encrypt @@ -48,6 +49,7 @@ proc clientDefaultSettings: ngtcp2_settings = result.transport_params.stateless_reset_token_present = 0 result.transport_params.active_connection_id_limit = 8 + result.initial_ts = getMonoTime().ticks.uint result.log_printf = log_printf proc setupClient*(path: ptr ngtcp2_path): ptr ngtcp2_conn = diff --git a/tests/quic/helpers/server.nim b/tests/quic/helpers/server.nim index 8470624..79f22c2 100644 --- a/tests/quic/helpers/server.nim +++ b/tests/quic/helpers/server.nim @@ -1,3 +1,4 @@ +import std/monotimes import ngtcp2 import encrypt import decrypt @@ -56,6 +57,7 @@ proc serverDefaultSettings: ngtcp2_settings = for i in 0..