Permalink
Commits on Sep 4, 2013
  1. 2013.09.04, Version 0.10.18 (Stable)

    * uv: Upgrade to v0.10.15
    
    * stream: Don't crash on unset _events property (isaacs)
    
    * stream: Pass 'buffer' encoding with decoded writable chunks (isaacs)
    tjfontaine committed Sep 4, 2013
  2. doc: fix writable.write link

    shama committed with bnoordhuis Sep 3, 2013
Commits on Sep 1, 2013
  1. benchmark: Fix execArgv handling

    Bug in 01f3b46 causes the same benchmark to be run repeatedly.
    
    Not so useful for the compare scripts.
    isaacs committed Sep 1, 2013
Commits on Aug 31, 2013
  1. benchmark: Support passing v8 flags to benchmarks

    The better to test --use-strict effects on performance.
    
    (Spoiler: it has no measurable effect on performance.)
    isaacs committed Aug 31, 2013
Commits on Aug 28, 2013
  1. stream: check _events before _events.error

    This fixes the regression introduced by 5458079, which breaks the
    net/net-pipe benchmark script.
    
    Closes #6145
    isaacs committed Aug 28, 2013
Commits on Aug 27, 2013
  1. stream: Pass 'buffer' encoding to decoded writables

    Since the encoding is no longer relevant once it is decoded to a Buffer,
    it is confusing and incorrect to pass the encoding as 'utf8' or whatever
    in those cases.
    
    Closes #6119
    isaacs committed Aug 27, 2013
Commits on Aug 23, 2013
  1. uv: update to v0.10.15

    piscisaureus committed Aug 23, 2013
Commits on Aug 21, 2013
  1. blog: Post for v0.10.17

    tjfontaine committed Aug 21, 2013
  2. Now working on 0.10.18

    tjfontaine committed Aug 21, 2013
  3. 2013.08.21, Version 0.10.17 (Stable)

    * uv: Upgrade v0.10.14
    
    * http_parser: Do not accept PUN/GEM methods as PUT/GET (Chris Dickinson)
    
    * tls: fix assertion when ssl is destroyed at read (Fedor Indutny)
    
    * stream: Throw on 'error' if listeners removed (isaacs)
    
    * dgram: fix assertion on bad send() arguments (Ben Noordhuis)
    
    * readline: pause stdin before turning off terminal raw mode (Daniel Chatfield)
    tjfontaine committed Aug 21, 2013
  4. uv: Upgrade v0.10.14

    tjfontaine committed Aug 21, 2013
  5. blog: v0.11.6

    tjfontaine committed Aug 21, 2013
  6. doc: Mention python dep in downloads page

    Closes #3604
    isaacs committed Aug 21, 2013
  7. deps: upgrade http_parser to 303c4e4

    Upgrade to nodejs/http-parser@303c4e4. Changes:
    
      * Do not accept PUN/GEM methods as PUT/GET.
      * Further request method check strengthening.
    bnoordhuis committed Aug 21, 2013
  8. tls: fix assertion when ssl is destroyed at read

    `maybeInitFinished()` can emit the 'secure' event which
    in turn destroys the connection in case of authentication
    failure and sets `this.pair.ssl` to `null`.
    
    If such condition appeared after non-empty read - loop will continue
    and `clearOut` will be called on `null` object instead of
    `crypto::Connection` instance. Resulting in the following assertion:
    
        ERROR: Error: Hostname/IP doesn't match certificate's altnames
        Assertion failed: handle->InternalFieldCount() > 0
    
    fix #5756
    indutny committed Aug 21, 2013
Commits on Aug 20, 2013
  1. doc: Minor typos in dgram doc

    a/an usage.  Thanks @KenanSulayman
    isaacs committed Aug 20, 2013
Commits on Aug 19, 2013
  1. doc: Add callback parameter to dgram socket.bind()

    Also, describe more details of bind().
    duanyao committed with isaacs Dec 4, 2012
  2. stream: Throw on 'error' if listeners removed

    In this situation:
    
        writable.on('error', handler);
        readable.pipe(writable);
        writable.removeListener('error', handler);
        writable.emit('error', new Error('boom'));
    
    there is actually no error handler, but it doesn't throw, because of the
    fix for stream.once('error', handler), in 23d92ec.
    
    Note that simply reverting that change is not valid either, because
    otherwise this will emit twice, being handled the first time, and then
    throwing the second:
    
        writable.once('error', handler);
        readable.pipe(writable);
        writable.emit('error', new Error('boom'));
    
    Fix this with a horrible hack to make the stream pipe onerror handler
    added before any other userland handlers, so that our handler is not
    affected by adding or removing any userland handlers.
    
    Closes #6007.
    isaacs committed Aug 19, 2013
Commits on Aug 17, 2013
  1. dgram: fix assertion on bad send() arguments

    Add range checks for the offset, length and port arguments to
    dgram.Socket#send().  Fixes the following assertion:
    
        node: ../../src/udp_wrap.cc:264: static v8::Handle<v8::Value>
        node::UDPWrap::DoSend(const v8::Arguments&, int): Assertion
        `offset < Buffer::Length(buffer_obj)' failed.
    
    And:
    
        node: ../../src/udp_wrap.cc:265: static v8::Handle<v8::Value>
        node::UDPWrap::DoSend(const v8::Arguments&, int): Assertion
        `length <= Buffer::Length(buffer_obj) - offset' failed.
    
    Interestingly enough, a negative port number was accepted until now but
    silently ignored.  (In other words, it would send the datagram to a
    random port.)
    
    This commit exposed a bug in the simple/test-dgram-close test which
    has also been fixed.
    
    This is a back-port of commit 41ec6d0 from the master branch.
    
    Fixes #6025.
    bnoordhuis committed Aug 9, 2013
  2. readline: pause stdin before turning off terminal raw mode

    On windows, libuv will immediately make a `ReadConsole` call (in the
    thread pool) when a 'flowing' `uv_tty_t` handle is switched to
    line-buffered mode. That causes an immediate issue for some users,
    since libuv can't cancel the `ReadConsole` operation on Windows 8 /
    Server 2012 and up if the program switches back to raw mode later.
    
    But even if this will be fixed in libuv at some point, it's better to
    avoid the overhead of starting work in the thread pool and immediately
    cancelling it afther that.
    
    See also f34f1e3, where the same change is made for the opposite
    flow, e.g. move `resume()` after `_setRawMode(true)`.
    
    Fixes #5927
    
    This is a backport of dfb0461 (see #5930) to the v0.10 branch.
    danielchatfield committed with piscisaureus Jul 30, 2013
Commits on Aug 16, 2013
  1. blog: v0.10.16

    isaacs committed Aug 16, 2013
  2. Now working on v0.10.17

    isaacs committed Aug 16, 2013
  3. 2013.08.16, Version 0.10.16 (Stable)

    * v8: back-port fix for CVE-2013-2882
    
    * npm: Upgrade to 1.3.8
    
    * crypto: fix assert() on malformed hex input (Ben Noordhuis)
    
    * crypto: fix memory leak in randomBytes() error path (Ben Noordhuis)
    
    * events: fix memory leak, don't leak event names (Ben Noordhuis)
    
    * http: Handle hex/base64 encodings properly (isaacs)
    
    * http: improve chunked res.write(buf) performance (Ben Noordhuis)
    
    * stream: Fix double pipe error emit (Eran Hammer)
    isaacs committed Aug 16, 2013
  4. npm: Upgrade to 1.3.8

    isaacs committed Aug 16, 2013
  5. crypto: fix memory leak in randomBytes() error path

    This is the conceptual back-port of commit ec54873 from the master
    branch.
    bnoordhuis committed Aug 16, 2013
Commits on Aug 15, 2013
  1. http: Handle hex/base64 encodings properly

    This is a backport of 6d3d60a for
    v0.10.
    isaacs committed Aug 15, 2013