1. 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
  2. May 08, 2013
  3. May 07, 2013
  4. May 03, 2013
  5. 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
  6. 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
  7. Apr 30, 2013
  8. Apr 29, 2013
  9. Apr 28, 2013
  10. Apr 27, 2013
    • Fedor Indutny's avatar
      streams: introduce .cork/.uncork/._writev · 21ed8df6
      Fedor Indutny authored
      21ed8df6
    • Miroslav Bajtoš's avatar
      debugger: breakpoints in scripts not loaded yet · 5db936d2
      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.
      5db936d2
    • Miroslav Bajtoš's avatar
      debugger: `restart` with custom debug port · 8c2ad47f
      Miroslav Bajtoš authored
      Fixed a bug in debugger repl where `restart` command did not work
      when a custom debug port was specified via command-line option
      --port={number}.
      
      File test/simple/helper-debugger-repl.js was extracted
      from test/simple/test-debugger-repl.js
      8c2ad47f
    • Miroslav Bajtoš's avatar
      debugger: print port number when connecting to debuggee · fd9e01c0
      Miroslav Bajtoš authored
      To improve troubleshooting of debugger problems in the future,
      the debugger repl now prints the port it is connecting to.
      fd9e01c0