Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only try to find index for QUIC packets with short header format
Motivation: 28ae7d2 added the QuicCodecDispatcher which will dispatch packets to the correct ChannelHandlerContext based on which id is encoded in destination connection id. Our implementation was not 100 % correct as it should only try to do the specific dispatching once a short header format was used. Modifications: - Only try to decode the index out of the connection id for QUIC packets with short header format - Ensure we always correctly propagate channelReadComplete(...) even if we did not find the index. - Adjust testing Result: Correct dispatching based on destination connection id
- Loading branch information
1 parent
902d579
commit b03b135
Showing
2 changed files
with
24 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters