mirror of
https://github.com/facebookincubator/mvfst.git
synced 2026-01-06 03:41:10 +03:00
Add mvfst specific encryption level (#26)
Summary: This ensure a lot of code do not depend on fizz anymore. Pull Request resolved: https://github.com/facebookincubator/mvfst/pull/26 Reviewed By: mjoras, JunqiWang Differential Revision: D16030663 Pulled By: yangchi fbshipit-source-id: a3cc34905a6afb657da194e2166434425e7e163c
This commit is contained in:
committed by
Facebook Github Bot
parent
002a2ebf8e
commit
f4e90017a3
@@ -491,7 +491,7 @@ uint64_t writeQuicDataToSocket(
|
||||
if (connection.pendingEvents.numProbePackets) {
|
||||
auto probeScheduler = std::move(FrameScheduler::Builder(
|
||||
connection,
|
||||
fizz::EncryptionLevel::AppTraffic,
|
||||
EncryptionLevel::AppData,
|
||||
PacketNumberSpace::AppData,
|
||||
"ProbeScheduler")
|
||||
.streamFrames()
|
||||
@@ -515,7 +515,7 @@ uint64_t writeQuicDataToSocket(
|
||||
}
|
||||
FrameScheduler scheduler = std::move(FrameScheduler::Builder(
|
||||
connection,
|
||||
fizz::EncryptionLevel::AppTraffic,
|
||||
EncryptionLevel::AppData,
|
||||
PacketNumberSpace::AppData,
|
||||
"FrameScheduler")
|
||||
.streamFrames()
|
||||
@@ -607,7 +607,7 @@ uint64_t writeQuicDataExceptCryptoStreamToSocket(
|
||||
if (connection.pendingEvents.numProbePackets) {
|
||||
auto probeScheduler = std::move(FrameScheduler::Builder(
|
||||
connection,
|
||||
fizz::EncryptionLevel::AppTraffic,
|
||||
EncryptionLevel::AppData,
|
||||
PacketNumberSpace::AppData,
|
||||
"ProbeWithoutCrypto")
|
||||
.streamFrames()
|
||||
@@ -630,7 +630,7 @@ uint64_t writeQuicDataExceptCryptoStreamToSocket(
|
||||
}
|
||||
FrameScheduler scheduler = std::move(FrameScheduler::Builder(
|
||||
connection,
|
||||
fizz::EncryptionLevel::AppTraffic,
|
||||
EncryptionLevel::AppData,
|
||||
PacketNumberSpace::AppData,
|
||||
"FrameSchedulerWithoutCrypto")
|
||||
.streamFrames()
|
||||
|
||||
Reference in New Issue
Block a user