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

Move happy eyeballs state to client state.

Summary: This doesn't belong in the generic state. Untangling it is a little difficult, but I think this solution is cleaner than having it in the generic state.

Reviewed By: JunqiWang

Differential Revision: D29856391

fbshipit-source-id: 1042109ed29cd1d20d139e08548d187b469c8398
This commit is contained in:
Matt Joras
2021-07-23 14:19:55 -07:00
committed by Facebook GitHub Bot
parent 7402dbe6c9
commit 612a00c3f9
11 changed files with 94 additions and 81 deletions

View File

@@ -27,7 +27,7 @@ void RunTest(int numBatch) {
folly::SocketAddress peerAddress{"127.0.0.1", 1234};
QuicClientConnectionState conn(
FizzClientQuicHandshakeContext::Builder().build());
QuicConnectionStateBase::HappyEyeballsState happyEyeballsState;
QuicClientConnectionState::HappyEyeballsState happyEyeballsState;
IOBufQuicBatch ioBufBatch(
std::move(batchWriter),
@@ -35,7 +35,7 @@ void RunTest(int numBatch) {
sock,
peerAddress,
conn.statsCallback,
happyEyeballsState);
nullptr /* happyEyeballsState */);
std::string strTest("Test");