libuv/docs/src
Ben Noordhuis 393c1c59a2 unix: set non-block mode in uv_{pipe,tcp,udp}_open
The contract specifies that the file descriptor should already be in
non-blocking mode before passing it to libuv.

However, node users don't really have an opportunity to do so, never
mind the fact that the call to uv_pipe_open() or uv_tcp_open() is an
implementation detail that most users won't be aware of.

Let's be nice and set the non-blocking flag explicitly.  It's a cheap
operation anyway.

Fixes: https://github.com/libuv/libuv/issues/124

PR: https://github.com/libuv/libuv/pull/134
Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
2015-01-14 19:46:54 +01:00
..
static doc: add API documentation 2014-09-11 09:38:35 +02:00
async.rst doc: clarify how uv_async_send behaves 2015-01-07 14:01:16 +01:00
check.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
conf.py doc: fix spelling 2014-11-29 04:22:56 +01:00
design.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
dll.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
dns.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
errors.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
fs_event.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
fs_poll.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
fs.rst doc: document how to get result of uv_fs_mkdtemp 2014-12-05 17:20:53 +01:00
handle.rst doc: fix typo: Strcutures -> Structures 2014-11-26 08:42:08 +01:00
idle.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
index.rst doc,build,include: update project links 2014-11-25 15:39:12 +01:00
loop.rst doc: indicate what version uv_loop_configure was added on 2014-12-11 17:29:14 +01:00
migration_010_100.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
misc.rst unix: change uv_cwd not to return a trailing slash 2014-12-16 08:12:07 +01:00
pipe.rst unix: set non-block mode in uv_{pipe,tcp,udp}_open 2015-01-14 19:46:54 +01:00
poll.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
prepare.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
process.rst doc: add documentation for missing functions and structures 2014-10-01 09:23:09 +02:00
request.rst doc: fix typo: Strcutures -> Structures 2014-11-26 08:42:08 +01:00
signal.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
stream.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
tcp.rst unix: set non-block mode in uv_{pipe,tcp,udp}_open 2015-01-14 19:46:54 +01:00
threading.rst win: fix uv_thread_self() 2014-11-10 20:03:01 -03:00
threadpool.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
timer.rst doc: add API documentation 2014-09-11 09:38:35 +02:00
tty.rst doc: clarify the behavior of uv_tty_init 2015-01-07 13:58:55 +01:00
udp.rst unix: set non-block mode in uv_{pipe,tcp,udp}_open 2015-01-14 19:46:54 +01:00