1. May 13, 2013
  2. May 11, 2013
  3. May 10, 2013
    • isaacs's avatar
      http: Use writev instead of the hacky hot end · ec576235
      isaacs authored
      ec576235
    • isaacs's avatar
      stream: Handle multi-corking properly · a5845422
      isaacs authored
      This adds proper support for the following situation:
      
          w.cork();
          w.write(...);
          w.cork();
          w.write(...);
          w.uncork();
          w.write(...);
          w.uncork();
      
      This is relevant when you have a function (as we do in HTTP) that wants
      to use cork, but in some cases, want to have a cork/uncork *around*
      that function, without losing the benefits of writev.
      a5845422
    • isaacs's avatar
      stream: Guarantee ordering of 'finish' event · c38ce9bc
      isaacs authored
      In synchronous Writable streams (where the _write cb is called on the
      current tick), the 'finish' event (and thus the end() callback) can in
      some cases be called before all the write() callbacks are called.
      
      Use a counter, and have stream.Transform rely on the 'prefinish' event
      instead of the 'finish' event.
      
      This has zero effect on most streams, but it corrects an edge case and
      makes it perform more deterministically, which is a Good Thing.
      c38ce9bc
  4. May 09, 2013
    • Ben Kelly's avatar
      os: Include netmask in os.networkInterfaces() · 8a407f58
      Ben Kelly authored
      re #3765 and #5432
      fixes #4743
      8a407f58
    • Miroslav Bajtoš's avatar
      src: initialize debug-related uv_async_t handles · fbf46414
      Miroslav Bajtoš authored
      uv_async_t handles for dispatching of debug messages and
      emitting NODE_DEBUG_ENABLED used to be initialized every time
      node::EnableDebug() was called, which happened every time
      user sends a SIGUSR1.
      
      Now they are initialized only once from node::Init() during
      application start.
      fbf46414
    • Miroslav Bajtoš's avatar
      debugger, cluster: each worker has new debug port · 43ec1b1c
      Miroslav Bajtoš authored
      Implement support for debugging cluster workers. Each worker process
      is assigned a new debug port in an increasing sequence.
      
      I.e. when master process uses port 5858, then worker 1 uses port 5859,
      worker 2 uses port 5860, and so on.
      
      Introduce new command-line parameter '--debug-port=' which sets debug_port
      but does not start debugger. This option works for all node processes, it
      is not specific to cluster workers.
      
      Fixes joyent/node#5318.
      43ec1b1c
  5. May 08, 2013
  6. May 07, 2013
  7. May 03, 2013
  8. May 02, 2013
    • Miroslav Bajtoš's avatar
      debugger: breakpoints in scripts not loaded yet · a32a243d
      Miroslav Bajtoš authored
      When developer calls setBreakpoint with an unknown script name,
      we convert the script name into regular expression matching all
      paths ending with given name (name can be a relative path too).
      
      To create such breakpoint in V8, we use type `scriptRegEx`
      instead of `scriptId` for `setbreakpoint` request.
      
      To restore such breakpoint, we save the original script name
      send by the user. We use this original name to set (restore)
      breakpoint in the new child process.
      
      This is a back-port of commit 5db936d2 from the master branch.
      a32a243d
  9. May 01, 2013
    • Ben Noordhuis's avatar
      Revert "deps: downgrade openssl to v1.0.0f" · 2cf7e5de
      Ben Noordhuis authored
      After much investigation it turns out that the affected servers are
      buggy.  user-service.condenastdigital.com:443 in particular seems to
      reject large TLS handshake records. Cutting down the number of
      advertised ciphers or disabling SNI fixes the issue.
      
      Similarly, passing { secureOptions: constants.SSL_OP_NO_TLSv1_2 }
      seems to fix most connection issues with IIS servers.
      
      Having to work around buggy servers is annoying for our users but not
      a reason to downgrade OpenSSL. Therefore, revert it.
      
      This reverts commit 4fdb8acd.
      2cf7e5de
  10. Apr 30, 2013
  11. Apr 29, 2013
  12. Apr 28, 2013