- Oct 10, 2012
-
-
Bert Belder authored
-
Bert Belder authored
This is a backport of 2 patches by Ting-Yu Lin and Hiroaki Nakamura.
-
- Sep 22, 2012
-
-
Bert Belder authored
-
- Sep 21, 2012
-
-
Charlie McConnell authored
-
- Sep 15, 2012
-
-
Ben Noordhuis authored
Make uv_cpu_info() understand the ARM and MIPS versions of /proc/cpuinfo, it only knew how to deal with the x86 version This commit also fixes a buglet where uv_cpu_info() reported the maximum CPU frequency instead of the actual CPU frequency. That is, before this commit `out/Debug/run-tests platform_output | grep speed | sort | uniq -c` on my system always reported: 8 speed: 3400 Now it reports (for example): 2 speed: 3400 6 speed: 1600 In other words, two CPUs are running at full speed while the others have been scaled back because they're mostly idle. This is a back-port of commit 54bfb668 from the master branch. Fixes #526.
-
- Sep 14, 2012
-
-
Bert Belder authored
-
- Sep 11, 2012
-
-
Ben Noordhuis authored
Remove the O_NONBLOCK flag from file descriptors 0-2, most applications don't expect EAGAIN errors when dealing with stdio.
-
Ben Noordhuis authored
-
- Sep 10, 2012
-
-
Ben Noordhuis authored
Don't spin in epoll_wait() / kevent() / port_getn() / etc. when we can't accept() a new connection due to having reached the file descriptor limit. Pass the error to the connection_cb and let the libuv user deal with it.
-
Ben Noordhuis authored
-
- Sep 03, 2012
-
-
Ben Noordhuis authored
The system headers advertise the socket option but the actual syscall fails with ENOPROTOOPT. Fixes joyent/node#3937.
-
- Aug 30, 2012
-
-
Bert Belder authored
-
- Aug 25, 2012
-
-
Ben Noordhuis authored
Some memory was leaked when the uv_udp_t handle was closed when there were in-flight send requests with a heap allocated buffer list. That doesn't happen much in practice. In the common case (writing < 5 buffers), the buffer list is stored inside the uv_udp_send_t structure, not allocated on the heap.
-
- Aug 22, 2012
-
-
Ben Noordhuis authored
-
- Aug 20, 2012
-
-
Bert Belder authored
uv_update_time does not overwrite the high 32 bits of uv_loop_t.time. It merely increments it by one when the low 32 bits have wrapped. That means that `time` needs to be initialized to zero before uv_update_time() is called for the first time.
-
Ben Noordhuis authored
uv_fs_poll_t has an embedded uv_timer_t handle that got closed at a time when the memory of the encapsulating handle might already have been deallocated. Solve that by moving the poller's state into a structure that is allocated on the heap and can be freed independently.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
This is a back-port of commit f97c80fa from the master branch.
-
- Aug 18, 2012
-
-
Tim Holy authored
Conversion to nanoseconds was overflowing with 32-bit builds.
-
- Aug 16, 2012
-
-
Ben Noordhuis authored
kstat_data_lookup("clock_Mhz") returns a KSTAT_DATA_INT32 on i386 but a KSTAT_DATA_INT64 on x86_64.
-
- Aug 15, 2012
-
-
Ben Noordhuis authored
-
- Aug 13, 2012
-
-
Ben Noordhuis authored
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.
-
- Aug 08, 2012
-
-
Bert Belder authored
Ref: joyent/node#3779
-
Bert Belder authored
-
- Aug 03, 2012
-
-
Bert Belder authored
This improves uv_getaddrinfo error reporting.
-
- Jul 31, 2012
-
-
Bert Belder authored
-
Bert Belder authored
This is closer to the Posix model.
-
Bert Belder authored
This shouldn't be necessary, but node v0.8 relies on it.
-
Bert Belder authored
Hopefully this fixes joyent/node#3779.
-
Bert Belder authored
-
Bert Belder authored
* It's now more efficient, the file is not opened twice. * It no longer allows deletion of non-symlink directory reparse points.
-
Bert Belder authored
Old and new path were accidentally reversed.
-
Ben Noordhuis authored
This is a back-port of commit cfb06db5 from the master branch. Fixes joyent/node#3768.
-
- Jul 30, 2012
-
-
Ben Noordhuis authored
-
Bert Belder authored
Also clean up the code in various ways.
-
Bert Belder authored
-
- Jul 28, 2012
-
-
Ben Noordhuis authored
Problem: registering two uv_fs_event_t watchers for the same path, then closing them, caused a segmentation fault. While active, the watchers didn't work right either, only one would receive events. Cause: each watcher has a wd (watch descriptor) that's used as its key in a binary tree. When you call inotify_watch_add() twice with the same path, the second call doesn't return a new wd - it returns the existing one. That in turn resulted in the first handle getting ousted from the binary tree, leaving dangling pointers. This commit addresses that by storing the watchers in a queue and storing the queue in the binary tree instead of storing the watchers directly in the tree. Fixes joyent/node#3789.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Watches the same file twice. Fails on Linux with a segmentation fault.
-