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

proto: make NoInitialCipherSuite Copy #1876

Merged
merged 3 commits into from
May 21, 2024
Merged

proto: make NoInitialCipherSuite Copy #1876

merged 3 commits into from
May 21, 2024

Conversation

djc
Copy link
Member

@djc djc commented May 21, 2024

hickory-proto::ProtoErrorKind, which will include this, implements Clone.

Downstream PR: hickory-dns/hickory-dns#2217.

@djc djc requested a review from Ralith May 21, 2024 10:26
quinn/src/connection.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

Would it be sufficient to impl just Clone? That gives us more freedom to add non-Copy fields in the future. It's not obvious to me why we'd ever need to, so no worries if Copy confers significant benefit on its own.

@djc djc force-pushed the error-copy branch 3 times, most recently from f8c1e0d to 26a3070 Compare May 21, 2024 19:01
Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

If you're planning on publishing a release in the immediate future, note #1869 is outstanding with a fix for a bug that's a panic in debug mode and possible transport error in release. Can always fast-follow with that if you don't have the bandwidth for review right now though.

@djc
Copy link
Member Author

djc commented May 21, 2024

I'll try to review your open PRs before releasing.

@djc djc merged commit 540296c into main May 21, 2024
8 checks passed
@djc djc deleted the error-copy branch May 21, 2024 19:48
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.

None yet

2 participants