mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Only take a QuicServerConnectionState when constructing ServerHandshake (#90)
Summary: The cryptoState can be derrived from it, so it is redundant to pass it. This PR depends on https://github.com/facebookincubator/mvfst/issues/88 Pull Request resolved: https://github.com/facebookincubator/mvfst/pull/90 Reviewed By: mjoras Differential Revision: D19622581 Pulled By: yangchi fbshipit-source-id: b3c88999199673f69c4422b96fbe7f2b0656bf6c
This commit is contained in:
committed by
Facebook Github Bot
parent
d345eff6af
commit
2f8774c921
@@ -44,7 +44,7 @@ class FakeServerHandshake : public ServerHandshake {
|
||||
bool chloSync = false,
|
||||
bool cfinSync = false,
|
||||
folly::Optional<uint64_t> clientActiveConnectionIdLimit = folly::none)
|
||||
: ServerHandshake(&conn, *conn.cryptoState),
|
||||
: ServerHandshake(&conn),
|
||||
conn_(conn),
|
||||
chloSync_(chloSync),
|
||||
cfinSync_(cfinSync),
|
||||
|
||||
Reference in New Issue
Block a user