1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-08 09:42:06 +03:00

Make a getPeerTransportParams function

Summary: I'm putting this up to get some initial feedback. I'm writing a function to get the peer transport parameters so that we can get them in the HQSession and set the QUIC fingerprint.

Reviewed By: hanidamlaj

Differential Revision: D54399572

fbshipit-source-id: 594294c26a5b34bc99a8d286a66be9cdbe7fff02
This commit is contained in:
Aman Sharma
2024-04-08 17:57:40 -07:00
committed by Facebook GitHub Bot
parent 940d4a7ee2
commit 875bca11da
9 changed files with 53 additions and 2 deletions

View File

@@ -261,6 +261,11 @@ class TestQuicTransport
closeUdpSocket();
}
folly::Optional<std::vector<TransportParameter>> getPeerTransportParams()
const override {
return folly::none;
}
std::chrono::milliseconds getLossTimeoutRemainingTime() {
return lossTimeout_.getTimerCallbackTimeRemaining();
}