Repository navigation
Conversation
6937830 to
66c0724
Compare
This comment has been minimized.
This comment has been minimized.
|
Reminder, once the PR becomes ready for a review, use |
5952160 to
8f8907f
Compare
|
@rustbot ready |
|
(comments sent privately as GH is broken) |
8f8907f to
fc0efdf
Compare
|
The line of the CI failure does not exist anymore? I think the CI should pass when you manually trigger it again. @rustbot ready |
|
I suspect you have to rebase to reproduce the CI failure locally. |
8c4b387 to
bea65a2
Compare
This comment has been minimized.
This comment has been minimized.
bea65a2 to
17d7507
Compare
This comment has been minimized.
This comment has been minimized.
|
I guess we have to map that, this seems too basic to skip. |
d5095c2 to
5013267
Compare
|
@rustbot ready |
|
From this
The BSDs seem to interpret this differently. I'd suggest we just store the default destination address on a Parsing non-IP socket addresses is one of the things I'll add to my todo list since we currently don't support AF_UNSPEC (and it's also relevant for being able to bind Unix domain sockets). |
What do they do instead? From the spec:
We'd not emulate this correctly by only storing a default POSIX also says
So it does not seem unreasonable to say that you can connect at most once. OTOH it also says which sounds like for non-connection-mode sockets, double-connecting should work. Wow that spec is so vague... |
|
Honestly my first inclination is to say that we should throw "unsupported" when connect is called the 2nd time. 🤷 I don't think this is common enough to warrant preemptively worrying about it too much. I also found this in the Rust docs:
|
5013267 to
292b303
Compare
|
Oh fun, Linux and the BSDs take the different branches of this "or" from the
|
292b303 to
a306de0
Compare
|
@rustbot author |
5f4e9de to
6dac8a6
Compare
Do you have a preference on what Miri should do here? Since the POSIX man page explicitly allows either overruling the default destination address or returning EISCONN, I think we should model this as close as possible. My suggestion would thus be, that for |
That sounds reasonable. |
6dac8a6 to
5781b61
Compare
|
@rustbot ready |
This pull request adds support for non-blocking
read/recvandwrite/sendto the UDP socket shim.This branch is based on the branch from #5497. The
ioctlcommit can thus be ignored in this PR.