about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-02-23 23:22:58 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-02-24 09:17:07 -0800
commitf3be73c84b546d975da8ec45671fa9e0e0ead8da (patch)
tree7697572e8381019253b882892ccae22d421097de /src/libstd/sys/unix/stack_overflow.rs
parent281f9d868fee8e4f9750fc12289dc10522f587ea (diff)
downloadrust-f3be73c84b546d975da8ec45671fa9e0e0ead8da.tar.gz
rust-f3be73c84b546d975da8ec45671fa9e0e0ead8da.zip
std: Cap read/write limits on Windows networking
Similar to #31825 where the read/write limits were capped for files, this
implements similar limits when reading/writing networking types. On Unix this
shouldn't affect anything because the write size is already a `usize`, but on
Windows this will cap the read/write amounts to `i32::max_value`.

cc #31841
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions