1. Jan 14, 2014
  2. Jan 13, 2014
  3. Jan 11, 2014
  4. Jan 10, 2014
    • Ryan Graham's avatar
      domain: fix off-by-one in Domain.exit() · 5106cadf
      Ryan Graham authored
      
      
      We want to clear the found domain and the domains after it.
      
      Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
      5106cadf
    • Trevor Norris's avatar
      http: use writev on chunked encoding · 2eddd741
      Trevor Norris authored
      Now will process all write() that were done on a single tick in a single
      writev().
      2eddd741
    • Jeff Barczewski's avatar
      test: check RR scheduler has necessary methods · 82c2084b
      Jeff Barczewski authored
      The RR cluster scheduler replaces the normal StreamWrap handle. Because
      of this the AsyncListener method failed to be in place when domains were
      in use.
      
      The issue was resolved in 828f1455
      
       by reverting having domains use
      AsyncListeners.
      
      Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
      82c2084b
    • Timothy J Fontaine's avatar
      src: OnFatalError handler must abort() · 270c2deb
      Timothy J Fontaine authored
      We are in an unrecoverable state if v8 throws a FatalError, actually
      ask the operating system to dump core in this case.
      
      Fixes #6836
      270c2deb
    • Trevor Norris's avatar
      node: AsyncListener use separate storage mechanism · 646ac18d
      Trevor Norris authored
      Before when an AsyncListener object was created and the "create"
      callback returned a value, it was necessary to construct a new Object
      with the same callbacks but add a place for the new storage value.
      
      Now, instead, a separate storage array is kept on the context which is
      used for any return value of the "create" callback. This significantly
      reduces the number of Objects that need to be created.
      
      Also added a flags property to the context to quickly check if a
      specific callback was available either on the context or on the
      AsyncListener instance itself.
      
      Few other minor changes for readability that were difficult to separate
      into their own commit.
      
      This has not been optimized yet.
      646ac18d
    • Trevor Norris's avatar
      src: revert domain using AsyncListeners · 828f1455
      Trevor Norris authored
      This is a slightly modified revert of bc39bdd9.
      
      Getting domains to use AsyncListeners became too much of a challenge
      with many edge cases. While this is still a goal, it will have to be
      deferred for now until more test coverage can be provided.
      828f1455
  5. Jan 09, 2014
  6. Jan 08, 2014
  7. Jan 07, 2014
  8. Jan 05, 2014
    • ayanamist's avatar
      stream: writes may return false but forget to emit drain · b922b5e9
      ayanamist authored
      If a write is above the highWaterMark, _write still manages to
      fully send it synchronously, _writableState.length will be adjusted down
      to 0 synchronously with the write returning false, but 'drain' will
      not be emitted until process.nextTick.
      
      If another small write which is below highWaterMark is issued before
      process.nextTick happens, _writableState.needDrain will be reset to false,
      and the drain event will never be fired.
      
      So we should check needDrain before setting it up, which prevents it
      from inproperly resetting to false.
      b922b5e9
    • Lorenz Leutgeb's avatar
      doc: Add forward secrecy section to TLS docs · e1f4f6aa
      Lorenz Leutgeb authored
      This fixes confusion connected to comparison of ECDH
      with RSA and wrong information on forward secrecy.
      e1f4f6aa
    • Fedor Indutny's avatar
      92b64170
  9. Jan 04, 2014
    • Trevor Norris's avatar
      node: properly check uid when adding AsyncListener · a40b4636
      Trevor Norris authored
      Instead of checking the uid on the array index of the queue, instead the
      object property "uid" was checked on the queue iteself. Because this
      will always evaluate to "undefined" the same listener could be added
      multiple times to the same context.
      a40b4636
    • Trevor Norris's avatar
      node: change AsyncListener API · d9fc6af3
      Trevor Norris authored
      There was a flaw in the old API that has been fixed. Now the
      asyncListener callback is now the "create" object property in the
      callback object, and is optional.
      d9fc6af3
  10. Jan 01, 2014