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

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented Jun 3, 2023

Straightforward improvements extracted from #1578.

Copy link
Member

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Should we proactively bump the quinn-proto version incompatibly?

quinn-proto/src/endpoint.rs Show resolved Hide resolved
quinn-proto/src/endpoint.rs Outdated Show resolved Hide resolved
quinn-proto/src/endpoint.rs Outdated Show resolved Hide resolved
quinn-proto/src/endpoint.rs Show resolved Hide resolved
quinn-proto/src/tests/util.rs Show resolved Hide resolved
quinn-proto/src/endpoint.rs Show resolved Hide resolved
quinn-proto/src/endpoint.rs Outdated Show resolved Hide resolved
@Ralith
Copy link
Collaborator Author

Ralith commented Jun 3, 2023

Should we proactively bump the quinn-proto version incompatibly?

Ah, right, forgot the new policy.

Ralith added 10 commits June 3, 2023 14:47
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.
Simplifies signatures and prepares for non-connection-related datagram
events.
Guards against future bugs where multiple (e.g. concurrent) calls to
`new_cid` might otherwise lead to an undetected collision.
@Ralith Ralith enabled auto-merge (rebase) June 3, 2023 21:47
@Ralith Ralith merged commit c1d412c into main Jun 3, 2023
@Ralith Ralith deleted the cleanup branch June 3, 2023 21:58
@djc djc mentioned this pull request Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants