Skip to content
Commits on Mar 21, 2013
  1. @isaacs

    2013.03.21, Version 0.10.1 (Stable)

    isaacs committed
    * npm: upgrade to 1.2.15
    * crypto: Improve performance of non-stream APIs (Fedor Indutny)
    * tls: always reset this.ssl.error after handling (Fedor Indutny)
    * tls: Prevent mid-stream hangs (Fedor Indutny, isaacs)
    * net: improve arbitrary tcp socket support (Ben Noordhuis)
    * net: handle 'finish' event only after 'connect' (Fedor Indutny)
    * http: Don't hot-path end() for large buffers (isaacs)
    * fs: Missing cb errors are deprecated, not a throw (isaacs)
    * fs: make write/appendFileSync correctly set file mode (Raymond Feng)
    * stream: Return self from readable.wrap (isaacs)
    * stream: Never call decoder.end() multiple times (Gil Pedersen)
    * windows: enable watching signals with process.on('SIGXYZ') (Bert Belder)
    * node: revert removal of MakeCallback (Trevor Norris)
    * node: Unwrap without aborting in handle fd getter (isaacs)
  2. @isaacs

    npm: upgrade to 1.2.15

    isaacs committed
Commits on Mar 20, 2013
  1. @indutny @isaacs

    crypto: initialize transform lazily

    indutny committed with isaacs
  2. @isaacs

    tls: Prevent hang in readStart

    isaacs committed
    This is not a great fix, and it's a bug that's very tricky to reproduce.
    Occasionally, while downloading a file, especially on Linux for some
    reason, the pause/resume timing will be just right such that the
    CryptoStream is in a 'reading' state, but actually has no data, so it
    ought to pull more in.  Because there's no reads happening, it just sits
    there, and the process will exit
    This is, fundamentally, a factor of how the HTTP implementation sits
    atop CryptoStreams and TCP Socket objects, which is utterly horrible,
    and needs to be rewritten.  However, in the meantime, npm downloads are
    prematurely exiting, causing hard-to-debug "cb() never called!" errors.
  3. @trevnorris @bnoordhuis

    bench: compare binaries equal times

    trevnorris committed with bnoordhuis
    The benchmark compare would drop the last run of the binary pairs. So
    when they were only run once an error would arise because no data was
    generated for the second binary.
  4. @bnoordhuis
  5. @indutny

    tls: always reset this.ssl.error after handling

    indutny committed
    Otherwise assertion may happen:
        src/ void node::crypto::Connection::ClearError():
        Assertion `handle_->Get(String::New("error"))->BooleanValue() == false'
    See #5058
  6. @raymondfeng @piscisaureus
Commits on Mar 19, 2013
  1. @ichernev @bnoordhuis

    doc: fix streams2 SimpleProtocol example

    ichernev committed with bnoordhuis
    A non-existing variable `b` was used to queue data for reading.
  2. @piscisaureus

    windows: enable watching signals with process.on('SIGXYZ')

    piscisaureus committed
    This reverts commit ea1cba6.
    The offending commit was intended to land on the v0.8 branch only, but
    it accidentally got merged at some point.
    Closes #5054.
  3. @piscisaureus

    Update .mailmap and AUTHORS

    piscisaureus committed
Commits on Mar 18, 2013
  1. @bnoordhuis

    doc: fix broken links in blog footer

    bnoordhuis committed
    The blog lives at while the main website lives at Ergo, use absolute URLs for links to the main website.
    Fixes #5062.
Commits on Mar 17, 2013
  1. @indutny

    tls: write pending data of opposite side

    indutny committed
    Fix stucked CryptoStream behaviour, happening when one of the sides
    locks-up in queued state.
    fix #5023
  2. @trevnorris @bnoordhuis

    node: revert removal of MakeCallback

    trevnorris committed with bnoordhuis
    In 0168109 an implementation of MakeCallback was accidently removed. It
    has been re-added.
  3. @outsideris @bnoordhuis

    doc: fix typo in crypto docs

    outsideris committed with bnoordhuis
Commits on Mar 16, 2013
  1. @npcode @bnoordhuis
  2. @bnoordhuis
  3. @bnoordhuis

    install: don't install man page twice

    bnoordhuis committed
    Looks like a merge conflict in 77ed12f left in the old, unconditional
    install rule. Remove it, the new and improved rule is a few lines down.
    Fixes #5044.
Commits on Mar 15, 2013
  1. @tjfontaine @bnoordhuis

    v8: move 32 bit heap hint on sunos

    tjfontaine committed with bnoordhuis
    Setting the V8 heap at or near 0x20000000 on 32bit sunos only allows
    512 MB of heap space, instead on sunos move this to 0x80000000.
    Fixes #4010.
Commits on Mar 14, 2013
  1. @isaacs

    stream: Return self from readable.wrap

    isaacs committed
    Also, set paused=false *before* calling resume().  Otherwise,
    there's an edge case where an immediately-emitted chunk might make
    it call pause() again incorrectly.
  2. @isaacs

    test: No need for kicking in streams2 test

    isaacs committed
    This was necessary when we weren't auto-starting when a 'readable'
    listener is added.
  3. @kanongil @isaacs

    stream: Never call decoder.end() multiple times

    kanongil committed with isaacs
    Updated version that does what it says without assigning state.decoder.
  4. @koichik @isaacs
  5. @isaacs

    http: Don't hot-path end() for large buffers

    isaacs committed
    The benefits of the hot-path optimization below start to fall off when
    the buffer size gets up near 128KB, because the cost of the copy is more
    than the cost of the extra write() call.  Switch to the write/end method
    at that point.
    Heuristics and magic numbers are awful, but slow http responses are
    Fix #4975
  6. @bnoordhuis

    net: improve arbitrary tcp socket support

    bnoordhuis committed
    Consider this example:
      // fd 3 is a bound tcp socket
      var s = net.createServer(cb);
      s.listen({ fd: 3 });
      console.log(s.address());  // prints null
    This commit makes net.Server#address() print the actual address.
    Ditto for non-listen sockets; properties like net.Socket#localAddress
    and net.Socket#remoteAddress now return the correct value.
    Fixes #5009.
  7. @bnoordhuis
  8. @adammw @bnoordhuis
Commits on Mar 13, 2013
  1. @isaacs

    Revert "stream: Never call decoder.end() multiple times"

    isaacs committed
    This reverts commit 615d809.
  2. @isaacs

    fs: Missing cb errors are deprecated, not a throw

    isaacs committed
    Commit a804347 makes fs function rethrow errors when the callback is
    omitted. While the right thing to do, it's a change from the old v0.8
    behavior where such errors were silently ignored.
    To give users time to upgrade, temporarily disable that and replace it
    with a function that warns once about the deprecated behavior.
    Close #5005
  3. @bnoordhuis @isaacs

    doc: implicit fs callbacks don't throw in v0.10

    bnoordhuis committed with isaacs
    But they will in v0.12.
    Re #5005.
  4. @bnoordhuis
  5. @kanongil @isaacs

    stream: Never call decoder.end() multiple times

    kanongil committed with isaacs
    Fixes decoder.end() being called on every push(null). As the tls module
    does this, corrupt stream data could potentially be added to the end.
  6. @isaacs

    core: Move UNWRAP_NO_ABORT to handle_wrap.h

    isaacs committed
    Otherwise it cannot be used in StreamWrap.
    Forgot to include in last patch, broke the build.
  7. @bnoordhuis

    doc: path.join() arguments must be strings

    bnoordhuis committed
    In v0.8, non-string arguments were ignored. v0.10 throws an exception.
  8. @indutny @isaacs
Something went wrong with that request. Please try again.