diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-12-27 21:42:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-12-27 21:42:26 +0000 |
commit | afc8adc88f9cae98c5207cbad20c32c28e74bf3c (patch) | |
tree | bb4889ca199becb32f662feed26f5fa02c506219 /README | |
parent | 4de67111df21f434ea650ecb83306807ee7f3068 (diff) | |
download | gcc-afc8adc88f9cae98c5207cbad20c32c28e74bf3c.zip gcc-afc8adc88f9cae98c5207cbad20c32c28e74bf3c.tar.gz gcc-afc8adc88f9cae98c5207cbad20c32c28e74bf3c.tar.bz2 |
re PR go/59506 (net FAILs (timeout) on alpha)
PR go/59506
net: use DialTimeout in TestSelfConnect
Backported from master repository.
This avoids problems with systems that take a long time to
find out nothing is listening, while still testing for the
self-connect misfeature since a self-connect should be fast.
With this we may be able to remove the test for non-Linux
systems.
Tested (on GNU/Linux) by editing selfConnect in
tcpsock_posix.go to always return false and verifying that
TestSelfConnect then fails with and without this change.
Idea from Uros Bizjak.
From-SVN: r206224
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions