You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I.e. the flag that appears to be called MSG_EOT actually compiles to MSG_EOR. Indeed, MSG_EOR is the correct name of this send flag according to the man page; a flag called called MSG_EOT doesn't actually exist in Linux as far as I can tell.
I propose that SendFlags::EOT gets renamed to SendFlags::EOR. This, of course, is a breaking API change.
The text was updated successfully, but these errors were encountered:
* Deprecate `rustix::net::SendFlags::EOT` and add `EOR`.
In `rustix::net::SendFlags`, deprecate the mis-spelled `EOT` and add the
correctly-spelled `EOT`.
Fixes#1053.
* Fix the libc backend too.
SendFlags::EOT
is currently defined as:I.e. the flag that appears to be called
MSG_EOT
actually compiles toMSG_EOR
. Indeed,MSG_EOR
is the correct name of this send flag according to the man page; a flag called calledMSG_EOT
doesn't actually exist in Linux as far as I can tell.I propose that
SendFlags::EOT
gets renamed toSendFlags::EOR
. This, of course, is a breaking API change.The text was updated successfully, but these errors were encountered: