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

Miscellaneous cleanup #1581

Merged
merged 10 commits into from
Jun 3, 2023
Merged

Miscellaneous cleanup #1581

merged 10 commits into from
Jun 3, 2023

Commits on Jun 3, 2023

  1. Reduce ConnectionId copying

    Ralith committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    9d4307f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c929727 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc587c3 View commit details
    Browse the repository at this point in the history
  4. Remove redundant/obsolete Endpoint::reject_new_connections

    This was previously used by the `quinn` layer to stop accepting
    connections when the `Incoming` stream was dropped. That stream has
    since been replaced by an async function. Users who still want this
    can use set_server_config directly.
    Ralith committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    bce3263 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b8ca753 View commit details
    Browse the repository at this point in the history
  6. Move ConnectionHandle into DatagramEvent

    Simplifies signatures and prepares for non-connection-related datagram
    events.
    Ralith committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    146ec8a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    114a991 View commit details
    Browse the repository at this point in the history
  8. Allocate persistent connection IDs immediately when generated

    Guards against future bugs where multiple (e.g. concurrent) calls to
    `new_cid` might otherwise lead to an undetected collision.
    Ralith committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    d713fd4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    99dbf93 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e0aff66 View commit details
    Browse the repository at this point in the history