From b9e13c4c25dffb7b79a406f70b08509ee1c9ce26 Mon Sep 17 00:00:00 2001 From: Matt Joras Date: Mon, 21 Aug 2023 16:13:38 -0700 Subject: [PATCH] Always call setTxTime on the server sockets. Summary: We intend to use this feature. The socket stores whether it is successful and can be queried later via getTXTime Reviewed By: kvtsoy Differential Revision: D48531750 fbshipit-source-id: 15da7eb5f3c499a82a77f13610c8f1d95736d066 --- quic/server/QuicServerWorker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/quic/server/QuicServerWorker.cpp b/quic/server/QuicServerWorker.cpp index 164c44c39..acd426e0f 100644 --- a/quic/server/QuicServerWorker.cpp +++ b/quic/server/QuicServerWorker.cpp @@ -112,6 +112,7 @@ void QuicServerWorker::bind( } } socket_->setTimestamping(SOF_TIMESTAMPING_SOFTWARE); + socket_->setTXTime({CLOCK_MONOTONIC, /*deadline=*/false}); if (mvfst_hook_on_socket_create) { mvfst_hook_on_socket_create(getSocketFd(*socket_));