mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
Cross-platform JavaScript runtime environment
https://nodejs.org/
30e462e919
This commit fixes a bug where the cluster module failed to propagate EADDRINUSE errors. When a worker starts a (net, http) server, it requests the listen socket from its master who then creates and binds the socket. Now, OS X and Windows don't always signal EADDRINUSE from bind() but instead defer the error until a later syscall. libuv mimics this behaviour to provide consistent behaviour across platforms but that means the worker could end up with a socket that is not actually bound to the requested addresss. That's why the worker now checks if the socket is bound, raising EADDRINUSE if that's not the case. Fixes #2721. |
||
---|---|---|
benchmark | ||
deps | ||
doc | ||
lib | ||
src | ||
test | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
BSDmakefile | ||
ChangeLog | ||
common.gypi | ||
configure | ||
configure-gyp | ||
LICENSE | ||
Makefile | ||
Makefile-gyp | ||
node.gyp | ||
README.md | ||
vcbuild.bat | ||
wscript |
Evented I/O for V8 javascript.
To build:
Unix/Macintosh (requires python 2.6 or 2.7):
./configure
make
make install
Windows:
vcbuild.bat
To run the tests:
Unix/Macintosh:
make test
Windows:
vcbuild.bat test
To build the documentation:
make doc
To read the documentation:
man doc/node.1