mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Implement handshake done and cipher dropping.
Summary: This implements the handshake done signal and also cipher dropping. Reviewed By: yangchi Differential Revision: D19584922 fbshipit-source-id: a98bec8f1076393b051ff65a2d8aae7d572b42f5
This commit is contained in:
committed by
Facebook Github Bot
parent
49d262c84c
commit
472e40a902
@@ -678,6 +678,10 @@ ExpiredStreamDataFrame decodeExpiredStreamDataFrame(folly::io::Cursor& cursor) {
|
||||
folly::to<StreamId>(streamId->first), minimumStreamOffset->first);
|
||||
}
|
||||
|
||||
HandshakeDoneFrame decodeHandshakeDoneFrame(folly::io::Cursor& /*cursor*/) {
|
||||
return HandshakeDoneFrame();
|
||||
}
|
||||
|
||||
QuicFrame parseFrame(
|
||||
BufQueue& queue,
|
||||
const PacketHeader& header,
|
||||
@@ -766,6 +770,8 @@ QuicFrame parseFrame(
|
||||
return QuicFrame(decodeMinStreamDataFrame(cursor));
|
||||
case FrameType::EXPIRED_STREAM_DATA:
|
||||
return QuicFrame(decodeExpiredStreamDataFrame(cursor));
|
||||
case FrameType::HANDSHAKE_DONE:
|
||||
return QuicFrame(decodeHandshakeDoneFrame(cursor));
|
||||
}
|
||||
} catch (const std::exception&) {
|
||||
error = true;
|
||||
|
||||
Reference in New Issue
Block a user