-
Notifications
You must be signed in to change notification settings - Fork 13.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
Remove IPV6_V6ONLY functionality #33124
Conversation
These settings can only be adjusted before bind time, which doesn't make sense in the current set of functionality. These methods are stable, but haven't hit a stable release yet. Closes rust-lang#33052 [breaking-change]
cc @rust-lang/libs, thinking of merging this soon! |
I'll also note that these methods aren't completely useless. It's possible to create a socket manually, wrap it up in |
@alexcrichton Are there any cases where one would want or need to do that? (Otherwise, this sounds fine to me!) |
Probably not, just pointing out it's not literally useless, just morally so :) |
This is fine by me in principle. If we're at all concern about the breakage, we could consider landing a deprecation warning (so that people get a heads up on nightly) and then landing the removal a couple weeks later. |
I'd normally go that route, but since in all reasonable uses these methods will never work, I'm not expecting anyone to be using them. |
Yep. I’m fine either way. |
Remove IPV6_V6ONLY functionality These settings can only be adjusted before bind time, which doesn't make sense in the current set of functionality. These methods are stable, but haven't hit a stable release yet. Closes #33052 [breaking-change] r? @alexcrichton Will also need a backport to the beta.
Accepted for backport in #33263 (comment) |
This was supposed to have been removed in rust-lang#33124 but snuck through :(
Deprecate TcpListener::set_only_v6 This was supposed to have been removed in #33124 but snuck through :( Should the docs be removed? I left the accessor undeprecated since it should actually work, though that method doesn't exist on other networking types. r? @alexcrichton cc @rust-lang/libs
These settings can only be adjusted before bind time, which doesn't make
sense in the current set of functionality. These methods are stable, but
haven't hit a stable release yet.
Closes #33052
[breaking-change]
r? @alexcrichton
Will also need a backport to the beta.