Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: v0.8.19-release
Commits on Feb 6, 2013
  1. @isaacs

    2013.02.06, Version 0.8.19 (Stable)

    isaacs authored
    * npm: Upgrade to v1.2.10
    
    * zlib: pass object size hint to V8 (Ben Noordhuis)
    
    * zlib: reduce memory consumption, release early (Ben Noordhuis)
    
    * buffer: slow buffer copy compatibility fix (Trevor Norris)
    
    * zlib: don't assert on malformed dictionary (Ben Noordhuis)
    
    * zlib: don't assert on missing dictionary (Ben Noordhuis)
    
    * windows: better ipv6 support (Bert Belder)
    
    * windows: add error mappings related to unsupported protocols (Bert Belder)
    
    * windows: map ERROR_DIRECTORY to UV_ENOENT (Bert Belder)
  2. @isaacs

    npm: Upgrade to v1.2.10

    isaacs authored
Commits on Feb 5, 2013
  1. @bnoordhuis

    blog: remove dangling symlink

    bnoordhuis authored
    Fixes #4716.
  2. @bnoordhuis

    zlib: pass object size hint to V8

    bnoordhuis authored
    Inform V8 that the zlib context object is tied to a large off-heap buffer.
    
    This makes the GC run more often (in theory) and improves the accuracy of
    --trace_external_memory.
  3. @bnoordhuis

    zlib: reduce memory consumption, release early

    bnoordhuis authored
    In zlibBuffer(), don't wait for the garbage collector to reclaim the zlib memory
    but release it manually. Reduces memory consumption by a factor of 10 or more
    with some workloads.
    
    Test case:
    
      function f() {
        require('zlib').deflate('xxx', g);
      }
      function g() {
        setTimeout(f, 5);
      }
      f();
    
    Observe RSS memory usage with and without this commit. After 10,000 iterations,
    RSS stabilizes at ~35 MB with this commit. Without, RSS is over 300 MB and keeps
    growing.
    
    Cause: whenever the JS object heap hits the high-water mark, the V8 GC sweeps
    it clean, then tries to grow it in order to avoid more sweeps in the near
    future. Rule of thumb: the bigger the JS heap, the lazier the GC can be.
    
    A side effect of a bigger heap is that objects now live longer. This is harmless
    in general but it affects zlib context objects because those are tied to large
    buffers that live outside the JS heap, on the order of 16K per context object.
    
    Ergo, don't wait for the GC to reclaim the memory - it may take a long time.
    
    Fixes #4172.
  4. @bnoordhuis

    doc: don't suggest to reuse net.Socket objects

    bnoordhuis authored
    Using Socket.prototype.connect() to reconnect an existing Socket object
    is not reliable. Users should just create a new Socket object.
    
    See #4698.
Commits on Feb 2, 2013
  1. @isaacs
Commits on Jan 30, 2013
  1. @piscisaureus
Commits on Jan 26, 2013
  1. @yakubori @bnoordhuis

    doc: fix typo in cluster module documentation

    yakubori authored bnoordhuis committed
    Fix a small typo in the cluster.settings documentation.
Commits on Jan 25, 2013
  1. @trevnorris @TooTallNate

    buffer: slow buffer copy compatibility fix

    trevnorris authored TooTallNate committed
    Fix issue where SlowBuffers couldn't be passed as target to Buffer
    copy().
    
    Also included checks to see if Argument parameters are defined before
    assigning their values. This offered ~3x's performance gain.
    
    Backport of 16bbecc from master branch. Closes #4633.
  2. @isaacs
Commits on Jan 24, 2013
  1. @jgable @TooTallNate

    doc: fix typo in crypto Hash.digest() note

    jgable authored TooTallNate committed
    Added the word 'has' to the sentence.
    Closes #4652.
  2. @isaacs

    blog: Post for v0.9.8

    isaacs authored
Commits on Jan 22, 2013
  1. @bnoordhuis
  2. @bnoordhuis

    zlib: don't assert on malformed dictionary

    bnoordhuis authored
    Handle Z_DATA_ERROR errors from inflateSetDictionary() gracefully.
    Fixes the following assertion:
    
      node: ../src/node_zlib.cc:167: static void node::ZCtx::Process
      (uv_work_t*): Assertion `ctx->err_ == 0 && "Failed to set
      dictionary"' failed.
      Aborted (core dumped)
    
    Fixes #4632.
  3. @bnoordhuis

    zlib: don't assert on missing dictionary

    bnoordhuis authored
    Handle Z_NEED_DICT errors graciously. Fixes the following assertion:
    
      node: ../src/node_zlib.cc:161: static void node::ZCtx::Process
      (uv_work_t*): Assertion`ctx->dictionary_ != __null && "Stream
      has no dictionary"' failed.
      Aborted (core dumped)
    
    Fixes #4632.
Commits on Jan 18, 2013
  1. @isaacs

    blog: Post for v0.8.18 release

    isaacs authored
  2. @isaacs

    Now working on 0.8.19

    isaacs authored
  3. @isaacs
  4. @isaacs

    2013.01.18, Version 0.8.18 (Stable)

    isaacs authored
    * npm: Upgrade to v1.2.2
    
    * dns: make error message match errno (Dan Milon)
    
    * tls: follow RFC6125 more stricly (Fedor Indutny)
    
    * buffer: reject negative SlowBuffer offsets (Ben Noordhuis)
    
    * install: add simplejson fallback (Chris Dent)
    
    * http: fix "Cannot call method 'emit' of null" (Ben Noordhuis)
  5. @isaacs

    npm: Upgrade to v1.2.2

    isaacs authored
  6. @isaacs

    blog: Post for v0.9.7 release

    isaacs authored
  7. @bnoordhuis

    dns: make error message match errno

    Dan Milon authored bnoordhuis committed
Commits on Jan 17, 2013
  1. @indutny

    tls: follow RFC6125 more stricly

    indutny authored
    * Allow wildcards only in left-most part of hostname identifier.
    * Do not match CN if altnames are present
  2. @indutny

    Revert "Revert "tls: allow wildcards in common name""

    indutny authored
    This reverts commit 30e2370.
    
    Works properly with b4b750b
  3. @bnoordhuis

    Revert "tls: allow wildcards in common name"

    bnoordhuis authored
    This reverts commit 45024e7.
    
    It's making test/simple/test-tls-check-server-identity.js fail:
    
      AssertionError: Test#4 failed: { host: 'b.a.com',
        cert: { subject: { CN: '*.a.com' } },
        result: false }
          at <omitted>/test/simple/test-tls-check-server-identity.js:201:10
  4. @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.
    
    Reapplies commit cacd3ae, accidentally reverted in a2851b6.
  5. @bnoordhuis

    buffer: reject negative SlowBuffer offsets

    bnoordhuis authored
    Reject negative offsets in SlowBuffer::MakeFastBuffer(), it allows
    the creation of buffers that point to arbitrary addresses.
    
    Reported by Trevor Norris.
Commits on Jan 15, 2013
  1. @cdent @bnoordhuis

    install: add simplejson fallback

    cdent authored bnoordhuis committed
    Make tools/install.py work with python 2.5
    
    2.5 is still fairly widespread and does not include a json lib as
    standard. Most python folk will have simplejson if they are in that
    boat.
    
    In general it seems a bit tricky to solve this perfectly...
Commits on Jan 14, 2013
  1. @piscisaureus
  2. @indutny
  3. @bnoordhuis

    http: fix "Cannot call method 'emit' of null"

    bnoordhuis authored
    Fix the following exception:
    
      http.js:974
        this._httpMessage.emit('close');
                          ^
      TypeError: Cannot call method 'emit' of null
          at Socket.onServerResponseClose (http.js:974:21)
          at Socket.EventEmitter.emit (events.js:124:20)
          at net.js:421:10
          at process._tickCallback (node.js:386:13)
          at process._makeCallback (node.js:304:15)
    
    Fixes #4586.
Commits on Jan 11, 2013
  1. @isaacs

    blog: release v0.9.6

    isaacs authored
  2. @TooTallNate

    make binary: allow custom config flags

    TooTallNate authored
    For example, to cross-compile from my OS X laptop for Raspberry Pi, you would
    do something like:
    
      $ make binary BINARYNAME=node-v`python tools/getnodeversion.py`-linux-arm-pi \
          DESTCPU=arm CONFIG_FLAGS="--dest-os=linux"
Commits on Jan 10, 2013
  1. @isaacs
Something went wrong with that request. Please try again.