Uh oh!
There was an error while loading. Please reload this page.
Clarify that send_to might fail in certain cases - #37432
Merged
Merged
Conversation
alexcrichton
commented
Oct 27, 2016
Member
Hm this doesn't panic, right? It'd return an error? |
CensoredUsername
commented
Oct 27, 2016
Contributor
This doesn't panic, it returns an error. In the linked issue |
achanda
commented
Oct 28, 2016
ContributorAuthor
My bad, updated now. |
Member
There was a problem hiding this comment.
I think that we may want to generalize this error to more than just this issue. It may be worth just mentioning that the returned addresses from ToSocketAddrs must match the IPv4 or IPv6-ness of the address the UDP socket is bound to. This problem isn't only related to localhost I believe.
brson
commented
Nov 9, 2016
Contributor
Waiting for updates to @alexcrichton's feedback. |
achanda
commented
Nov 9, 2016
ContributorAuthor
Sorry, this fell off my radar. Updated now. |
alexcrichton
commented
Nov 9, 2016
Member
@bors: r+ Thanks! |
bors
commented
Nov 9, 2016
Collaborator
📌 Commit 50bfc23 has been approved by |
eddyb added a commit
to eddyb/rust
that referenced
this pull request
Nov 9, 2016
Clarify that send_to might panic in certain cases Closesrust-lang#34202 r? @alexcrichton
bors added a commit
that referenced
this pull request
Nov 9, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes#34202
r? @alexcrichton