mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +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.