#
895e7763 |
| 08-Apr-2013 |
Fedor Indutny |
unix: don't write more than IOV_MAX iovecs Write no more than `IOV_MAX` chunks with `writev()` at once, otherwise `writev()` returns EINVAL. |
#
4a55522e |
| 07-Apr-2013 |
Ben Noordhuis |
unix: remove superfluous check in stream.c |
#
23947fda |
| 29-Mar-2013 |
Ben Noordhuis |
Merge remote-tracking branch 'origin/v0.10'
|
#
75141493 |
| 27-Mar-2013 |
Ben Noordhuis |
darwin: don't select(&exceptfds) in fallback path The exceptfds set is for polling OOB data, not errors. Fixes joyent/node#5155. |
#
0635e297 |
| 26-Mar-2013 |
Ben Noordhuis |
unix, windows: remove ngx-queue.h Avoids an extra #include in public headers and stops the ngx_queue_* types and macros from leaking into user code. |
#
b45a74fa |
| 15-Mar-2013 |
Fedor Indutny |
stream: run try_select only for pipes and ttys Its not necesary for TCP and other streams, since fd is always working with kqueue there. |
#
0b26af37 |
| 05-Mar-2013 |
Ben Noordhuis |
unix: handle POLLERR and POLLHUP in uv__stream_io Fixes a busy loop when the file descriptor emits POLLHUP but not POLLIN or POLLOUT, e.g. when polling the read end of a pipe and the wri
unix: handle POLLERR and POLLHUP in uv__stream_io Fixes a busy loop when the file descriptor emits POLLHUP but not POLLIN or POLLOUT, e.g. when polling the read end of a pipe and the write end is closed. Fixes joyent/node#4923.
show more ...
|
#
2a8d2a5b |
| 01-Mar-2013 |
Ben Noordhuis |
darwin: fix spurious uv_write2() segfault We abuse uv_write2() to send over UDP handles to child processes. Don't call uv__stream_fd() on those handles, it's a macro that on OS X eva
darwin: fix spurious uv_write2() segfault We abuse uv_write2() to send over UDP handles to child processes. Don't call uv__stream_fd() on those handles, it's a macro that on OS X evaluates to a function that operates on a uv_stream_t with a couple of OS X specific fields. On other Unices it does (handle)->io_watcher.fd, which works but only by accident. Fixes joyent/node#4870.
show more ...
|
#
78dcaa5c |
| 27-Feb-2013 |
Ben Noordhuis |
darwin: fix read from uninitialized struct kevent In the OS X fallback code, don't read from the struct when the kevent() syscall times out. |
#
7c3b9e5a |
| 27-Feb-2013 |
Ben Noordhuis |
unix: make stream.c internal functions static |
#
1d64c828 |
| 21-Feb-2013 |
Ben Noordhuis |
unix: use uv__set_artificial_error in uv_write2 * Use uv__set_artificial_error(), slightly more efficient than uv__set_sys_error(). * Return UV_EINVAL instead of UV_EOPNOTSUPP
unix: use uv__set_artificial_error in uv_write2 * Use uv__set_artificial_error(), slightly more efficient than uv__set_sys_error(). * Return UV_EINVAL instead of UV_EOPNOTSUPP. * Fix up style.
show more ...
|
#
9a8db3c0 |
| 21-Feb-2013 |
Saúl Ibarra Corretgé |
unix: reduce line count, return uv__set_sys_error |
#
3f47a2da |
| 21-Feb-2013 |
Saúl Ibarra Corretgé |
unix: fail early on bad send_handle in uv_write2 Return UV_EBADF if send_handle doesn't have a valid fd. |
#
c15d4a7c |
| 08-Feb-2013 |
Fedor Indutny |
stream: use kevent() information before accept() Limit number of syscalls by using backlog length information provided by kevent(). |
Revision tags: node-v0.8.19, node-v0.9.10 |
|
#
e4d8cbac |
| 22-Jan-2013 |
Bert Belder |
unix: support sending uv_udp_t handles over ipc pipes |
Revision tags: node-v0.9.7 |
|
#
768b5246 |
| 14-Jan-2013 |
Ben Noordhuis |
unix: make stream.c more DRY |
#
c931e317 |
| 14-Jan-2013 |
Ben Noordhuis |
unix: make assertion message more descriptive |
Revision tags: node-v0.9.6 |
|
#
a2bedc0a |
| 06-Jan-2013 |
Ben Noordhuis |
unix: make uv__read_start_common() static |
#
ba83510f |
| 02-Jan-2013 |
Fedor Indutny |
stream: fix infinite select() polling on osx Interruption FD buffer should be emptied after write, otherwise select() loop will poll indefinitely. |
#
775f2c1f |
| 02-Jan-2013 |
Ben Noordhuis |
unix: remove stale closing check in uv__write() Introduced in 0db3274f but no longer necessary; uv__write() no longer runs when the handle has been closed. Write callbacks receive a spec
unix: remove stale closing check in uv__write() Introduced in 0db3274f but no longer necessary; uv__write() no longer runs when the handle has been closed. Write callbacks receive a special status code that informs them that the handle has been closed.
show more ...
|
#
a657e7f5 |
| 02-Jan-2013 |
Ben Noordhuis |
unix: remove uv_write_queue_head() |
#
0b3ab725 |
| 02-Jan-2013 |
Ben Noordhuis |
unix: remove bogus uv__write() comment |
Revision tags: node-v0.9.4 |
|
#
e079a99a |
| 13-Dec-2012 |
Ben Noordhuis |
unix: fix event loop stall Fix a rather obscure bug where the event loop stalls when an I/O watcher is stopped while an artificial event, generated with uv__io_feed(), is pending. |
Revision tags: node-v0.8.17, node-v0.8.15, node-v0.9.3, node-v0.8.12, node-v0.8.10, node-v0.9.2, node-v0.8.9, node-v0.9.1, node-v0.8.8 |
|
#
731adaca |
| 16-Aug-2012 |
Fedor Indutny |
unix: use select() for specific fds on OS X kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds (i.e. /dev/tty, /dev/null, etc). When given such descriptors - start
unix: use select() for specific fds on OS X kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds (i.e. /dev/tty, /dev/null, etc). When given such descriptors - start select(2) watcher thread that will emit io events.
show more ...
|
#
a385ae4f |
| 09-Dec-2012 |
Ben Noordhuis |
unix: only set SO_REUSEADDR on tcp listen sockets Avoid the extra syscall, it's a no-op for non-listening sockets. At least, it should be - it remains to be investigated if a FreeBS
unix: only set SO_REUSEADDR on tcp listen sockets Avoid the extra syscall, it's a no-op for non-listening sockets. At least, it should be - it remains to be investigated if a FreeBSD kernel bug affects ephemeral port allocation inside connect(). See [1] for details. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=174087
show more ...
|