1. Oct 19, 2013
  2. Oct 17, 2013
    • isaacs's avatar
      http: provide backpressure for pipeline flood · b97c28f5
      isaacs authored
      If a client sends a lot more pipelined requests than we can handle, then
      we need to provide backpressure so that the client knows to back off.
      Do this by pausing both the stream and the parser itself when the
      responses are not being read by the downstream client.
      
      Backport of 085dd30e
      b97c28f5
    • Timothy J Fontaine's avatar
      f051b891
    • Sam Roberts's avatar
      doc: cluster documentation cleanup and corrections · 2e160372
      Sam Roberts authored
      - fixed some incomprehensible wording ("event assigned to..."?)
      - removed undocumented and unnecessary process properties from example
      - corrected the docs on the default for the exec setting
      - described when workers are removed from cluster.workers
      - described addressType, which was documented as existing, but not what
        values it might have
      - spell out more clearly the limitations of setupMaster
      - describe disconnect in sufficient detail that why a child does or does
        not exit can be understood
      - clarify which cluster functions and events are available on process or
        just on the worker, as well as which are not available in children,
      - don't describe events as the same, when they have receive different
        arguments
      - fix misleading disconnect example: since disconnect already calls
        close on all servers, doing it again in the example is a no-op, not
        the "force close" it was claimed to be
      - document the error event, not catching it will kill your node
      - describe suicide better, it is important, and a bit unintuitive
        (process.exit() is not suicide?)
      - use worker consistently throughout, instead of child.
      2e160372
    • Sam Roberts's avatar
      doc: child_process corrections and cleanups · ed186c97
      Sam Roberts authored
      - Make explicit that .disconnected is set before the disconnect event,
        and it is not allowed to send messages after calling .disconnect(),
        even while waiting for a delayed disconect event.
      - Remove obsolete claim that explicit exit is required
      - Describe silent: in the options for fork()
      - Describe .connected as the property it is, not just as an aside in
        the disconnect() method
      ed186c97
  3. Oct 16, 2013
  4. Oct 15, 2013
  5. Oct 14, 2013
  6. Oct 11, 2013
  7. Oct 10, 2013
  8. Oct 09, 2013
  9. Oct 08, 2013
    • Ben Noordhuis's avatar
      fs: fix fs.truncate() file content zeroing bug · b011811a
      Ben Noordhuis authored
      fs.truncate() and its synchronous sibling are implemented in terms of
      open() + ftruncate().  Unfortunately, it opened the target file with
      mode 'w' a.k.a. 'write-only and create or truncate at open'.
      
      The subsequent call to ftruncate() then moved the end-of-file pointer
      from zero to the requested offset with the net result of a file that's
      neatly truncated at the right offset and filled with zero bytes only.
      
      This bug was introduced in commit 168a5557 but in fairness, before that
      commit fs.truncate() worked like fs.ftruncate() so it seems we've never
      had a working fs.truncate() until now.
      
      Fixes #6233.
      b011811a
  10. Oct 05, 2013
  11. Oct 01, 2013
  12. Sep 28, 2013
  13. Sep 25, 2013
  14. Sep 24, 2013
  15. Sep 19, 2013
  16. Sep 17, 2013
  17. Sep 14, 2013
  18. Sep 13, 2013
    • Ben Noordhuis's avatar
      doc: fix blog link in blog posts and README · 9fad8e5d
      Ben Noordhuis authored
      Apparently Joyent decommissioned joyeur.com but at least they saved the
      contents of the blog.  Update the links in the README and the nodejs.org
      blog posts.
      
      Hat tip to Eugen Pirogoff (@eugenpirogoff) for pointing it out.
      
      Fixes #6224.
      9fad8e5d