Ben Noordhuis 03eb41c2ec net: don't emit 'close' event twice
Don't allow `socket.destroy()` to run twice. The self-destruct sequence itself
is idempotent but it makes the 'close' and 'error' events fire more than once,
which may confuse listeners.

Fixes #2223.
2011-12-01 14:57:06 +01:00
2011-11-10 21:13:37 +01:00
2011-11-30 15:28:48 +01:00
2011-12-01 14:57:06 +01:00
2011-12-01 14:57:06 +01:00
2011-11-11 14:56:27 -08:00
2011-11-25 11:23:28 +01:00
2011-08-26 20:38:45 +00:00
2011-09-12 21:48:30 +00:00
2011-11-10 13:22:13 -08:00
2011-11-01 22:26:52 +01:00

Evented I/O for V8 javascript.

To build:

Unix/Macintosh (requires python >= 2.5.2):

./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

Resources for Newcomers

Languages
JavaScript 65.4%
C++ 22.6%
Python 8.4%
C 2.1%
HTML 0.5%
Other 0.8%