e82d4645 | 17-May-2012 |
Ben Noordhuis |
unix: fix close-before-connect bug Closing the TCP socket before the SYN/ACK handshake completed hung the event loop, the connect req didn't get unregistered. |
e10a87ad | 17-May-2012 |
Ben Noordhuis |
unix: streamline shutdown req cleanup logic |
74470489 | 17-May-2012 |
Ben Noordhuis |
test: enable tcp_connect_error_fault test |
538a562c | 17-May-2012 |
Ben Noordhuis |
test: add tcp connect timeout test |
073a48d6 | 17-May-2012 |
Ben Noordhuis |
unix: back out new idle watcher for now Its semantics don't quite match what node.js expects. This breaks the stdio_over_pipes and shutdown_close_pipe tests but that can't be helped. |
60af28ab | 08-May-2012 |
Igor Zinkovsky |
windows: support junctions with uv_fs_synlink based on @piscisaureus implementation |
9efa8b35 | 17-May-2012 |
Ben Noordhuis |
unix, windows: rework reference counting scheme This commit changes how the event loop determines if it needs to stay alive. Previously, an internal counter was increased whenever a
unix, windows: rework reference counting scheme This commit changes how the event loop determines if it needs to stay alive. Previously, an internal counter was increased whenever a handle got created and decreased again when the handle was closed. While conceptually simple, it turned out hard to work with: you often want to keep the event loop alive only if the handle is actually doing something. Stopped or inactive handles were a frequent source of hanging event loops. That's why this commit changes the reference counting scheme to a model where a handle only references the event loop when it's active. 'Active' means different things for different handle types, e.g.: * timers: ticking * sockets: reading, writing or listening * processes: always active (for now, subject to change) * idle, check, prepare: only active when started This commit also changes how the uv_ref() and uv_unref() functions work: they now operate on the level of individual handles, not the whole event loop. The Windows implementation was done by Bert Belder.
show more ...
|
07622e76 | 16-May-2012 |
Frank Denis |
unix: change #if FIONBIO to #ifdef FIONBIO Fixes compilation on Debian/ppc 6.0.4. |
ad024040 | 05-May-2012 |
Ben Noordhuis |
test: prevent accidental division by zero |
985b961d | 05-May-2012 |
Andrius Bentkus |
Put POLL into the handle_map, so handle_size returns the size of it correctly. |
b5f9bc86 | 05-May-2012 |
Ben Noordhuis |
sunos: make fs.watch scale better Instead of using one port per watch, use one port for all the watches. This is a cherry-pick of commit 7326962 from v0.6 into master. Conflicts
sunos: make fs.watch scale better Instead of using one port per watch, use one port for all the watches. This is a cherry-pick of commit 7326962 from v0.6 into master. Conflicts: include/uv-private/uv-unix.h src/unix/core.c src/unix/sunos.c
show more ...
|
1d24c76d | 04-May-2012 |
Bert Belder |
Windows: fix MinGW MinGW's headers are missing a definition for SIO_BASE_HANDLE |
43658969 | 04-May-2012 |
Bert Belder |
Windows: skip GetFileAttributes call when opening a file It wasn't working, and everything seemed to work fine nonetheless. Removing it just saves a syscall. |
b750dec5 | 04-May-2012 |
Bert Belder |
Windows: fix iocp emulation bugs for tcp handles Makes ipc_tcp_connection pass on Windows XP |
ef9a9f1f | 04-May-2012 |
Bert Belder |
Tests: make test-tcp-write-error pass on XP |
6037684e | 04-May-2012 |
Ben Noordhuis |
unix: zero out new loop struct Fixes spurious segfaults in pyuv. |
ce129ac6 | 03-May-2012 |
Ben Noordhuis |
windows: remove unused variables |
395e2568 | 03-May-2012 |
Ben Noordhuis |
unix: don't use setlocale() setlocale() is not inherently thread-safe. We'll have to live with the fact that test/test-dlerror.c fails on systems with localized error messages. |
5d19aa84 | 29-Apr-2012 |
Ben Noordhuis |
unix, win: rework uv_dlopen() API |
93d16e6a | 29-Apr-2012 |
Ben Noordhuis |
unix: change uv_dl*() error code Return UV_ENOENT instead of UV_EINVAL. UV_EINVAL was arbitrarily chosen and turns out to be inconsistent with the Windows implementation. Fixes
unix: change uv_dl*() error code Return UV_ENOENT instead of UV_EINVAL. UV_EINVAL was arbitrarily chosen and turns out to be inconsistent with the Windows implementation. Fixes #395.
show more ...
|
b9504f79 | 03-May-2012 |
Bert Belder |
Rename uv_platform_socket_t to uv_os_sock_t |
444ab19b | 24-Apr-2012 |
Bert Belder |
Benchmarks: add size of uv_poll_t to benchmark-sizes |
beaf7507 | 24-Apr-2012 |
Bert Belder |
Test: add tests for uv_poll |
d60d94e0 | 02-May-2012 |
Bert Belder |
Unix: implement uv_poll |
d7a71761 | 24-Apr-2012 |
Bert Belder |
Windows: implement uv_poll |