mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
0638780570
OpenBSD fix long socket addresses Original diff from ``@notgull`` in #118349, small changes from me. on OpenBSD, getsockname(2) returns the actual size of the socket address, and not the len of the content. Figure out the length for ourselves. see https://marc.info/?l=openbsd-bugs&m=170105481926736&w=2 Fixes #116523