libuv/src
Ben Noordhuis 86ae8b3c63 unix: handle EINPROGRESS for unix sockets
Before this commit, it was assumed that connect() on UNIX sockets never
returns EINPROGRESS. It turned out to be a bad assumption: Dave Pacheco
reports sporadic hangups on SmartOS because of that.

It's not clear to me _why_ the Illumos kernel returns that error but
that's inconsequential: whatever the cause, libuv needs to handle it
and now it does.

This is a back-port of commit 3348cd7 from the master branch.

Fixes joyent/node#4785.

Conflicts:
	src/unix/pipe.c
2013-02-21 23:27:15 +01:00
..
ares Prepare libuv for shared library build 2011-10-29 00:52:32 +02:00
unix unix: handle EINPROGRESS for unix sockets 2013-02-21 23:27:15 +01:00
win win: get rid of early ipv6 support detection 2013-01-30 19:09:58 +01:00
cares.c Move shared c-ares glue code from uv-common to cares.c 2012-05-22 16:11:23 +02:00
fs-poll.c unix, windows: fix memory corruption in fs-poll.c 2012-08-20 17:13:27 +02:00
uv-common.c unix, windows: add debug mode handle printer 2012-06-06 04:25:12 +02:00
uv-common.h unix, windows: share uv__handle_init() 2012-06-13 01:28:58 +02:00