Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: v0.10.1-release
Commits on Mar 21, 2013
  1. @isaacs

    2013.03.21, Version 0.10.1 (Stable)

    isaacs authored
    * 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 authored
Commits on Mar 20, 2013
  1. @indutny @isaacs

    crypto: initialize transform lazily

    indutny authored isaacs committed
  2. @isaacs

    tls: Prevent hang in readStart

    isaacs authored
    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 authored bnoordhuis committed
    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 authored
    Otherwise assertion may happen:
    
        src/node_crypto.cc:962: void node::crypto::Connection::ClearError():
        Assertion `handle_->Get(String::New("error"))->BooleanValue() == false'
        failed.
    
    See #5058
  6. @raymondfeng @piscisaureus
Commits on Mar 19, 2013
  1. @ichernev @bnoordhuis

    doc: fix streams2 SimpleProtocol example

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

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

    piscisaureus authored
    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
Commits on Mar 18, 2013
  1. @bnoordhuis

    doc: fix broken links in blog footer

    bnoordhuis authored
    The blog lives at blog.nodejs.org while the main website lives at
    nodejs.org. 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 authored
    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 authored bnoordhuis committed
    In 0168109 an implementation of MakeCallback was accidently removed. It
    has been re-added.
  3. @outsideris @bnoordhuis

    doc: fix typo in crypto docs

    outsideris authored bnoordhuis committed
Commits on Mar 16, 2013
  1. @npcode @bnoordhuis

    doc: https: Fix the link to tls.connect

    npcode authored bnoordhuis committed
  2. @bnoordhuis
  3. @bnoordhuis

    install: don't install man page twice

    bnoordhuis authored
    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 authored bnoordhuis committed
    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 authored
    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 authored
    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 authored isaacs committed
    Updated version that does what it says without assigning state.decoder.
  4. @koichik @isaacs

    doc: don't mark fs callbacks as optional

    koichik authored isaacs committed
    Refs #5005, #5008
  5. @isaacs

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

    isaacs authored
    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
    worse.
    
    Fix #4975
  6. @bnoordhuis

    net: improve arbitrary tcp socket support

    bnoordhuis authored
    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

    doc: change dgram to socket for properties of dgram.Socket

    adammw authored bnoordhuis committed
    Fixes #4919.
Commits on Mar 13, 2013
  1. @isaacs

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

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

    fs: Missing cb errors are deprecated, not a throw

    isaacs authored
    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 authored isaacs committed
    But they will in v0.12.
    
    Re #5005.
  4. @bnoordhuis
  5. @kanongil @isaacs

    stream: Never call decoder.end() multiple times

    kanongil authored isaacs committed
    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 authored
    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 authored
    In v0.8, non-string arguments were ignored. v0.10 throws an exception.
  8. @indutny @isaacs

    net: handle 'finish' event only after 'connect'

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