History log of /libuv/ (Results 4001 – 4025 of 5435)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e82d464517-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.

e10a87ad17-May-2012 Ben Noordhuis

unix: streamline shutdown req cleanup logic

7447048917-May-2012 Ben Noordhuis

test: enable tcp_connect_error_fault test

538a562c17-May-2012 Ben Noordhuis

test: add tcp connect timeout test

073a48d617-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.

60af28ab08-May-2012 Igor Zinkovsky

windows: support junctions with uv_fs_synlink
based on @piscisaureus implementation

9efa8b3517-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 ...

07622e7616-May-2012 Frank Denis

unix: change #if FIONBIO to #ifdef FIONBIO

Fixes compilation on Debian/ppc 6.0.4.

ad02404005-May-2012 Ben Noordhuis

test: prevent accidental division by zero

985b961d05-May-2012 Andrius Bentkus

Put POLL into the handle_map, so handle_size returns the size of it correctly.

b5f9bc8605-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 ...

1d24c76d04-May-2012 Bert Belder

Windows: fix MinGW

MinGW's headers are missing a definition for SIO_BASE_HANDLE

4365896904-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.

b750dec504-May-2012 Bert Belder

Windows: fix iocp emulation bugs for tcp handles

Makes ipc_tcp_connection pass on Windows XP

ef9a9f1f04-May-2012 Bert Belder

Tests: make test-tcp-write-error pass on XP

6037684e04-May-2012 Ben Noordhuis

unix: zero out new loop struct

Fixes spurious segfaults in pyuv.

ce129ac603-May-2012 Ben Noordhuis

windows: remove unused variables

395e256803-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.

5d19aa8429-Apr-2012 Ben Noordhuis

unix, win: rework uv_dlopen() API

93d16e6a29-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 ...

b9504f7903-May-2012 Bert Belder

Rename uv_platform_socket_t to uv_os_sock_t

444ab19b24-Apr-2012 Bert Belder

Benchmarks: add size of uv_poll_t to benchmark-sizes

beaf750724-Apr-2012 Bert Belder

Test: add tests for uv_poll

d60d94e002-May-2012 Bert Belder

Unix: implement uv_poll

d7a7176124-Apr-2012 Bert Belder

Windows: implement uv_poll

1...<<161162163164165166167168169170>>...218