diff options
author | Saúl Ibarra Corretgé <saghul@gmail.com> | 2014-08-01 00:23:51 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <saghul@gmail.com> | 2014-08-01 00:23:51 +0200 |
commit | 431b535a519e91260e9a643cbf4dad59a98961bb (patch) | |
tree | c21e84924e6d63014e188021f41f73e8e85fbfd8 /test/test-tcp-write-queue-order.c | |
parent | e72d48ddab87a4168834b9f3449c998ce3600842 (diff) | |
download | libuv-431b535a519e91260e9a643cbf4dad59a98961bb.tar.gz libuv-431b535a519e91260e9a643cbf4dad59a98961bb.zip |
windows: use UV_ECANCELED for aborted TCP writes
For consistency with Unix
Diffstat (limited to 'test/test-tcp-write-queue-order.c')
-rw-r--r-- | test/test-tcp-write-queue-order.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/test-tcp-write-queue-order.c b/test/test-tcp-write-queue-order.c index f7981137..18e1f192 100644 --- a/test/test-tcp-write-queue-order.c +++ b/test/test-tcp-write-queue-order.c @@ -126,10 +126,7 @@ TEST_IMPL(tcp_write_queue_order) { ASSERT(connect_cb_called == 1); ASSERT(connection_cb_called == 1); ASSERT(write_callbacks > 0); -#ifndef _WIN32 - /* on Windows we never get ECANCELED */ ASSERT(write_cancelled_callbacks > 0); -#endif ASSERT(write_callbacks + write_error_callbacks + write_cancelled_callbacks == REQ_COUNT); |