- Aug 14, 2012
-
-
Ben Noordhuis authored
Commit 4e5fe2d4 changed the way how process.nextTick() works: process.nextTick(function foo() { process.nextTick(function bar() { // ... }); }); Before said commit, foo() and bar() used to run on separate event loop ticks but that is no longer the case. However, that's exactly the behavior that the TLS renegotiation attack guard relies on. It gets called by OpenSSL and needs to defer the 'error' event to a later tick because the default action is to destroy the TLS context - the same context that OpenSSL currently operates on. When things change underneath your feet, bad things happen and OpenSSL is no exception. Ergo, use setImmediate() instead of process.nextTick() to ensure that the 'error' event is actually emitted at a later tick. Fixes #3840.
-
- Aug 13, 2012
-
-
Nathan Rajlich authored
They've been merged into `node-gyp` and aren't serving any purpose in the node repo. Fixes #3760.
-
- Aug 12, 2012
-
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
- Aug 10, 2012
-
-
Felix Böhm authored
-
Ben Noordhuis authored
-
- Aug 09, 2012
-
-
Ben Noordhuis authored
The test relied on a peculiarity of process.nextTick() that was changed in commit 4e5fe2d4. Before that commit, each nextTick callback corresponded with the event loop moving forward one tick. That's no longer the case.
-
Ben Noordhuis authored
pummel/test-net-throttle assumes that a couple of big write requests result in some of them getting queued because the kernel's send buffer fills up. Said assumption breaks on systems with large send buffers. Raise the size of the write request to ameliorate the issue.
-
Ben Noordhuis authored
Fixes a minor oversight introduced in 168a5557, resulting in the following error: fs.js:467 return fs.ftruncateSync(path, len, callback); ^ ReferenceError: callback is not defined at Object.fs.truncateSync (fs.js:467:40)
-
Ben Noordhuis authored
Fixes #3847.
-
- Aug 07, 2012
-
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
This is the c-ares code that used to live in the libuv source tree. It is based on c-ares 1.9.0.
-
Ben Noordhuis authored
This commit reverts the following commits (in reverse chronological order): 74d076ca errnoException must be done immediately ddb02b97 net: support Server.listen(Pipe) 085a0987 cluster: do not use internal server API d1388751 net: lazy listen on handler Commit d1388751 introduced a backwards incompatible change that broke the simple/test-net-socket-timeout and simple/test-net-lazy-listen tests - it defers listening on the target port until the `net.Server` instance has at least one 'connection' event listener. The other patches had to be reverted in order to revert d1388751. Fixes #3832.
-
Josh Erickson authored
Modified net.isIP Ipv6 regex to allow for addresses ending in "::". Added tests for new IPv6 matching reqex.
-
- Aug 06, 2012
-
-
isaacs authored
For backwards compatibility, fs.truncate(<number>) will proxy to fs.ftruncate. Fix #3805
-
isaacs authored
Conflicts: doc/api/util.markdown
-
Ben Noordhuis authored
The destroy() method of fs.ReadStream and fs.WriteStream takes a callback. It's a leftover from the node 0.1 days, undocumented and not part of the streams API. Remove it.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
isaacs authored
-
isaacs authored
1. The net changes add a stack frame to stdin errors. 2. The error line numbers were overly strict in many places.
-
Andreas Madsen authored
-
Andreas Madsen authored
-
- Aug 05, 2012
-
-
Andreas Madsen authored
This allow the server to be shared without the need to handle connection from master
-
- Aug 04, 2012
-
-
isaacs authored
Conflicts: ChangeLog deps/uv/src/unix/sunos.c deps/uv/test/test-tcp-unexpected-read.c src/node_version.h
-
- Aug 03, 2012
-
-
Bert Belder authored
This fixes the problem that calling pause() on a socket would not actually prevent 'data' events from being emitted. It also replaces the existing test by a more elaborate one. Ref: #3118
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* node: tag Encode and friends NODE_EXTERN (Ben Noordhuis) * fs: fix ReadStream / WriteStream missing callback (Gil Pedersen) * fs: fix readFileSync("/proc/cpuinfo") regression (Ben Noordhuis) * installer: don't assume bash is installed (Ben Noordhuis) * Report errors properly from --eval and stdin (isaacs) * assert: fix throws() throws an error without message property (koichik) * cluster: fix libuv assert in net.listen() (Ben Noordhuis) * build: always link sunos builds with libumem (Trent Mick) * build: improve armv7 / hard-float detection (Adam Malcontenti-Wilson) * https: Use host header as effective servername (isaacs) * sunos: work around OS bug to prevent fs.watch() from spinning (Bryan Cantrill) * linux: fix 'two watchers, one path' segfault (Ben Noordhuis) * windows: fix memory leaks in many fs functions (Bert Belder) * windows: don't allow directories to be opened for writing/appending (Bert Belder) * windows: make fork() work even when not all stdio handles are valid (Bert Belder) * windows: make unlink() not remove mount points, and improve performance (Bert Belder) * build: Sign pkg installer for OS X (isaacs) -
isaacs authored
This makes the installer work on Mountain Lion.
-
- Aug 02, 2012
-
-
Ben Noordhuis authored
-
isaacs authored
-
isaacs authored
-
Ben Noordhuis authored
The old installer was a JS script, which didn't work if node had been cross-compiled for another architecture. Replace it with a python script. Fixes #3807.
-