Uh oh!
There was an error while loading. Please reload this page.
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. Closesrust-lang#33052 [breaking-change]
alexcrichton
commented
Apr 21, 2016
cc @rust-lang/libs, thinking of merging this soon! |
alexcrichton
commented
Apr 21, 2016
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!) |
alexcrichton
commented
Apr 21, 2016
Probably not, just pointing out it's not literally useless, just morally so :) |
aturon
commented
Apr 21, 2016
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. |
sfackler
commented
Apr 21, 2016
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. |
aturon
commented
Apr 21, 2016
Yep. I’m fine either way. |
alexcrichton
commented
Apr 22, 2016
bors
commented
Apr 23, 2016
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.
bors
commented
Apr 24, 2016
alexcrichton
commented
Apr 29, 2016
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.