diff options
author | cjihrig <cjihrig@gmail.com> | 2017-05-30 13:19:11 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2017-06-07 09:30:01 -0400 |
commit | edd541957f6bb6fa4ccb56bd1f878172f631ce36 (patch) | |
tree | 2a72ce78b05fc122c699d547152414f45d2cc16c /deps/uv/test/test-watcher-cross-stop.c | |
parent | 12e39d6d943348a19da1bf84d4891aa28cd3ffb6 (diff) | |
download | android-node-v8-edd541957f6bb6fa4ccb56bd1f878172f631ce36.tar.gz android-node-v8-edd541957f6bb6fa4ccb56bd1f878172f631ce36.tar.bz2 android-node-v8-edd541957f6bb6fa4ccb56bd1f878172f631ce36.zip |
deps: upgrade libuv to 1.12.0
Fixes: https://github.com/nodejs/node/issues/12853
Fixes: https://github.com/nodejs/node/issues/854
PR-URL: https://github.com/nodejs/node/pull/13306
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'deps/uv/test/test-watcher-cross-stop.c')
-rw-r--r-- | deps/uv/test/test-watcher-cross-stop.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/uv/test/test-watcher-cross-stop.c b/deps/uv/test/test-watcher-cross-stop.c index 6ff48d44c8..29a82a5c37 100644 --- a/deps/uv/test/test-watcher-cross-stop.c +++ b/deps/uv/test/test-watcher-cross-stop.c @@ -26,7 +26,12 @@ #include <errno.h> /* NOTE: Number should be big enough to trigger this problem */ +#if defined(__CYGWIN__) || defined(__MSYS__) +/* Cygwin crashes or hangs in socket() with too many AF_INET sockets. */ +static uv_udp_t sockets[1250]; +#else static uv_udp_t sockets[2500]; +#endif static uv_udp_send_t reqs[ARRAY_SIZE(sockets)]; static char slab[1]; static unsigned int recv_cb_called; |