Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only try to find index for QUIC packets with short header format #692

Merged
merged 1 commit into from Mar 11, 2024

Commits on Mar 11, 2024

  1. 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
    normanmaurer committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    d8ce9d7 View commit details
    Browse the repository at this point in the history