mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
f2ebd0a11f
POSIX allows `getsockopt` to set `*option_len` to a smaller value if necessary. Windows will set `*option_len` to 1 for boolean options even when the caller passes a `BOOL` (`int`) with `*option_len` as 4.