about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-10-15 14:21:57 +0800
committerGitHub <noreply@github.com>2017-10-15 14:21:57 +0800
commitf55cb4856b0c5e3517e348102d18d9a23f20c0be (patch)
tree726d98b6b37b7c176f621be6995a4ae127acd8f4 /src/test/run-pass/thinlto
parenta793372d8ce0eb11abd211d335619889b9bbc6ac (diff)
parentcab99a3f8c8dcdfd9052fd54787d22611ab36edc (diff)
downloadrust-f55cb4856b0c5e3517e348102d18d9a23f20c0be.tar.gz
rust-f55cb4856b0c5e3517e348102d18d9a23f20c0be.zip
Rollup merge of #45269 - sfackler:connect-timeout-fix, r=alexcrichton
Fix TcpStream::connect_timeout on linux

Linux appears to set POLLOUT when a conection's refused, which is pretty
weird. Invert the check to look for an error explicitly. Also add an
explict test for this case.

Closes #45265.

r? @alexcrichton
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions