Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4.3.1 proposal #5200

Merged
merged 64 commits into from
Feb 17, 2016
Merged

V4.3.1 proposal #5200

merged 64 commits into from
Feb 17, 2016

Commits on Feb 15, 2016

  1. src: don't check failure with ERR_peek_error()

    It's possible there is already an existing error on OpenSSL's error
    stack that is unrelated to the EVP_DigestInit_ex() operation we just
    executed.
    
    Fixes: nodejs#4221
    PR-URL: nodejs#4731
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    bnoordhuis authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    c41ed59 View commit details
    Browse the repository at this point in the history
  2. debugger: guard against call from non-node context

    Fix a segmentation fault when the debug message handler was called from
    a context without an associated `node::Environment`.
    
    Fixes: nodejs#4261
    Fixes: nodejs#4322
    PR-URL: nodejs#4328
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    667f7a7 View commit details
    Browse the repository at this point in the history
  3. tools: add license-builder.sh to construct LICENSE

    PR-URL: nodejs#4194
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    rvagg authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    720b03d View commit details
    Browse the repository at this point in the history
  4. doc: rebuild LICENSE using tools/license-builder.sh

    PR-URL: nodejs#4194
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    rvagg authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    36a4159 View commit details
    Browse the repository at this point in the history
  5. tools: fix license-builder.sh for ICU

    Modify tools/license-builder.sh to restore the Third-Party Software
    licenses for ICU.
    
    Also fix arguments to tail to work on Linux.
    
    rvagg: modified sed command for ICU to replace tabs with spaces and
           remove whitespace at the end of lines
    
    PR-URL: nodejs#4762
    Reviewed-By: Rod Vagg <[email protected]>
    richardlau authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    c96800a View commit details
    Browse the repository at this point in the history
  6. doc: restore ICU third-party software licenses

    PR-URL: nodejs#4762
    Reviewed-By: Rod Vagg <[email protected]>
    richardlau authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    c0432e9 View commit details
    Browse the repository at this point in the history
  7. gitignore: never ignore debug module

    On case-insensitive platorms, the Debug/ rule catches the debug module
    under npm and eslint.
    
    PR-URL: nodejs#2286
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    a2998a1 View commit details
    Browse the repository at this point in the history
  8. tools: update eslint to v1.10.3

    PR-URL: nodejs#2286
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    2e0352d View commit details
    Browse the repository at this point in the history
  9. tools: update eslint config

    The no-reserved-keys rule doesn't exist anymore and we don't need ES3
    compatibility.
    escape and unescape are now known by eslint.
    --reset flag was removed and it is now the default behavior.
    
    PR-URL: nodejs#2286
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    b20ea69 View commit details
    Browse the repository at this point in the history
  10. lib: fix style issues after eslint update

    With an indentation style of two spaces, it is not possible to indent
    multiline variable declarations by four spaces. Instead, the var keyword
    is used on every new line.
    Use const instead of var where applicable for changed lines.
    
    PR-URL: nodejs#2286
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    15ed64e View commit details
    Browse the repository at this point in the history
  11. tools: fix style issue after eslint update

    PR-URL: nodejs#2286
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    066d5e7 View commit details
    Browse the repository at this point in the history
  12. test: fix style issues after eslint update

    Replace var keyword with const or let.
    
    PR-URL: nodejs#2286
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    607f545 View commit details
    Browse the repository at this point in the history
  13. tls: copy client CAs and cert store on CertCb

    Copy client CA certs and cert store when asynchronously selecting
    `SecureContext` during `SNICallback`. We already copy private key,
    certificate, and certificate chain, but the client CA certs were
    missing.
    
    Fix: nodejs#2772
    PR-URL: nodejs#3537
    Reviewed-By: Ben Noordhuis <[email protected]>
    indutny authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    aefb20a View commit details
    Browse the repository at this point in the history
  14. module: move unnecessary work for early return

    The exts and trailingSlash variables are only used if the
    path isn't cached. This commit moves them further down in the
    code, and changes from var to const.
    
    PR-URL: nodejs#3579
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    zertosh authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    2e92a1a View commit details
    Browse the repository at this point in the history
  15. test: fix tls-multi-key race condition

    In some conditions it can happen that the client-side socket is
    destroyed before the server-side socket has gracefully closed, thus
    causing a 'ECONNRESET' error in this socket. To solve this, also close
    gracefully in the client side.
    
    PR-URL: nodejs#3966
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    f213406 View commit details
    Browse the repository at this point in the history
  16. doc: add docs working group

    PR-URL: nodejs#4244
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    bengl authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    48c2783 View commit details
    Browse the repository at this point in the history
  17. cluster: fix race condition setting suicide prop

    There is no guarantee that the `suicide` property of a worker in the
    master process is going to be set when the `disconnect` and `exit`
    events are emitted.
    
    To fix it, wait for the ACK of the suicide message from the master
    before disconnecting the worker. Also, there's no need to send the
    suicide message from the worker if the disconnection has been
    initiated in the master.
    
    Add `test-cluster-disconnect-suicide-race` that forks a lot of workers
    to consistently reproduce the issue this patch tries to solve.
    
    Modify `test-regress-nodejsGH-3238` so it checks both the `kill` and
    `disconnect` cases. Also take into account that the `disconnect` event
    may be received after the `exit` event.
    
    PR-URL: nodejs#4349
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    santigimeno authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    f8a676e View commit details
    Browse the repository at this point in the history
  18. doc: add path property to Write/ReadStream in fs.markdown

    Documents the "path" property on fs.WriteStream
    and fs.ReadStream. See nodejs#4327
    
    PR-URL: nodejs#4368
    Reviewed-By: James M Snell <[email protected]>
    claudiorodriguez authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    75b0ea8 View commit details
    Browse the repository at this point in the history
  19. test: test each block in addon.md contains js & cc

    Allows more freedom in adding additional headings to addon.markdown,
    otherwise it'll try and convert each block under a heading to a test
    case. We need to have at least a .js and a .cc in order to have
    something to test.
    
    Fixes regression caused by adding a new 3rd-level heading in
    d5863bc
    
    PR-URL: nodejs#4411
    Reviewed-By: Myles Borins <[email protected]>
    rvagg authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    305d340 View commit details
    Browse the repository at this point in the history
  20. test: use addon.md block headings as test dir names

    instead of doc-*
    
    PR-URL: nodejs#4412
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    rvagg authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    e6448aa View commit details
    Browse the repository at this point in the history
  21. doc: fix formatting in process.markdown

    All the other properties get an h2/## but process.connected gets an
    h3/### for no discernible reason. Change it to h2/## like the others.
    
    PR-URL: nodejs#4433
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Stephan Belanger <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    e2a682e View commit details
    Browse the repository at this point in the history
  22. doc: copyedit setTimeout() documentation

    Copyedit the documentation for setTimeout() and enforce wrapping at 80
    characters in the markdown file for nearby text.
    
    PR-URL: nodejs#4434
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Reviewed-By: Stephan Belanger <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    393e569 View commit details
    Browse the repository at this point in the history
  23. test: fix flaky child-process-fork-regr-nodejsgh-2847

    Windows would die with ECONNRESET most times when running
    this particular test. This commit makes handling these errors
    more tolerable.
    
    PR-URL: nodejs#4442
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    mscdex authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    6809c2b View commit details
    Browse the repository at this point in the history
  24. test: fix flaky cluster-net-send

    Before this commit, it was possible on Windows for the server's
    'connection' handler to be called *after* the client socket's
    'connect' handler. This caused the 'message' event to be missed
    and the test would never end (timing out in CI). This problem
    was more easily reproducible on a low resource (slow CPU)
    Windows (2012r2) installation.
    
    This commit waits until both handlers have been called before
    sending the handle to the master process.
    
    Fixes: nodejs#3957
    PR-URL: nodejs#4444
    Reviewed-By: Rich Trott <[email protected]>
    mscdex authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    a256790 View commit details
    Browse the repository at this point in the history
  25. doc: mention that http.Server inherits from net.Server

    PR-URL: nodejs#4455
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ryansobol authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    437d0e3 View commit details
    Browse the repository at this point in the history
  26. http: fix non-string header value concatenation

    Since headers are stored in an empty literal object ({}) instead
    of an object created with Object.create(null), care must be taken
    with property names inherited from Object. Currently there are
    only functions inherited, so we can safely check for existing
    strings instead.
    
    Fixes: nodejs#4456
    PR-URL: nodejs#4460
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    mscdex authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    1bb2967 View commit details
    Browse the repository at this point in the history
  27. cluster: ignore queryServer msgs on disconnection

    It avoids the creation of unnecessary handles. This issue is causing
    intermitent failures in `test-cluster-disconnect-race` on `FreeBSD`
    and `OS X`.
    
    The problem is that the `worker2.disconnect` is being called on the
    master before the `queryServer` is handled, causing the worker to
    be deleted, then the Server handle is created afterwards. Later on,
    when `removeWorker` is called from the `exit` handler, there are no
    workers left, but one handle, thus the `AssertionError`.
    
    Add a new `test/sequential/test-cluster-disconnect-leak` based on
    `test-cluster-disconnect-race` that creates lots of workers and fails
    consistently without this patch.
    
    PR-URL: nodejs#4465
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    santigimeno authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    b8213ba View commit details
    Browse the repository at this point in the history
  28. test: fix flaky test-cluster-shared-leak

    Wait for worker2 to come online before doing anything that might result
    in an EPIPE. Fixes flakiness of test on Windows.
    
    Fixes: nodejs#3956
    PR-URL: nodejs#4510
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell<[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    ec24d37 View commit details
    Browse the repository at this point in the history
  29. test: fix http-upgrade-agent flakiness

    It's not guaranteed that the socket data is received in the same chunk
    as the upgrade response. Listen for the `data` event to make sure all
    the data is received.
    
    PR-URL: nodejs#4520
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    3d5bc69 View commit details
    Browse the repository at this point in the history
  30. repl: make sure historyPath is trimmed

    If one were to set NODE_REPL_HISTORY to a string that contains only a
    space (" "), then the history file would be created with that name
    which can cause problems are certain systems.
    
    PR-URL: nodejs#4539
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    evanlucas authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    26f0240 View commit details
    Browse the repository at this point in the history
  31. net: fix dns lookup for android

    `V4MAPPED` isn't supported by Android either (as of 6.0)
    
    PR-URL: nodejs#4580
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    daguej authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    8ed0c1c View commit details
    Browse the repository at this point in the history
  32. net, doc: fix line wrapping lint in net.js

    Missed on the previous review, minor line wrapping nit
    
    PR-URL: nodejs#4588
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    15fa555 View commit details
    Browse the repository at this point in the history
  33. test: fix flaky unrefed timers test

    Remove unnecessary `setImmediate()` that causes a minor race condition.
    Stop the test after 3 occurrences rather than 5 to allow for slower
    hosts running the test in parallel with other tests.
    
    Fixes: nodejs#4559
    PR-URL: nodejs#4599
    Reviewed-By: Johan Bergström <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    556703d View commit details
    Browse the repository at this point in the history
  34. test: fix http-upgrade-client flakiness

    It's not guaranteed that the socket data is received in the same chunk
    as the upgrade response. Listen for the `data` event to make sure all
    the data is received.
    
    PR-URL: nodejs#4602
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    34d9e48 View commit details
    Browse the repository at this point in the history
  35. src: remove redeclarations of variables

    Remove redeclarations of variables in node.js. This includes removing
    one apparently unnecessary `NativeModule.require('module')`.
    
    PR-URL: nodejs#4605
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    5990ba2 View commit details
    Browse the repository at this point in the history
  36. test: only include http module once

    A few tests in test/gc include the http module twice. Remove duplicate
    require().
    
    PR-URL: nodejs#4606
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    0e02eb0 View commit details
    Browse the repository at this point in the history
  37. test: require common module only once

    Two tests were requiring the common module twice. This removes the
    duplicate require statement in the tests.
    
    PR-URL: nodejs#4611
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    7afcdd3 View commit details
    Browse the repository at this point in the history
  38. http: remove variable redeclaration

    In lib/_http_client.js, the variable `conn` was declared with the `var`
    keyword three times in the same scope. This change eliminates the
    variable entirely.
    
    PR-URL: nodejs#4612
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    661b255 View commit details
    Browse the repository at this point in the history
  39. dgram: prevent disabled optimization of bind()

    Reassigning a named parameter while also using the arguments
    object causes the entire function to never be optimized.
    
    PR-URL: nodejs#4613
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    6e829b4 View commit details
    Browse the repository at this point in the history
  40. test: move resource intensive tests to sequential

    To enable greater parallelization of tests on CI, move resource
    intensive tests out of parallel and into sequential.
    
    Ref: nodejs#4476
    PR-URL: nodejs#4615
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    8ea7660 View commit details
    Browse the repository at this point in the history
  41. test: remove 1 second delay from test

    In test-cluster-worker-wait-server-close, remove unneeded 1-second delay
    and refactor to eliminate flakiness on FreeBSD.
    
    PR-URL: nodejs#4616
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    909b516 View commit details
    Browse the repository at this point in the history
  42. stream: remove useless if test in transform

    PR-URL: nodejs#4617
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    zoubin authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    d71f999 View commit details
    Browse the repository at this point in the history
  43. tls_legacy: do not read on OpenSSL's stack

    Do not attempt to read data from the socket whilst on OpenSSL's stack,
    weird things may happen, and this is most likely going to result in some
    kind of error.
    
    PR-URL: nodejs#4624
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    7821b3e View commit details
    Browse the repository at this point in the history
  44. debugger: remove variable redeclarations

    Some variables are declared with var more than once in the same scope.
    This change reduces the declarations to one per scope.
    
    PR-URL: nodejs#4633
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    583f334 View commit details
    Browse the repository at this point in the history
  45. test: fix race in test-net-server-pause-on-connect

    A 50ms timeout results in a race condition. Instead, enforce expected
    order through callbacks. This has the side effect of speeding up the
    test in most situations.
    
    Ref: nodejs#4476
    PR-URL: nodejs#4637
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    baa0a3d View commit details
    Browse the repository at this point in the history
  46. doc: add docs for more stream options

    PR-URL: nodejs#4639
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    zoubin authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    9ca24de View commit details
    Browse the repository at this point in the history
  47. net: remove hot path comment from connect

    This comment was added with an assumption that we could determine the
    IP address that localhost should resolve to without performing a
    lookup. This was a false assumption and should be removed.
    
    PR-URL: nodejs#4648
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    evanlucas authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    40c8e6d View commit details
    Browse the repository at this point in the history
  48. test: fix flaky test-net-socket-local-address

    Prior to this commit, the test was flaky because it was
    executing the majority of its logic in a function called from
    the client and multiple events on the server. This commit
    simplifies the test by separating the server's connection and
    listening events, and isolating the client logic.
    
    Refs: nodejs#4476
    Refs: nodejs#4644
    PR-URL: nodejs#4650
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    d615757 View commit details
    Browse the repository at this point in the history
  49. crypto: clear error stack in ECDH::Initialize

    Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have
    faulty implementations that are leaving dangling errors after
    initializing the curve.
    
    Fix: nodejs#4686
    PR-URL: nodejs#4689
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    indutny authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    9d4a226 View commit details
    Browse the repository at this point in the history
  50. readline: Remove XXX and output debuglog

    Remove a comment that has a word 'XXX'.
    And add a line to output debuglog of error.
    
    PR-URL: nodejs#4690
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kohei-takata authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    4fbcb47 View commit details
    Browse the repository at this point in the history
  51. doc: update branch-diff arguments in release doc

    PR-URL: nodejs#4691
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    rvagg authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    91066b5 View commit details
    Browse the repository at this point in the history
  52. buffer: remove unnecessary TODO comments

    Refs: nodejs#4642
    PR-URL: nodejs#4719
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    pgeiss authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    fb615bd View commit details
    Browse the repository at this point in the history
  53. doc: add servername parameter docs

    Add `servername` parameter docs for `https.request()` method.
    
    Follows nodejs#4389
    
    PR-URL: nodejs#4729
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    estliberitas authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    cb5986d View commit details
    Browse the repository at this point in the history
  54. test: make test-cluster-disconnect-leak reliable

    Previously, test-cluster-disconnect-leak had two issues:
    
    * Magic numbers: How many times to spawn a worker was determined through
    empirical experimentation. This means that as new platforms and new
    CPU/RAM configurations are tested, the magic numbers require more
    and more refinement. This brings us to...
    
    * Non-determinism: The test *seems* to fail all the time when the bug
    it tests for is present, but it's really a judgment based on sampling.
    "Oh, with 8 workers per CPU, it fails about 80% of the time. Let's try
    16..."
    
    This revised version of the test takes a different approach. The fix
    for the bug that the test was written for means that the `disconnect`
    event will fire reliably for a single worker. So we check for that and
    the test still fails when the fix is not in the code base and succeeds
    when it is.
    
    Advantages of this approach include:
    
    * The test runs much faster.
    * The test now works on Windows. The previous version skipped Windows.
    * The test should be reliable on any new platform regardless of CPU and
    RAM.
    
    Ref: nodejs#4674
    
    PR-URL: nodejs#4736
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    0178001 View commit details
    Browse the repository at this point in the history
  55. buffer: make byteLength work with Buffer correctly

    Make the byteLength work correctly when input is Buffer.
    
    e.g:
    
    ```js
    // The incomplete unicode string
    Buffer.byteLength(new Buffer([0xe4, 0xb8, 0xad, 0xe6, 0x96]))
    ```
    The old output: 9
    The new output: 5
    
    PR-URL: nodejs#4738
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    JacksonTian authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    748d2b4 View commit details
    Browse the repository at this point in the history
  56. test: improve test-cluster-disconnect-suicide-race

    Previously, test-cluster-disconnect-suicide-race had two issues:
    
    * Magic numbers: How many times to spawn a worker was determined through
    empirical experimentation. This means that as new platforms and new
    CPU/RAM configurations are tested, the magic numbers require more
    and more refinement. This brings us to...
    
    * Non-determinism: The test seems to fail all the time when the bug
    it tests for is present, but it's really a judgment based on sampling.
    "Oh, with 8 workers per CPU, it fails about 80% of the time. Let's try
    16..."
    
    This revised version of the test takes a different approach. The fix
    for the bug that the test was written for means that the disconnect
    event will fire on a subsequent tick. So we check for that and the test
    still fails when the fix is not in the code base and succeeds when it
    is.
    
    Advantages of this approach include:
    
    * The test runs much faster.
    * The test should be reliable on any new platform regardless of CPU and
    RAM.
    
    PR-URL: nodejs#4739
    Ref: nodejs#4674
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    be82745 View commit details
    Browse the repository at this point in the history
  57. doc: style fixes for the TOC

    - Hide the scrollbar on the TOC on all browsers. It was never the
      intention for it to be visible with the scroll indication in place.
      A wrapper element with 20px padding was added to accommodate for
      hopefully all scrollbar widths as well as to avoid overflowing
      content.
    - Fixed the scroll indication gradient on Safari, which was caused by
      the wrong from-color, which now matches the to-color.
    - Fixed a issue in old IE where the TOC didn't render on the correct
      position through setting `left: 0` and `top: 0` on it.
    
    PR-URL: nodejs#4748
    Reviewed-By: James M Snell <[email protected]>
    silverwind authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    39cb69c View commit details
    Browse the repository at this point in the history
  58. test: fix issues for space-in-parens ESLint rule

    PR-URL: nodejs#4753
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    silverwind authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    447347c View commit details
    Browse the repository at this point in the history
  59. tools: enable space-in-parens ESLint rule

    Ref: http://eslint.org/docs/rules/space-in-parens.html
    PR-URL: nodejs#4753
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    silverwind authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    837ebd1 View commit details
    Browse the repository at this point in the history
  60. doc: update list of personal traits in CoC

    rust-lang/prev.rust-lang.org#288 landed in the Rust repo
    so it seems like a good idea to just bring the updated list in.
    
    We also received a request to do this in nodejs/inclusivity#82
    so this should resolve that.
    
    Thanks to [@Charlotteis](https://github.com/Charlotteis) for bringing
    up the original issue.
    
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    PR-URL: nodejs#4801
    Fixes: nodejs/inclusivity#82
    zkat authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    c3956d0 View commit details
    Browse the repository at this point in the history
  61. tools: add support for subkeys in release tools

    Replace grep with awk to add support for subkeys
    
    PR-URL: nodejs#4807
    Reviewed-By: Rod Vagg <[email protected]>
    MylesBorins authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    b66db49 View commit details
    Browse the repository at this point in the history
  62. test: fix tls-no-rsa-key flakiness

    In some conditions it can happen that the client-side socket is destroyed
    before the server-side socket has gracefully closed, thus causing a
    'ECONNRESET' error in this socket. To solve this, wait in the client-side
    socket for the 'end' event before closing it.
    
    PR-URL: nodejs#4043
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    santigimeno authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    f205e99 View commit details
    Browse the repository at this point in the history
  63. node_contextify: do not incept debug context

    Currently a debug context is created for various calls to util.
    
    If the node debugger is being run the main context is the debug
    context. In this case node_contextify was freeing the debug context
    and causing everything to explode.
    
    This change moves around the logic and no longer frees the context.
    
    There is a concern about the dangling pointer
    
    The regression test was adapted from code submitted by @3y3 in nodejs#4815
    
    Fixes: nodejs#4440
    Fixes: nodejs#4815
    Fixes: nodejs#4597
    Fixes: nodejs#4952
    
    PR-URL: nodejs#4815
    
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    1b070e4 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2016

  1. 2016-02-16, Version 4.3.1 'Argon' (LTS)

    Notable changes:
    
    * buffer: make byteLength work with Buffer correctly (Jackson Tian)
      - nodejs#4738
    * debugger: guard against call from non-node context (Ben Noordhuis)
      - nodejs#4328
    * node_contextify: do not incept debug context (Myles Borins)
      - nodejs#4819
    * deps: update to http-parser 2.5.2 (James Snell)
      - nodejs#5238
    Myles Borins committed Feb 16, 2016
    Configuration menu
    Copy the full SHA
    ef37a46 View commit details
    Browse the repository at this point in the history