- Feb 20, 2013
-
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* V8: Upgrade to 3.15.11.15 * npm: Upgrade to 1.2.12 * fs: Change default WriteStream config, increase perf (isaacs) * process: streamlining tick callback logic (Trevor Norris) * stream_wrap, udp_wrap: add read-only fd property (Ben Noordhuis) * buffer: accept negative indices in Buffer#slice() (Ben Noordhuis) * tls: Cycle data when underlying socket drains (isaacs) * stream: read(0) should not always trigger _read(n,cb) (isaacs) * stream: Empty strings/buffers do not signal EOF any longer (isaacs) * crypto: improve cipher/decipher error messages (Ben Noordhuis) * net: Respect the 'readable' flag on sockets (isaacs) * net: don't suppress ECONNRESET (Ben Noordhuis) * typed arrays: copy Buffer in typed array constructor (Ben Noordhuis) * typed arrays: make DataView throw on non-ArrayBuffer (Ben Noordhuis) * windows: MSI installer enhancements (Scott Blomquist, Jim Schubert)
-
isaacs authored
-
isaacs authored
Fixes #4800
-
- Feb 19, 2013
- Feb 16, 2013
-
-
Gil Pedersen authored
This creates better flow for large values of lowWaterMark.
-
isaacs authored
This increases fs.WriteStream throughput dramatically by removing the "higher default water marks" for fs.WriteStream. Also includes a benchmark. Current performance is significantly higher than v0.8 for strings at all tested levels except size=1. Buffer performance is still lackluster. Further improvement in the stream.Writable base class is required, but this is a start.
-
isaacs authored
200ms is still short enough for occasional spurious failures.
-
Trevor Norris authored
Using external memory values allows for quick communication between js and cc land, so we can check if the js land callback needs to be run. (this is where I meant that manually tracking nextTickQueue.length would be helpful) Also did some minor cleanup of removing the old Tick and StartTickSpinner functions, and a few unneeded comments. Conflicts: src/node.cc
-
Trevor Norris authored
* Callbacks from spinner now calls its own function, separate from the tickCallback logic * MakeCallback will call a domain specific function if a domain is detected * _tickCallback assumes no domains, until nextTick receives a callback with a domain. After that _tickCallback is overridden with the domain specific implementation. * _needTickCallback runs in startup() instead of nextTick (isaacs) * Fix bug in _fatalException where exit would be called twice (isaacs) * Process.domain has a default value of null * Manually track nextTickQueue.length (will be useful later) * Update tests to reflect internal api changes
-
Shigeki Ohtsu authored
-
Shigeki Ohtsu authored
uv_check is the robust place to invoke setImmediate callbacks after process.nextTick and before timers(setTimeout/setInterval)
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* npm: Upgrade to v1.2.11 * http: Do not let Agent hand out destroyed sockets (isaacs) * http: Raise hangup error on destroyed socket write (isaacs) * http: protect against response splitting attacks (Bert Belder)
-
isaacs authored
-
- Feb 15, 2013
-
-
isaacs authored
Fix #4373
-
isaacs authored
Prior to v0.10, Node ignored ECONNRESET errors in many situations. There *are* valid cases in which ECONNRESET should be ignored as a normal part of the TCP dance, but in many others, it's a very relevant signal that must be heeded with care. Exacerbating this problem, if the OutgoingMessage does not have a req.connection._handle, it assumes that it is in the process of connecting, and thus buffers writes up in an array. The problem happens when you reuse a socket between two requests, and it is destroyed abruptly in between them. The writes will be buffered, because the socket has no handle, but it's not ever going to GET a handle, because it's not connecting, it's destroyed. The proper fix is to treat ECONNRESET correctly. However, this is a behavior/semantics change, and cannot land in a stable branch. Fix #4775
-
Ben Noordhuis authored
It only works for stdin, not stdout/stderr, for obvious reasons.
-
- Feb 14, 2013
-
-
Ben Noordhuis authored
-
- Feb 13, 2013
-
-
Dan Kohn authored
Running repl.start without the prompt set produces this error: repl.js:95 throw new Error('An options Object, or a prompt String are required'); ^ Error: An options Object, or a prompt String are required at new REPLServer (repl.js:95:11) at Object.exports.start (repl.js:321:14) at Object.<anonymous> (/Users/dan/Dropbox/Documents/dev/nextgen/repl_test.js:5:6) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10) at process.startup.processNextTick.process._tickCallback (node.js:244:9) -
Ben Noordhuis authored
Expose the file descriptor as a read-only property on the internal handle objects. Intended for debugging purposes, not part of the API proper. The property is always null on Windows. Fixes #4754.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
It's not really harmful but it's inconsistent with the other header files.
-
Ben Noordhuis authored
A negative start or end parameter now indexes from the end of the buffer. More in line with String#slice() and ArrayBuffer#slice().
-
isaacs authored
Previously, we were only destroying sockets on end if their readable side had already been ended. This causes a problem for non-readable streams, since we don't expect to ever see an 'end' event from those. Treat the lack of a 'readable' flag the same as if it was an ended readable stream. Fix #4751
-
isaacs authored
-
isaacs authored
Thanks, @domenic
-