Switch branches/tags
Commits on Jan 31, 2014
Commits on Jan 30, 2014
  1. test: delete invalid http test

    The test is no longer valid for the original scenario.
    It now fails intermittently because of two other issues:
    1. Since the client is only processing one readable event, the
       client request is not enough to keep the process alive and the
       process can exit before the desired events have been raised.
    2. Reading just 1 byte is not enough to guarantee that the parser
       will eventually consume all the data and raise the desired
       parse error. I tried postponing the server.close() to address
       the issue at [1], but then the test just hangs sometimes.
    orangemocha committed with indutny Jan 30, 2014
Commits on Jan 29, 2014
  1. src: move header inclusion out of namespace

    The placement of a previous Fix to include proper size_t types in
    addons was erroneously placed inside a namespace, move to just before.
    Fix #6992
    tjfontaine committed Jan 29, 2014
  2. Now working on 0.11.12

    tjfontaine committed Jan 29, 2014
  3. 2014.01.29, Version 0.11.11 (Unstable)

    * v8: Upgrade to
    * http_parser: Upgrade to 2.2.1
    * openssl: Upgrade to 1.0.1f
    * uv: Upgrade to 0.11.18
    * async-listener: revamp of subsystem (Trevor Norris)
    * node: do not ever close stdio (Fedor Indutny)
    * http: use writev on chunked encoding (Trevor Norris)
    * async_wrap/timers: remove Add/RemoveAsyncListener (Trevor Norris)
    * child_process: better error reporting for exec (Fedor Indutny)
    * crypto: add newline to cert and key if not present (Fedor Indutny)
    * crypto: clear error in GetPeerCertificate (Fedor Indutny)
    * crypto: honor default ciphers in client mode (Jacob Hoffman-Andrews)
    * crypto: introduce .setEngine(engine, [flags]) (Fedor Indutny)
    * crypto: support custom pbkdf2 digest methods (Ben Noordhuis)
    * domain: fix off-by-one in Domain.exit() (Ryan Graham)
    * http: concatenate duplicate headers by default (Alex Kocharin)
    * http: do not emit EOF non-readable socket (Fedor Indutny)
    * node: fix argument parsing with -p arg (Alexis Campailla)
    * path: improve POSIX path.join() performance (Jo Liss)
    * tls: emit `clientError` on early socket close (Fedor Indutny)
    * tls: introduce `.setMaxSendFragment(size)` (Fedor Indutny)
    * tls: make cert/pfx optional in tls.createServer() (Ben Noordhuis)
    * tls: process accumulated input (Fedor Indutny)
    * tls: show human-readable error messages (Ben Noordhuis)
    * util: handle escaped forward slashes correctly (Tom Gallacher)
    tjfontaine committed Jan 29, 2014
  4. v8: Upgrade to

    tjfontaine committed Jan 29, 2014
Commits on Jan 28, 2014
  1. node: do not ever close stdio

    Even if stdio streams are opened as file streams, we should not ever try
    to close them. This could be accomplished by passing `autoClose: false`
    in options on their creation.
    indutny committed Jan 23, 2014
  2. deps: update http_parser to 2.2.1

    Main changes:
      * Fixed content-length and chunk-size overflow test
    indutny committed Jan 28, 2014
  3. lib: fix unnecessary coercion in lib/net.js

    Original patch by @skypjack in #6627
    thomseddon committed with indutny Jan 28, 2014
  4. lib: Remove unused var+operations in util.inspect

    This was originally introduced in 6034701 to prevent the closing
    brace being pushed onto the next line if an object is longer than
    the max width, however the functionality was removed in d164989 but
    the supplementary variables (and operations) were left behind
    thomseddon committed with indutny Jan 28, 2014
  5. src: only define ssize_t on windows if undefined

    This matches how libuv handles the definition of ssize_t, by
    typedef'ing intptr_t to ssize_t.
    However, in the future we will use portable types from stddef.h
    tjfontaine committed Jan 28, 2014
  6. stream_wrap: use `uv_try_write` where possible

    Use `uv_try_write` for string and buffer writes, thus avoiding to do
    allocations and copying in some of the cases.
    indutny committed Jan 28, 2014
  7. test: make abort-fatal-error more robust

    It's saner to check exit codes or signals to determine if the process
    actually aborted. On OSX and Linux the exit code is 134, on SunOS it
    propagates the SIGABRT signal
    tjfontaine committed Jan 28, 2014
  8. test: fix test-net-listen-fd0 for pipes

    In the case of a pipe'd input, i.e. from the CI the fd will be a PIPE
    and when listen() is called it will return ENOTSOCK instead of EINVAL.
    tjfontaine committed Jan 28, 2014
Commits on Jan 27, 2014
  1. node: register modules from DSO constructors

    Built-in modules should be automatically registered, replacing the
    static module list.  Add-on modules should also be automatically
    registered via DSO constructors.  This improves flexibility in adding
    built-in modules and is also a prerequisite to pure-C addon modules.
    wesolows committed with tjfontaine Dec 17, 2013
  2. crypto: honor default ciphers in client mode

    Right now no default ciphers are use in, e.g. https.get, meaning that
    weak export ciphers like TLS_RSA_EXPORT_WITH_DES40_CBC_SHA are
    To reproduce:
    node -e "require('https').get({hostname: '', \
      path: '/a/check'}, function(res) {res.on('data', \
      function(d) {process.stdout.write(d)})})"
    jsha committed with indutny Jan 24, 2014
  3. test: race condition in test-cluster-disconnect

    The test was not waiting for all the worker-created sockets
    to be listening before calling cluster.disconnect().
    As a result, the channels with the workers could get closed
    before all the socket handles had been passed to them, leading
    to various errors.
    orangemocha committed with tjfontaine Jan 10, 2014
  4. node: fix argument parsing with -p arg

    node -p would cause an access violation.
    Fixes test\message\stdin_messages.js on Windows.
    orangemocha committed with tjfontaine Dec 28, 2013
  5. Merge remote-tracking branch 'upstream/v0.10'

    tjfontaine committed Jan 27, 2014
  6. net: make Socket destroy() re-entrance safe

    So that we are free to call socket.destroy() in error event handler.
    fix #6769
    roamm committed with indutny Jan 25, 2014
  7. deps: update uv to 0.11.18

    indutny committed Jan 27, 2014
Commits on Jan 26, 2014
  1. crypto: throw on SignFinal failure

    fix #6963
    indutny committed Jan 26, 2014
Commits on Jan 25, 2014
  1. net: reset `endEmitted` on reconnect

    fix #6908
    indutny committed with tjfontaine Jan 22, 2014
  2. deps: backport b5135bbc from c-ares repo

    Original commit message:
        ares_parse_txt_reply: return a ares_txt_reply node for each sub-string
        Previously, the function would wrongly return all substrings merged into
    fix #6931
    indutny committed with tjfontaine Jan 23, 2014
  3. doc: readline document TTY utils

    fix #6933
    indutny committed with tjfontaine Jan 23, 2014
  4. http: do not emit EOF non-readable socket

    Socket may become not `readable`, but http should not rely on this
    property and should not think that it means that no data will ever
    arrive from it. In fact, it may arrive in a next tick and, since
    `this.push(null)` was already called, it will result in a error like
        Error: stream.push() after EOF
            at readableAddChunk (_stream_readable.js:143:15)
            at IncomingMessage.Readable.push (_stream_readable.js:123:10)
            at HTTPParser.parserOnBody (_http_common.js:132:22)
            at Socket.socketOnData (_http_client.js:277:20)
            at Socket.EventEmitter.emit (events.js:101:17)
            at (_stream_readable.js:367:10)
            at Socket.socketCloseListener (_http_client.js:196:10)
            at Socket.EventEmitter.emit (events.js:123:20)
            at TCP.close (net.js:479:12)
    fix #6784
    indutny committed with tjfontaine Jan 24, 2014
  5. Merge remote-tracking branch 'upstream/v0.10'

    tjfontaine committed Jan 25, 2014
Commits on Jan 24, 2014
  1. doc: fix typo in readline

    scottgonzalez committed with indutny Jan 23, 2014
Commits on Jan 23, 2014
  1. npm: Upgrade to v1.3.25

    isaacs committed Jan 23, 2014