-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(quic): deprecate QUIC draft-29 version support #5786
base: master
Are you sure you want to change the base?
feat(quic): deprecate QUIC draft-29 version support #5786
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left a small comment :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, looks like you would need to add #[allow(deprecated)]
to support_draft_29
too. Could you do that too? :)
Friendly ping @tesol2y090. The CI still fails because Also: could we use |
@@ -59,6 +59,7 @@ pub struct Config { | |||
/// If support for draft-29 is enabled servers support draft-29 and version 1 on all | |||
/// QUIC listening addresses. | |||
/// As client the version is chosen based on the remote's address. | |||
#[deprecated(note = "QUIC draft versions are no longer supported")] | |||
pub support_draft_29: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably add an allow on our usage of this field, in transports/quic/src/transport.rs:91
.
To allow CI to pass
Co-authored-by: Elena Frank <elena.frank@proton.me>
- Deprecate `Config::support_draft_29`. | ||
See [PR 5786](https://github.com/libp2p/rust-libp2p/pull/5786). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libp2p-quic-v0.12.0
is already released. You need to bump the version of it to 0.12.1
and move this to a new section above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean the version of the libp2p-quic
crate itself also needs to be bumped :)
Description
Deprecate support_draft_version field from QUIC protocol.
resolves #3395
Change checklist