0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
Cross-platform JavaScript runtime environment https://nodejs.org/
Go to file
isaacs 164d5b3465 tls: Destroy socket when encrypted side closes
The v0.8 Stream.pipe() method automatically destroyed the destination
stream whenever the src stream closed.  However, this caused a lot of
problems, and was removed by popular demand.  (Many userland modules
still have a no-op destroy() method just because of this.) It was also
very hazardous because this would be done even if { end: false } was
passed in the pipe options.

In v0.10, we decided that the 'close' event and destroy() method are
application-specific, and pipe() doesn't automatically call destroy().
However, TLS actually depended (silently) on this behavior.  So, in this
case, we should just go ahead and destroy the thing when close happens.

Closes #5145
2013-04-01 10:53:49 -07:00
benchmark bench: add child process read perf benchmark 2013-03-25 13:16:07 +01:00
deps deps: upgrade libuv to v0.10.3 2013-03-28 20:05:33 +01:00
doc Ensure BAD domain example actually uses domain 2013-04-01 10:09:27 -07:00
lib tls: Destroy socket when encrypted side closes 2013-04-01 10:53:49 -07:00
src Node working on 0.10.3 2013-03-28 13:06:24 -07:00
test repl: isSyntaxError() catches "strict mode" errors 2013-03-30 13:10:30 -07:00
tools test: test name is the last elem, not second 2013-03-26 00:21:41 +01:00
.gitattributes
.gitignore tools: Add wrk for benchmarking http servers 2013-02-19 17:16:18 -08:00
.mailmap Update .mailmap and AUTHORS 2013-03-19 20:07:38 +01:00
.travis.yml test: add .travis.yml for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS 2013.03.28, Version 0.10.2 (Stable) 2013-03-28 12:07:52 -07:00
BSDmakefile
ChangeLog 2013.03.28, Version 0.10.2 (Stable) 2013-03-28 12:07:52 -07:00
common.gypi Revert "build, windows: disable SEH" 2013-03-05 19:40:02 +01:00
configure configure: define "arm_fpu" and "arm_neon" for ARM 2013-01-10 17:13:59 -08:00
CONTRIBUTING.md doc: update CONTRIBUTING.md 2013-03-24 13:28:46 +01:00
LICENSE doc: Add wrk's license to LICENSE file 2013-03-08 13:47:36 -08:00
Makefile build: define nightly tag external to build system 2013-03-05 14:43:27 -08:00
node.gyp Revert "sunos: unbreak build after v8 downgrade" 2013-02-26 07:57:12 +00:00
README.md doc: document PYTHON env var in README 2013-01-22 13:53:49 +01:00
vcbuild.bat build: define nightly tag external to build system 2013-03-05 14:43:27 -08:00

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