diff options
| author | Steven Fackler <sfackler@gmail.com> | 2017-10-13 19:22:33 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2017-10-14 13:56:30 -0700 |
| commit | cab99a3f8c8dcdfd9052fd54787d22611ab36edc (patch) | |
| tree | 7e3a4d2fe0181c9a6ec65b603fe51fce08cd4f65 /src/test/run-pass/thinlto | |
| parent | 02a24dbdd8c3a5daa6578af72116020de75b5f93 (diff) | |
| download | rust-cab99a3f8c8dcdfd9052fd54787d22611ab36edc.tar.gz rust-cab99a3f8c8dcdfd9052fd54787d22611ab36edc.zip | |
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.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
