Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

node-v0.8.11

windows: don't blow up when an invalid FD is used

node-v0.8.10

windows: don't blow up when an invalid FD is used

node-v0.9.2

darwin: emit relative path in fsevents

node-v0.8.9

windows: fix memory corruption when closing shared server sockets

node-v0.9.1

test: add test for uv_is_active and uv_is_closing

node-v0.8.7

build: rework -fvisibility=hidden detection
Make the gcc_version macro conform with what node.js and v8 use. Important
because node.js's common.gypi is going to export it soon.

node-v0.8.6

windows: map WSANO_DATA to UV_ENOENT
This improves uv_getaddrinfo error reporting.

node-v0.8.5

windows: invalid stdio handles should be INVALID_HANDLE_VALUE and not…
… NULL

node-v0.6.21

sunos: workaround OS bug to prevent fs.watch() from spinning
This is a back-port of commit cfb06db from the master branch.

Fixes joyent/node#3768.

node-v0.8.3

unix: fix format string vulnerability in freebsd.c
uv_set_process_title() was susceptible to a format string vulnerability:

  $ node -e 'process.title = Array(42).join("%s")'
  Segmentation fault: 11 (core dumped)

The fix is trivial - call setproctitle("%s", s) instead of setproctitle(s) -
but valgrind complains loudly about reads from and writes to uninitialized
memory in libc. It's not a libuv bug because the test case below triggers the
same warnings:

  #include <sys/types.h>
  #include <unistd.h>

  int main(void)
  {
    setproctitle("%s", "test");
    return 0;
  }

That's why this commit replaces setproctitle() with sysctl(KERN_PROC_ARGS).

This commit reapplies commit a9f6f06, which got reverted in 69a6afe. The revert
turned out to be unnecessary.

node-v0.9.0

test: add missing return statement

node-v0.8.2

unix: fix memory corruption in freebsd.c

node-v0.8.1

darwin: compile at -O0 in debug builds

node-v0.8.0

Update libuv version macro.

node-v0.7.12

windows: set the child_pid property for all IPC pipes in uv_spawn

node-v0.6.19

unix: fix loop starvation under high network load
uv__read() and uv__udp_recvmsg() read incoming data in a loop. If data comes
in at high speeds, the kernel receive buffer never drains and said functions
never terminate, stalling the event loop indefinitely. Limit the number of
consecutive reads to 32 to stop that from happening.

The number 32 was chosen at random. Empirically, it seems to maintain a high
throughput while still making the event loop move forward at a reasonable pace.

This is a back-port of commit 738b31e from the master branch.

Conflicts:
	src/unix/stream.c

node-v0.7.9

unix, windows: set active flag on unref'd handles
A logic bug in uv__handle_start() and uv__handle_stop() stopped the active flag
from getting set (or unset) on unref'd handles.

node-v0.6.18

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.

node-v0.6.17

windows: map ERROR_WRITE_PROTECT to UV_EROFS

node-v0.6.16

Windows: uv_spawn2 reports the wrong error when setuid/setgid is spec…
…ified

node-v0.7.8

unix: don't conditionally compile kqueue fs watcher
Always compile in the kqueue-based fs event watcher and handle it at run-time
if the kernel doesn't actually support it.

Works around build issues when -mmacosx-version-min is not set properly.

Fixes joyent/node#3075.

Conflicts:

	src/unix/kqueue.c

node-v0.6.15

unix: add uv_fs_read64, uv_fs_write64 and uv_fs_ftruncate64

node-v0.6.14

unix: ignore ECONNABORTED errors from accept()
ECONNABORTED means that the connection was torn down by the peer before the
TCP handshake completed. Ignore it, there's nothing we can do and it simplifies
error handling for libuv users.

node-v0.6.13

linux: try inotify_init if inotify_init1 returns ENOSYS
The kernel may be older than the kernel headers that libuv is compiled against.

node-v0.7.6

unix: replace C99/C++ comments, fix build

node-v0.6.12

unix: fix fs_event refcount bug on darwin
The event loop got unref'd twice when the handle was closed.

node-v0.6.11

Windows: add error mappings that map to EPIPE
Something went wrong with that request. Please try again.