aboutsummaryrefslogtreecommitdiff
path: root/docs/code/tcp-echo-server/main.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-06 21:59:24 -0400
committerBen Noordhuis <info@bnoordhuis.nl>2017-05-21 16:12:30 +0200
commit621655352c4f591946207e7cf58664a6c4ad03e4 (patch)
tree18d1c28b4241cc0d679fb3da267e9aa49d0bf190 /docs/code/tcp-echo-server/main.c
parent580f0327370381363fe842db0c9424f9346810f5 (diff)
downloadlibuv-621655352c4f591946207e7cf58664a6c4ad03e4.tar.gz
libuv-621655352c4f591946207e7cf58664a6c4ad03e4.zip
test: skip self-connecting tests on cygwin
The cygwin runtime library fails to connect a socket client to a listening server within the same thread. Test cases that use this approach hang while waiting for the connection to complete. This can be reproduced independent of libuv in a simple example using both socket/bind/listen and socket/connect in a single thread. Avoid this problem in our test suite by skipping such tests on cygwin. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/code/tcp-echo-server/main.c')
0 files changed, 0 insertions, 0 deletions