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

Add support for custom UDP connection identifiers #252

Closed
wants to merge 3 commits into from

Commits on Jul 3, 2023

  1. Add support for custom UDP connection identifiers

    Adds support for custom UDP connection identifiers. If a ConnIDFn is
    provided, the result will be used as the identifier of a connection
    rather then the remote address. If a connection already exists for the
    remote address, its identifier will be updated to the connection ID. If
    the remote address for packets associated with a connection identifier
    changes, the remote address of the connection will also be updated.
    
    Signed-off-by: Daniel Mangum <[email protected]>
    hasheddan committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    da50e61 View commit details
    Browse the repository at this point in the history
  2. Add unit tests for custom UDP connection IDs

    Adds unit testing to ensure that a custom UDP connection identifier
    results in expected behavior. Testing adheres to the following steps:
    
    1. Initiate 5 connections using remote address as identifier.
    2. Send message on each connection that results in migration from remote
       address identifier to custom identifier.
    3. Spawn 20 clients, each assigned to send one message on one of the
       connections (total of 4 messages on each connection).
    4. Spawn 5 servers and ensure that each receives the first initiation
       and set messages, then 4 messages, each originating from a different
       remote address.
    
    Signed-off-by: Daniel Mangum <[email protected]>
    hasheddan committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    552e81f View commit details
    Browse the repository at this point in the history
  3. Add Dan Mangum to AUTHORS.txt

    Adds Dan Mangum to AUTHORS.txt.
    
    Signed-off-by: Daniel Mangum <[email protected]>
    hasheddan committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    61d42f9 View commit details
    Browse the repository at this point in the history