Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
isaacs 1762dd7ed9 stream: read(0) should not always trigger _read(n,cb)
This is causing the CryptoStreams to get into an awful state when
there is a tight loop calling connection.write(chunk) waiting for
a false return.

Because CryptoStreams use read(0) to cycle data, this was causing
the encrypted side to pull way too much data in from the cleartext
side, since the read(0) would make it always call _read.

The unfortunate side effect, fixed in the next patch, is that
CryptoStreams don't automatically cycle when the Socket drains.
2013-02-11 16:43:09 -08:00
benchmark benchmark: Port http.sh from master 2013-01-24 17:23:22 -08:00
deps V8: Reapply floating patches 2013-02-08 17:18:41 -08:00
doc doc: update buffer/typed array documentation 2013-02-10 21:57:32 +01:00
lib stream: read(0) should not always trigger _read(n,cb) 2013-02-11 16:43:09 -08:00
src crypto: improve cipher/decipher error messages 2013-02-11 23:19:48 +01:00
test crypto: improve cipher/decipher error messages 2013-02-11 23:19:48 +01:00
tools windows/msi: more installer enhancements 2013-02-07 15:31:21 -08:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore gitignore: Ignore release tarballs and shasum files 2013-02-01 10:17:53 -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 2013.02.07, Version 0.9.9 (Unstable) 2013-02-07 09:11:11 -08:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
CONTRIBUTING.md doc: add CONTRIBUTING.md 2012-12-31 01:50:48 +01:00
ChangeLog 2013.02.07, Version 0.9.9 (Unstable) 2013-02-07 09:11:11 -08:00
LICENSE buffer: floating point read/write improvements 2013-01-16 10:17:20 -08:00
Makefile Merge remote-tracking branch 'ry/v0.8' into master 2013-01-11 10:18:07 -08:00
README.md doc: document PYTHON env var in README 2013-01-22 13:53:49 +01:00
common.gypi gyp: fix build with dtrace support on FreeBSD 2013-01-21 12:47:26 +04:00
configure configure: define "arm_fpu" and "arm_neon" for ARM 2013-01-10 17:13:59 -08:00
node.gyp buffer: floating point read/write improvements 2013-01-16 10:17:20 -08: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