1. Mar 20, 2015
  2. Mar 17, 2015
    • Julien Gilli's avatar
      Merge remote-tracking branch 'upstream/v0.10' into v0.12 · eb2764a9
      Julien Gilli authored
      Conflicts:
      	AUTHORS
      	ChangeLog
      	deps/uv/ChangeLog
      	deps/uv/build.mk
      	deps/uv/config-unix.mk
      	deps/uv/include/uv-private/uv-win.h
      	deps/uv/src/unix/async.c
      	deps/uv/src/unix/process.c
      	deps/uv/src/version.c
      	deps/uv/src/win/poll.c
      	deps/uv/test/test-list.h
      	deps/uv/uv.gyp
      	lib/http.js
      	src/node.js
      	src/node_version.h
      eb2764a9
  3. Mar 14, 2015
  4. Mar 13, 2015
  5. Mar 12, 2015
  6. Mar 11, 2015
  7. Mar 07, 2015
  8. Mar 06, 2015
    • Florin-Cristian Gavrila's avatar
      http: fix performance regression for GET requests · 8bcd0a4c
      Florin-Cristian Gavrila authored
      A significant performance regressions has been introduced in 1fddc1fe for
      GET requests which send data through response.end(). The number of
      requests per second dropped to somewhere around 6% of their previous
      level.
      
      The fix consists of removing a part of the lines added by 1fddc1fe,
      lines which were supposed to affect only HEAD requests, but interfered
      with GET requests instead.
      
      The lines removed would not have affected the behaviour in the case of
      a HEAD request as this._hasBody would always be false. Therefore, they
      were not required to fix the issue reported in #8361.
      
      Fixes #8940.
      
      PR: #9026
      PR-URL: https://github.com/joyent/node/pull/9026
      
      
      Reviewed-By: default avatarJulien Gilli <julien.gilli@joyent.com>
      8bcd0a4c
  9. Mar 05, 2015
  10. Mar 04, 2015
  11. Feb 28, 2015
    • Julien Gilli's avatar
      Merge remote-tracking branch 'upstream/v0.10' into v0.12 · e82e86b1
      Julien Gilli authored
      Conflicts:
      	lib/console.js
      	test/simple/test-console.js
      e82e86b1
    • Julien Gilli's avatar
      src: fix builtin modules failing with --use-strict · b2331319
      Julien Gilli authored
      Currently, lib/_tls_legacy.js and lib/crypto.js cannot be loaded when
      --use-strict is passed to node. In addition to that, console.trace
      throws because it uses arguments.callee.
      
      This change fixes these issues and adds a test that makes sure
      every external built-in module can be loaded with require when
      --use-strict is enabled.
      
      Please note that this change does not fix all issues with built-in
      modules' code running with --use-strict. It is very likely that some
      code in the built-in modules still fails when passing this flag.
      
      However, fixing all code would require us to enable strict mode by
      default in all builtins modules, which would certainly break existing
      applications.
      
      Fixes #9187.
      
      PR: #9237
      PR-URL: https://github.com/joyent/node/pull/9237
      
      
      Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
      Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
      b2331319
    • Michael Dawson's avatar
      test: make destroyed-socket-write2.js more robust · 3e40e126
      Michael Dawson authored
      test/simple/test-http-destroyed-socket-write2.js validates
      that you get an appropriate error when trying to write to
      a request when the response on the other side has been destroyed.
      
      The test uses http.request to get a request and then keeps writing
      to it until either it hits 128 writes or gets the expected error.
      Since the writes are asynchronous we see that the writes just end
      up adding events to the event loop, which then later get processed
      once the connection supporting the request is fully ready.
      
      The test is timing dependent and if takes too long for the connection
      to be made the limit of 128 writes is exceeded and the test fails.
      The fact that the test allows a number of writes is probably to allow
      some delay for the connection to be ready for writing.
      
      On AIX, in the default configuration using the loopback interface
      is slower and the test fails because the delay is such that many
      more writes can be queued up before the connection takes place.
      If we use the host ip instead of defaulting to the loopback then
      the test passes.
      
      The test needs to be made more robust to delays. Since each write
      simply enqueues an additional write to the event queue there is
      probably no point in doing the second write until the first has
      completed. This patch schedules the next write when the first one
      completes and allows the test to pass even if it takes longer for
      the connection to be ready for writing
      
      PR-URL: https://github.com/joyent/node/pull/9270
      
      
      Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
      Reviewed-By: default avatarTimothy J Fontaine <tjfontaine@gmail.com>
      3e40e126
  12. Feb 26, 2015
  13. Feb 25, 2015
  14. Feb 21, 2015
  15. Feb 20, 2015
  16. Feb 18, 2015
  17. Feb 17, 2015