Permalink
Commits on Mar 6, 2013
  1. 2013.03.07, Version 0.8.22 (Stable)

    * npm: Update to 1.2.14
    
    * cluster: propagate bind errors (Ben Noordhuis)
    
    * crypto: don't assert when calling Cipher#final() twice (Ben Noordhuis)
    
    * build, windows: disable SEH (Ben Noordhuis)
    isaacs committed Mar 6, 2013
  2. npm: Update to 1.2.14

    isaacs committed Mar 6, 2013
  3. blog: Post for 0.9.12

    isaacs committed Mar 6, 2013
  4. process: invoke EventEmitter on `process`

    This properly sets the `_maxListeners` property, which
    fixes the max listener warning. Closes #4924.
    TooTallNate committed Mar 5, 2013
Commits on Mar 5, 2013
  1. cluster: propagate bind errors

    This commit fixes a bug where the cluster module fails 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.
    bnoordhuis committed Feb 9, 2012
Commits on Mar 4, 2013
  1. doc: add url.resolve() usage examples

    Fixes #4913.
    bnoordhuis committed Mar 4, 2013
Commits on Mar 2, 2013
  1. test: make simple/test-dgram-pingpong respect PORT

    Don't use hard-coded port numbers, use common.PORT instead.
    
    Should fix the occasional Jenkins failure; the builds run in parallel.
    bnoordhuis committed Mar 2, 2013
  2. test: optionally set common.PORT via env variable

    This is a back-port of commit 17a8126 from the master branch.
    tjfontaine committed with bnoordhuis Feb 26, 2013
  3. crypto: don't assert when calling Cipher#final() twice

    Remove the assert() that triggered when Cipher#final() or
    Decipher#final() was called twice.
    
    Fixes #4886.
    bnoordhuis committed Mar 2, 2013
Commits on Mar 1, 2013
  1. blog: Post about v0.9.11

    isaacs committed Mar 1, 2013
  2. http: use socket.once, not socket.on

    Register the 'close' event listener with .once(), not .on().
    
    It doesn't matter in the grand scheme of things because the listener
    doesn't keep references to any heavy-weight objects but using .once()
    for a oneshot listener is something of a best practice.
    bnoordhuis committed Mar 1, 2013
Commits on Feb 28, 2013
  1. test: fix tap output on windows

    Test output is always \n and not platform dependent
    tjfontaine committed with bnoordhuis Feb 28, 2013
  2. build, windows: disable SEH

    Turn off safe exception handlers, they're incompatible with how
    openssl is compiled / linked under MSVS 2012.
    
    Addresses the following build error:
    
      openssl.lib(x86cpuid.obj) : error LNK2026: module unsafe for SAFESEH
      image. [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj]
      openssl.lib(x86.obj) : error LNK2026: module unsafe for SAFESEH
      image. [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj]
      # etc. etc.
      g:\jenkins\workspace\nodejs-oneoff\Release\node.exe : fatal error
      LNK1281: Unable to generate SAFESEH image.
      [g:\jenkins\workspace\nodejs-oneoff\node.vcxproj]
    
    Fixes #4242.
    bnoordhuis committed Feb 28, 2013
  3. doc: update instructions on home page

    Document how to run the example on the home page in more detail.
    
    Apparently our Windows brethren are prone to double-clicking on the
    binary instead of running it from the command line.
    
    Fixes #4854.
    bnoordhuis committed Feb 28, 2013
Commits on Feb 25, 2013
  1. blog: Post for v0.8.21

    isaacs committed Feb 25, 2013
  2. Now working on 0.8.22

    isaacs committed Feb 25, 2013
  3. 2013.02.25, Version 0.8.21 (Stable)

    * http: Do not free the wrong parser on socket close (isaacs)
    
    * http: Handle hangup writes more gently (isaacs)
    
    * zlib: fix assert on bad input (Ben Noordhuis)
    
    * test: add TAP output to the test runner (Timothy J Fontaine)
    
    * unix: Handle EINPROGRESS from domain sockets (Ben Noordhuis)
    isaacs committed Feb 25, 2013
  4. uv: Upgrade to 86ae8b3c

    isaacs committed Feb 25, 2013
  5. http: Do not free the wrong parser on socket close

    This appears to fix #4673.  That bug is very hard to reproduce, so it's
    hard to tell for certain, but this approach is more correct anyway.
    
    Hat-tip: @dougwilson
    isaacs committed Feb 25, 2013
Commits on Feb 22, 2013
Commits on Feb 21, 2013
  1. zlib: fix assert on bad input

    The following test case occasionally triggered an assert because
    write_in_progress_ didn't get cleared on error:
    
      $ cat test.js
      require('zlib').gunzip('BAM', console.log);
      setTimeout(gc, 10);
    
      $ while true; do node --expose-gc test.js || break; done
      { [Error: incorrect header check] errno: -3, code: 'Z_DATA_ERROR' }
      Assertion failed: (!write_in_progress_ && "write in progress"),
      function Clear, file ../src/node_zlib.cc, line 71.
      Abort trap: 6
    
    Steps to avoid that:
    
    * Initialize all primitive member fields in the constructor.
    * Clear the write_in_progress_ member field in ZCtx::Error().
    * Ref the ZCtx object as soon as write_in_progress_ is set to true.
      Before this commit, it could get GC'ed in the time between setting
      the field and the call to ctx->Ref().
    
    Fixes #4783.
    bnoordhuis committed Feb 21, 2013
Commits on Feb 20, 2013
  1. test: add TAP output to the test runner

    This is a back-port of commit 14ed173 from the master branch.
    tjfontaine committed with bnoordhuis Dec 19, 2012
Commits on Feb 19, 2013
  1. blog: v0.9.10

    isaacs committed Feb 19, 2013
Commits on Feb 15, 2013
  1. blog: Release v0.8.20

    isaacs committed Feb 15, 2013
  2. Now working on v0.8.21

    isaacs committed Feb 15, 2013
  3. 2013.02.15, Version 0.8.20 (Stable)

    * 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 committed Feb 15, 2013
  4. npm: Upgrade to v1.2.11

    isaacs committed Feb 15, 2013