Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.6.18
Commits on May 14, 2012
  1. @bnoordhuis
  2. @bnoordhuis

    node: delete NODE_CHANNEL_FD from env

    bnoordhuis authored
    Prevents accidental inheritance by child processes. If the child process is a
    node process, it would try to set up a channel with the parent and consequently
    never quit because the channel kept the event loop alive.
    
    Fixes #3240.
Commits on May 11, 2012
  1. @bnoordhuis

    build: fix cross-compiling

    bnoordhuis authored
    Take arch cflags in account when building libuv.
Commits on May 9, 2012
  1. @bnoordhuis

    pipe_wrap: don't assert() on pipe accept errors

    bnoordhuis authored
    Pass errors to the onconnection callback.
  2. @bnoordhuis

    zlib: fix error reporting

    bnoordhuis authored
    This commit is a back-port of the changes on the master branch.
    
    Fixes #3230.
Commits on May 7, 2012
  1. @bnoordhuis
Commits on May 3, 2012
  1. @bnoordhuis

    fs: fix file descriptor leak in sync functions

    bnoordhuis authored
    Fixes #3202. This is a back-port of commit 4e290e4.
Commits on May 2, 2012
  1. @bnoordhuis

    fs: fix ReadStream / WriteStream double close bug

    bnoordhuis authored
    * Calling fs.ReadStream.destroy() or fs.WriteStream.destroy() twice would close
      the file descriptor twice. That's bad because the file descriptor may have
      been repurposed in the mean time.
    
    * A bad value check in fs.ReadStream.prototype.destroy() would prevent a stream
      created with fs.createReadStream({fd:0}) from getting closed.
Commits on Apr 23, 2012
  1. @bnoordhuis
Commits on Apr 16, 2012
  1. @bnoordhuis

    node: don't check return value of unsetenv()

    bnoordhuis authored
    It returns void on some platforms, notably FreeBSD.
Commits on Apr 14, 2012
  1. @bnoordhuis
Commits on Apr 2, 2012
  1. @bnoordhuis

    build: define _DARWIN_USE_64_BIT_INODE=1 on OS X

    bnoordhuis authored
    Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
    mismatches.
    
    Fixes #2061.
Commits on Mar 22, 2012
  1. @bnoordhuis
Commits on Mar 17, 2012
  1. @bnoordhuis
Commits on Mar 1, 2012
  1. @bnoordhuis

    uv: upgrade to b3fe183

    bnoordhuis authored
Commits on Feb 18, 2012
  1. @bnoordhuis

    docs: update man page

    bnoordhuis authored
Commits on Feb 17, 2012
  1. @bnoordhuis

    docs: fix tls markdown

    bnoordhuis authored
Commits on Feb 16, 2012
  1. @bnoordhuis

    cluster: propagate bind errors

    bnoordhuis authored
    This commit fixes a bug where the cluster module failed to propagate EADDRINUSE
    errors.
    
    When a worker starts a (net, http) server, it requests the listen socket from
    its master who then creates and binds the socket.
    
    Now, OS X and Windows don't always signal EADDRINUSE from bind() but instead
    defer the error until a later syscall. libuv mimics this behaviour to provide
    consistent behaviour across platforms but that means the worker could end up
    with a socket that is not actually bound to the requested addresss.
    
    That's why the worker now checks if the socket is bound, raising EADDRINUSE if
    that's not the case.
    
    Fixes #2721.
  2. @bnoordhuis @isaacs

    http: allow multiple WWW-Authenticate headers

    bnoordhuis authored isaacs committed
  3. @bnoordhuis

    tls: mitigate session renegotiation attacks

    bnoordhuis authored
    The TLS protocol allows (and sometimes requires) clients to renegotiate the
    session. However, renegotiation requires a disproportional amount of server-side
    resources, particularly CPU time, which makes it a potential vector for
    denial-of-service attacks.
    
    To mitigate this issue, we keep track of and limit the number of renegotiation
    requests over time, emitting an error if the threshold is exceeded.
Commits on Feb 15, 2012
  1. @bnoordhuis

    tcp, pipe: don't assert on uv_accept() errors

    bnoordhuis authored
    It's possible for a new connection to be closed in the window between the
    accept() syscall and the call to uv_accept(). Deal with it and move on, don't
    assert.
Commits on Feb 11, 2012
  1. @bnoordhuis
Commits on Feb 10, 2012
  1. @bnoordhuis
Commits on Feb 9, 2012
  1. @bnoordhuis

    docs: document tls/crypto `ciphers` option

    bnoordhuis authored
    Hitherto undocumented option that lets the user select the list of ciphers to
    use or exclude in a SSL/TLS session.
  2. @bnoordhuis

    test: add cluster 'bind twice' test

    bnoordhuis authored
    This test starts two clustered HTTP servers on the same port. It expects the
    first cluster to succeed and the second cluster to fail with EADDRINUSE.
Commits on Feb 7, 2012
  1. @bnoordhuis
  2. @bnoordhuis

    debugger: fix --debug-brk

    bnoordhuis authored
    Commit 840229a forgot to update the debugger special case in lib/module.js
    
    Fixes #2710.
Commits on Feb 5, 2012
  1. @bnoordhuis

    Revert "Add explicit v8 locker"

    bnoordhuis authored
    This reverts commit 11d1eca.
    
    It sporadically (but reproducibly) triggers an assert inside V8:
    
      Fatal error in /path/to/node/deps/v8/src/isolate.cc, line 1857
      CHECK(CurrentPerIsolateThreadData()->isolate_ == this) failed
    
    Needs further investigation.
Commits on Feb 2, 2012
  1. @bnoordhuis

    buffers: fix intermittent out of bounds error

    bnoordhuis authored
    The base64 decoder would intermittently throw an out-of-bounds exception when
    the buffer in `buf.write('', 'base64')` was a zero-sized buffer located at the
    end of the slab.
    
    Fixes #2657.
  2. @bnoordhuis

    buffers: honor length argument in base64 decoder

    bnoordhuis authored
    Honor the length argument in `buf.write(s, 0, buf.length, 'base64')`. Before
    this commit, the length argument was ignored. The decoder would keep writing
    until it hit the end of the buffer. Since most buffers in Node are slices of
    a parent buffer (the slab), this bug would overwrite the content of adjacent
    buffers.
    
    The bug is trivially demonstrated with the following test case:
    
        var assert = require('assert');
        var a = Buffer(3);
        var b = Buffer('xxx');
        a.write('aaaaaaaa', 'base64');
        assert.equal(b.toString(), 'xxx');
    
    This commit coincidentally also fixes a bug where Buffer._charsWritten was not
    updated for zero length buffers.
Commits on Feb 1, 2012
  1. @bnoordhuis

    Revert "Process symlinked shared library as .node"

    bnoordhuis authored
    This reverts commit 7e0bf7d.
    
    It's possible to make GYP generate an XCode project that produces a .node file,
    hence this commit is no longer needed.
Commits on Jan 30, 2012
  1. @bnoordhuis

    timers: add v0.4 compatibility hack

    bnoordhuis authored
    If a timer callback throws and the user's uncaughtException handler ignores the
    exception, other timers that expire on the current tick should still run.
    
    If #2582 goes through, this hack should be removed.
    
    Fixes #2631.
Commits on Jan 28, 2012
  1. @bnoordhuis

    uv: upgrade to 332b72e

    bnoordhuis authored
Commits on Jan 27, 2012
  1. @bnoordhuis

    uv: upgrade to 16124bb

    bnoordhuis authored
  2. @bnoordhuis

    uv: upgrade to 3f1bad2

    bnoordhuis authored
Something went wrong with that request. Please try again.