Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: v0.11.5-release
Commits on Aug 6, 2013
  1. @tjfontaine

    2013.08.06, Version 0.11.5 (Unstable)

    tjfontaine authored
    * v8: upgrade to 3.20.11
    * uv: upgrade to v0.11.7
    * buffer: return offset for end of last write (Trevor Norris)
    * build: embed the into the binary (Timothy J Fontaine)
    * build: fix --without-ssl build (Ben Noordhuis)
    * child_process: add 'shell' option to .exec() (Ben Noordhuis)
    * dgram: report send errors to cb, don't pass bytes (Ben Noordhuis)
    * fs: write strings directly to disk (Trevor Norris)
    * https: fix default port (Koichi Kobayashi)
    * openssl: use asm for sha, md5, rmd (Fedor Indutny)
    * os: add mac address to networkInterfaces() output (Brian White)
    * smalloc: introduce smalloc module (Trevor Norris)
    * stream: Simplify flowing, passive data listening (streams3) (isaacs)
    * tls: asynchronous SNICallback (Fedor Indutny)
    * tls: share tls tickets key between cluster workers (Fedor Indutny)
    * util: don't throw on circular %j input to format() (Ben Noordhuis)
  2. @tjfontaine

    uv: Upgrade to v0.11.7

    tjfontaine authored
  3. @indutny

    tls: fix lazy initialization of clienthello parser

    indutny authored
    `server.SNICallback` was initialized with `SNICallback.bind(this)`, and
    therefore check `this.SNICallback === SNICallback` was always false, and
    `_tls_wrap.js` always thought that it was a custom callback instead of
    default one. Which in turn was causing clienthello parser to be enabled
    regardless of presence of SNI contexts.
  4. @tjfontaine

    Merge remote-tracking branch 'upstream/v0.10'

    tjfontaine authored
  5. @bnoordhuis

    process_wrap: omit superfluous Number creation

    bnoordhuis authored
    Don't create a superfluous Number object, just use the version of
    v8::Object::Get() that takes an unsigned int. Convert the index to
    unsigned int while we're here.
  6. @hueniverse @isaacs

    stream: Fix double pipe error emit

    hueniverse authored isaacs committed
    If an error listener is added to a stream using once() before it is
    piped, it is invoked and removed during pipe() but before pipe() sees it
    which causes it to be emitted again.
    Fixes #4155 #4978
  7. @bnoordhuis

    src: fix WITH_GENERIC_STREAM() type check bug

    bnoordhuis authored
    The handle object was checked against the wrong constructor template.
    Put another way, it was unwrapped as the wrong StreamWrap type.
  8. @bnoordhuis

    crypto: fix signed/unsigned comparison warning

    bnoordhuis authored
    The type of the expression `(uint16_t) server_names_len + 2` gets
    implicitly widened to int. Change the type of server_names_len to
    uint32_t to avoid the following warnings:
        ../../src/ warning: comparison
        between signed and unsigned integer expressions
        ../../src/ warning: comparison
        between signed and unsigned integer expressions
  9. @indutny

    tls: asynchronous SNICallback

    indutny authored
    Make ClientHelloParser handle SNI extension, and extend `_tls_wrap.js`
    to support loading SNI Context from both hello, and resumed session.
    fix #5967
  10. @indutny

    tls_wrap: DRY ClientHelloParser

    indutny authored
    Share ClientHelloParser code between `` and ``.
    fix #5959
  11. @isaacs
  12. @evansolomon @isaacs

    doc: add a missing word in streams doc

    evansolomon authored isaacs committed
    Ignore encoding *if* chunk is a buffer
Commits on Aug 5, 2013
  1. @tjfontaine
  2. @tjfontaine

    build: embed the into the binary

    tjfontaine authored
    This builds and includes the in the binary of node so mdb
    can be sure to always use the latest version
  3. @isaacs
  4. @isaacs
  5. @isaacs

    https: fix default port

    Koichi Kobayashi authored isaacs committed
    https.get('') should use port 443, not 80.
  6. @isaacs
  7. @bnoordhuis

    v8: back-port fix for CVE-2013-2882 authored bnoordhuis committed
    Quoting the CVE:
        Google V8, as used in Google Chrome before 28.0.1500.95, allows
        remote attackers to cause a denial of service or possibly have
        unspecified other impact via vectors that leverage "type confusion."
    Likely has zero impact on node.js because it only runs local, trusted
    code but let's apply it anyway.
    This is a back-port of upstream commit r15665. Original commit log:
        Use internal array as API function cache.
        Review URL:
    Fixes #5973.
  8. @othiym23 @bnoordhuis

    doc: document domain.enter() and domain.exit()

    othiym23 authored bnoordhuis committed
    Adds the documentation requested in #5017.
  9. @sam-github @bnoordhuis

    doc:, fix flag/mode confusion, etc.

    sam-github authored bnoordhuis committed
    Flags and modes aren't the same, symlinks are followed in all of the
    path but the last component, docs should say something about what the
    mode argument is for and when its used, fs.openSync should point to the
    function that contains the docs for its args, as fs.writeSync does.
  10. @bnoordhuis

    v8: fix openbsd build

    bnoordhuis authored
    This is [1] applied ahead of time. Summary:
        OpenBSD doesn't have <ucontext.h>. ucontext_t lives in <signal.h>
        and is a typedef for struct sigcontext. There is no uc_mcontext.
Commits on Aug 4, 2013
  1. @indutny

    tls: fix handling of `SNICallback` server option

    indutny authored
    It shouldn't ignore it!
    There're two possibile cases, which should be handled properly:
    1. Having a default `SNICallback` which is using contexts, added with
      `server.addContext(...)` routine
    2. Having a custom `SNICallback`.
    In first case we may want to opt-out setting `.onsniselect` method (and
    thus save some CPU time), if there're no contexts added. But, if custom
    `SNICallback` is used, `.onsniselect` should always be set, because
    server contexts don't affect it.
Commits on Aug 3, 2013
  1. @bnoordhuis

    src: use static_cast for void-to-T casts

    bnoordhuis authored
    Code cleanup, replace a few uses of reinterpret_cast<T*>(void_ptr) with
  2. @bnoordhuis

    src: use PersistentToLocal() in a few more places

    bnoordhuis authored
    Update a few more `Local<T>::New(isolate, persistent)` call sites to
    `PersistentToLocal(isolate, persistent)` - the latter has a fast path
    for non-weak persistent references.
  3. @indutny

    crypto: fix another over-run in bio

    indutny authored
    When doing `FreeEmpty`, `NodeBIO` skips pre-allocated `head_` buffer.
    However this might lead to double-freeing buffers since in `~NodeBIO()`
    we're starting deallocation from `head_` buffer.
Commits on Aug 2, 2013
  1. @bnoordhuis

    src: remove non-isolate PersistentToLocal(), v2

    bnoordhuis authored
    Commit 78d9094 updated src/*.cc to use the version of PersistentToLocal
    that takes a v8::Isolate* as its first argument. This commit removes
    the non-isolate version.
  2. @isaacs

    npm: Upgrade to 1.3.7

    isaacs authored
  3. @trevnorris
  4. @bnoordhuis

    src: remove non-isolate PersistentToLocal()

    bnoordhuis authored
    There is no need for it and it's a tiny bit slower than the version of
    PersistentToLocal() that takes a v8::Isolate* as its first argument.
  5. @trevnorris

    smalloc: remove double checks

    trevnorris authored
    Now that values are checks in JS, no need for them to be checked in C++.
  6. @trevnorris

    smalloc: fix assertion fails/segfault

    trevnorris authored
    * Numeric values passed to alloc were converted to int32, not uint32
      before the range check, which allows wrap around on ToUint32. This
      would cause massive malloc calls and v8 fatal errors.
    * dispose would not check if value was an Object, causing segfault if a
      Primitive was passed.
    * kMaxLength was not enumerable.
  7. @trevnorris
  8. @bnoordhuis

    build: fix --without-ssl build

    bnoordhuis authored
    Build breakage accidentally introduced in 8e29ce9 during code cleanup.
    HAVE_OPENSSL is always defined (as either 0 or 1) so use #if rather
    than #ifdef.
    Fixes #5979.
Commits on Aug 1, 2013
  1. @isaacs
Something went wrong with that request. Please try again.