Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Ben Noordhuis c11612026f net: omit superfluous 'connect' event
Don't emit a 'connect' event on sockets that are handed off to
net.Server 'connection' event listeners.

1. It's superfluous because the connection has already been established
   at that point.

2. The implementation is arguably wrong because the event is emitted on
   the same tick of the event loop while the rule of thumb is to always
   emit it on the next one.

This has been tried before in commit f0a440d but was reverted again in
ede1acc because the change was incomplete (at least one test hadn't
been updated).

Fixes #1047 (again).
2013-03-01 02:09:36 +01:00
benchmark bench: Make http easier to profile 2013-02-25 17:47:28 -08:00
deps deps: upgrade libuv to 2a8d2a5 2013-03-01 02:04:29 +01:00
doc Merge remote-tracking branch 'origin/v0.8' 2013-02-28 16:58:24 +01:00
lib net: omit superfluous 'connect' event 2013-03-01 02:09:36 +01:00
src lib, src: remove errno global 2013-02-28 23:11:47 +01:00
test net: omit superfluous 'connect' event 2013-03-01 02:09:36 +01:00
tools Merge remote-tracking branch 'origin/v0.8' 2013-02-28 23:13:54 +01:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore tools: Add wrk for benchmarking http servers 2013-02-19 17:16:18 -08:00
.mailmap Update AUTHORS and .mailmap 2012-10-10 23:14:55 +02:00
.travis.yml test: add `.travis.yml` for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS Merge remote-tracking branch 'origin/v0.8' 2013-02-28 16:58:24 +01:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
CONTRIBUTING.md doc: add tools/ dir to CONTRIBUTING.md verboten list 2013-02-14 12:42:57 +01:00
ChangeLog Merge remote-tracking branch 'origin/v0.8' 2013-02-28 16:58:24 +01:00
LICENSE buffer: floating point read/write improvements 2013-01-16 10:17:20 -08:00
Makefile build: automatically add tag for nightly builds 2013-02-26 15:33:13 +01:00
README.md doc: document PYTHON env var in README 2013-01-22 13:53:49 +01:00
common.gypi Merge remote-tracking branch 'origin/v0.8' 2013-02-28 16:58:24 +01:00
configure configure: define "arm_fpu" and "arm_neon" for ARM 2013-01-10 17:13:59 -08:00
node.gyp Revert "sunos: unbreak build after v8 downgrade" 2013-02-26 07:57:12 +00:00
vcbuild.bat windows: improve Visual Studio Express build support 2013-01-03 23:38:25 +01:00

README.md

Evented I/O for V8 javascript. Build Status

To build:

Prerequisites (Unix only):

* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./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