Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: v0.8.22-release
Commits on Mar 6, 2013
  1. @isaacs

    2013.03.07, Version 0.8.22 (Stable)

    isaacs authored
    * 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)
  2. @isaacs

    npm: Update to 1.2.14

    isaacs authored
  3. @isaacs
  4. @isaacs

    blog: Post for 0.9.12

    isaacs authored
  5. @TooTallNate

    process: invoke EventEmitter on `process`

    TooTallNate authored
    This properly sets the `_maxListeners` property, which
    fixes the max listener warning. Closes #4924.
Commits on Mar 5, 2013
  1. @bnoordhuis

    cluster: propagate bind errors

    bnoordhuis authored
    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.
Commits on Mar 4, 2013
  1. @bnoordhuis
  2. @rvagg @isaacs

    link to LevelUP modules wiki page, not level-hooks

    rvagg authored isaacs committed
Commits on Mar 2, 2013
  1. @bnoordhuis

    test: make simple/test-dgram-pingpong respect PORT

    bnoordhuis authored
    Don't use hard-coded port numbers, use common.PORT instead.
    
    Should fix the occasional Jenkins failure; the builds run in parallel.
  2. @tjfontaine @bnoordhuis

    test: optionally set common.PORT via env variable

    tjfontaine authored bnoordhuis committed
    This is a back-port of commit 17a8126 from the master branch.
  3. @bnoordhuis

    crypto: don't assert when calling Cipher#final() twice

    bnoordhuis authored
    Remove the assert() that triggered when Cipher#final() or
    Decipher#final() was called twice.
    
    Fixes #4886.
Commits on Mar 1, 2013
  1. @isaacs

    blog: Post about v0.9.11

    isaacs authored
  2. @bnoordhuis

    http: use socket.once, not socket.on

    bnoordhuis authored
    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.
Commits on Feb 28, 2013
  1. @egirshov @bnoordhuis

    doc: remove note about close event

    egirshov authored bnoordhuis committed
  2. @tjfontaine @bnoordhuis

    test: fix tap output on windows

    tjfontaine authored bnoordhuis committed
    Test output is always \n and not platform dependent
  3. @bnoordhuis

    build, windows: disable SEH

    bnoordhuis authored
    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.
  4. @bnoordhuis

    doc: update instructions on home page

    bnoordhuis authored
    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.
Commits on Feb 25, 2013
  1. @isaacs
  2. @isaacs
  3. @isaacs

    blog: Post for v0.8.21

    isaacs authored
  4. @isaacs

    Now working on 0.8.22

    isaacs authored
  5. @isaacs
  6. @isaacs

    2013.02.25, Version 0.8.21 (Stable)

    isaacs authored
    * 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)
  7. @isaacs

    uv: Upgrade to 86ae8b3c

    isaacs authored
  8. @isaacs

    http: Do not free the wrong parser on socket close

    isaacs authored
    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
Commits on Feb 22, 2013
  1. @isaacs
  2. @bnoordhuis
Commits on Feb 21, 2013
  1. @bnoordhuis

    zlib: fix assert on bad input

    bnoordhuis authored
    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.
Commits on Feb 20, 2013
  1. @tjfontaine @bnoordhuis

    test: add TAP output to the test runner

    tjfontaine authored bnoordhuis committed
    This is a back-port of commit 14ed173 from the master branch.
Commits on Feb 19, 2013
  1. @isaacs

    blog: v0.9.10

    isaacs authored
Commits on Feb 15, 2013
  1. @isaacs

    blog: Release v0.8.20

    isaacs authored
  2. @isaacs

    Now working on v0.8.21

    isaacs authored
  3. @isaacs
  4. @isaacs

    2013.02.15, Version 0.8.20 (Stable)

    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)
  5. @isaacs

    npm: Upgrade to v1.2.11

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