mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-27 03:41:14 +03:00
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
df49cb664f
commit
b9e13c4c25
@@ -112,6 +112,7 @@ void QuicServerWorker::bind(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
socket_->setTimestamping(SOF_TIMESTAMPING_SOFTWARE);
|
socket_->setTimestamping(SOF_TIMESTAMPING_SOFTWARE);
|
||||||
|
socket_->setTXTime({CLOCK_MONOTONIC, /*deadline=*/false});
|
||||||
|
|
||||||
if (mvfst_hook_on_socket_create) {
|
if (mvfst_hook_on_socket_create) {
|
||||||
mvfst_hook_on_socket_create(getSocketFd(*socket_));
|
mvfst_hook_on_socket_create(getSocketFd(*socket_));
|
||||||
|
|||||||
Reference in New Issue
Block a user