- Oct 19, 2013
-
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
* uv: Upgrade to v0.10.18 * crypto: clear errors from verify failure (Timothy J Fontaine) * dtrace: interpret two byte strings (Dave Pacheco) * fs: fix fs.truncate() file content zeroing bug (Ben Noordhuis) * http: provide backpressure for pipeline flood (isaacs) * tls: fix premature connection termination (Ben Noordhuis)
-
Timothy J Fontaine authored
OpenSSL will push errors onto the stack when a verify fails, which can disrupt TLS and other routines if we don't clear the error stack Fixes #6304
-
Timothy J Fontaine authored
-
- Oct 17, 2013
-
-
isaacs authored
If a client sends a lot more pipelined requests than we can handle, then we need to provide backpressure so that the client knows to back off. Do this by pausing both the stream and the parser itself when the responses are not being read by the downstream client. Backport of 085dd30e
-
Timothy J Fontaine authored
-
Sam Roberts authored
- fixed some incomprehensible wording ("event assigned to..."?) - removed undocumented and unnecessary process properties from example - corrected the docs on the default for the exec setting - described when workers are removed from cluster.workers - described addressType, which was documented as existing, but not what values it might have - spell out more clearly the limitations of setupMaster - describe disconnect in sufficient detail that why a child does or does not exit can be understood - clarify which cluster functions and events are available on process or just on the worker, as well as which are not available in children, - don't describe events as the same, when they have receive different arguments - fix misleading disconnect example: since disconnect already calls close on all servers, doing it again in the example is a no-op, not the "force close" it was claimed to be - document the error event, not catching it will kill your node - describe suicide better, it is important, and a bit unintuitive (process.exit() is not suicide?) - use worker consistently throughout, instead of child. -
Sam Roberts authored
- Make explicit that .disconnected is set before the disconnect event, and it is not allowed to send messages after calling .disconnect(), even while waiting for a delayed disconect event. - Remove obsolete claim that explicit exit is required - Describe silent: in the options for fork() - Describe .connected as the property it is, not just as an aside in the disconnect() method
-
- Oct 16, 2013
-
-
Ben Noordhuis authored
The bit that says "before response.end() was called or able to flush" doesn't apply to incoming streams. Fixes #6359.
-
Ben Noordhuis authored
Make it a little easier to navigate the http module documentation by turning class names and methods into links to the appropriate section.
-
- Oct 15, 2013
-
-
Ben Noordhuis authored
Add a short explanation of what the load average is and why it's unavailable on Windows. Also sneak in a fix for a typo that I introduced in commit 56c5806d.
-
- Oct 14, 2013
-
-
Ben Noordhuis authored
The load average is a very UNIX-y concept. That's why os.loadavg() always returns zeros on Windows. Mention that in the documentation.
-
- Oct 11, 2013
-
-
Dave Pacheco authored
Closes #6329
-
- Oct 10, 2013
-
-
Ben Noordhuis authored
net.Server is not an instance of net.Socket so don't say it is.
-
Ben Noordhuis authored
* Extend examples to show how to handle non-constructor invocation in constructor callback functions. * Fix up examples to initialize member variables at object construction. * Fix up a few naming inconsistencies. Fixes #5701.
-
isaacs authored
-
Ben Noordhuis authored
Destroying the TLS session implies destroying the underlying socket but before this commit, that was done with net.Socket#destroy() rather than net.Socket#destroySoon(). The former closes the connection right away, even when there is still data to write. In other words, sometimes the final TLS record got truncated. Fixes #6107.
-
- Oct 09, 2013
-
-
Dave Pacheco authored
This is a partial backport of 5921158c Re #6309 Closes #6319
-
- Oct 08, 2013
-
-
Ben Noordhuis authored
fs.truncate() and its synchronous sibling are implemented in terms of open() + ftruncate(). Unfortunately, it opened the target file with mode 'w' a.k.a. 'write-only and create or truncate at open'. The subsequent call to ftruncate() then moved the end-of-file pointer from zero to the requested offset with the net result of a file that's neatly truncated at the right offset and filled with zero bytes only. This bug was introduced in commit 168a5557 but in fairness, before that commit fs.truncate() worked like fs.ftruncate() so it seems we've never had a working fs.truncate() until now. Fixes #6233.
-
- Oct 05, 2013
-
-
Ben Noordhuis authored
Warn against the open-if-exists anti-pattern, it's susceptible to race conditions.
-
- Oct 01, 2013
-
-
Ben Noordhuis authored
lLnk to http://nodejs.org/download/ and add a short primer on how to extract the tarballs. Fixes #6292.
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
* tls: fix sporadic hang and partial reads (Fedor Indutny) - fixes "npm ERR! cb() never called!"
-
- Sep 28, 2013
-
-
Ben Noordhuis authored
uv_pipe_open() is unlikely to fail but when it does, the failure should not be quietly ignored. Raise the error as an exception. See joyent/libuv#941.
-
Fedor Indutny authored
Do not decrement size in read loop, its used later, when comparing to `bytesRead`. fix #6270 NOTE: Original patch contributed by @roadrunner2
-
- Sep 25, 2013
-
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
* uv: Upgrade to v0.10.17 * npm: upgrade to 1.3.11 * readline: handle input starting with control chars (Eric Schrock) * configure: add mips-float-abi (soft, hard) option (Andrei Sedoi) * stream: objectMode transforms allow falsey values (isaacs) * tls: prevent duplicate values returned from read (Nathan Rajlich) * tls: NPN protocols are now local to connections (Fedor Indutny)
-
Timothy J Fontaine authored
-
- Sep 24, 2013
-
-
Eric Schrock authored
Handle control characters only when there is a single byte in the stream, otherwise fall through to the standard multibyte handling.
-
- Sep 19, 2013
-
-
Ben Noordhuis authored
Fixes #1212.
-
- Sep 17, 2013
-
-
Nathan Rajlich authored
-
Nathan Rajlich authored
-
- Sep 14, 2013
-
-
Nathan Rajlich authored
Otherwise the data ends up "on the wire" twice, and switching between consuming the stream using `ondata` vs. `read()` would yield duplicate data, which was bad.
-
- Sep 13, 2013
-
-
Ben Noordhuis authored
Apparently Joyent decommissioned joyeur.com but at least they saved the contents of the blog. Update the links in the README and the nodejs.org blog posts. Hat tip to Eugen Pirogoff (@eugenpirogoff) for pointing it out. Fixes #6224.
-