about summary refs log tree commit diff
path: root/src/libstd/sys/unix/ext.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-15 06:18:51 +0000
committerbors <bors@rust-lang.org>2015-04-15 06:18:51 +0000
commitaf1c39cbd90a03f22dbb2b144ac1e543dbe0fe1d (patch)
tree6ee70a29945bc68db8021b29c314421faea89a48 /src/libstd/sys/unix/ext.rs
parentc7734429ea97098a92951965bff3c56e566d2a95 (diff)
parent433f0e8d1fbd25693172f71e5a577bb9625b45b0 (diff)
downloadrust-af1c39cbd90a03f22dbb2b144ac1e543dbe0fe1d.tar.gz
rust-af1c39cbd90a03f22dbb2b144ac1e543dbe0fe1d.zip
Auto merge of #24211 - alexcrichton:windows-wsa-flag-overlapped, r=aturon
This commit modifies the socket creation functions on windows to always specify
the `WSA_FLAG_OVERLAPPED` and `WSA_FLAG_NO_HANDLE_INHERIT` flags by default. The
overlapped flag enables IOCP APIs on Windows to be used with the socket at no
cost, enabling better interoperation with external libraries. The no handle
inherit flag mirrors the upcoming change to Unix to set CLOEXEC by default for
all handles.

Closes #24206
Diffstat (limited to 'src/libstd/sys/unix/ext.rs')
0 files changed, 0 insertions, 0 deletions