rust/src/libstd/net
Josh Stone f107514aef Deal with EINTR in net timeout tests
We've seen sporadic QE failures in the timeout tests on this assertion:

    assert!(kind == ErrorKind::WouldBlock || kind == ErrorKind::TimedOut);

So there's an error, but not either of the expected kinds.  Adding a
format to show the kind revealed `ErrorKind::Interrupted` (`EINTR`).

For the cases that were using `read`, we can just use `read_exact` to
keep trying after interruption.  For those using `recv_from`, we have to
manually loop until we get a non-interrupted result.
2018-11-30 15:33:40 -08:00
..
addr.rs reduce list to functions callable in const ctx. 2018-11-10 01:10:07 +01:00
ip.rs Rollup merge of #55901 - euclio:speling, r=petrochenkov 2018-11-15 11:04:42 +01:00
mod.rs Remove the deprecated std::net::{lookup_host,LookupHost} 2018-05-03 16:24:21 -07:00
parser.rs Auto merge of #52336 - ishitatsuyuki:dyn-rollup, r=Mark-Simulacrum 2018-07-27 20:27:40 +00:00
tcp.rs Deal with EINTR in net timeout tests 2018-11-30 15:33:40 -08:00
test.rs travis: Get an emscripten builder online 2017-01-19 13:54:19 -08:00
udp.rs Deal with EINTR in net timeout tests 2018-11-30 15:33:40 -08:00