Ben Noordhuis
4ba03ddd56
unix, windows: rename uv_run2 to uv_run
...
This changes the prototype of uv_run() from:
int uv_run(uv_loop_t* loop);
To:
int uv_run(uv_loop_t* loop, uv_run_mode mode);
Where `mode` is UV_RUN_DEFAULT, UV_RUN_ONCE or UV_RUN_NOWAIT.
Fixes #683 .
2013-01-16 23:35:29 +01:00
Ben Noordhuis
625340066e
test: fix close of uninitialized handle
...
The test closes all handles after 1000 ms but the remote peer handle may not
have been initialized by then (very unlikely but not quite impossible).
2012-11-11 03:24:25 +01:00
Bert Belder
47eb03490a
test: move loop cleanup code to the individual tests
2012-10-17 01:24:49 +02:00
Bert Belder
1b8307637b
test: fix intermittent failure of tcp_unexpected_read on windows
2012-08-13 22:31:46 +02:00
Bert Belder
1d5eb91474
Avoid compiler warning
2012-07-30 11:00:37 +02:00
Ben Noordhuis
1d1dd9bb7d
test: add 'unexpected read' tcp test
...
Regression test that verifies that the event loop doesn't busy loop when
the server sends a message and the client isn't reading.
2012-06-30 03:25:52 +02:00