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

v8.13.0 proposal #23974

Merged
merged 129 commits into from Nov 20, 2018
Merged

v8.13.0 proposal #23974

merged 129 commits into from Nov 20, 2018

Commits on Sep 13, 2018

  1. lib: define printErr() in script string

    This commit moves the printErr() function, used by the
    tick profiler processer, into the code string passed to
    vm.runInThisContext().
    
    PR-URL: #19285
    Fixes: #19260
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and addaleax committed Sep 13, 2018
    Copy the full SHA
    2ae98ce View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2018

  1. doc: fix 8.12.0 changelog

    PR-URL: #22803
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    MylesBorins committed Sep 25, 2018
    Copy the full SHA
    b0d6067 View commit details
    Browse the repository at this point in the history
  2. doc: add and unify return statements in crypto.md

    Conform return statements to the style guide and tool parsers.
    
    Also bring back a description fragment
    that seems to be erroneously deleted in
    1e07acd
    
    Backport-PR-URL: #22870
    PR-URL: #19853
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    vsemozhetbyt authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    0340dd8 View commit details
    Browse the repository at this point in the history
  3. test: improve assertion in test-inspector.js

    Remove an unecessary string literal from assert.strictEqual() call in
    test-inspector.js. The string literal is printed instead of the value
    that causes an error. Removing the string literal allows the value that
    caused the error to be printed. This improves the troubleshooting
    experience when the test fails due to that assertion.
    
    Backport-PR-URL: #22888
    PR-URL: #22849
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    f2158f3 View commit details
    Browse the repository at this point in the history
  4. test: simplify assertion in http2 tests

    In test-http2-timeout-large-write.js and
    test-http2-timeout-large-write-file.js:
    
    Use assert.ok() on a boolean that the test itself creates and sets,
    rather than assert.strictEqual(). This allows us to use a static message
    without running afoul of the upcoming "do not use string literals with
    assert.strictEqual()" lint rule.
    
    Backport-PR-URL: #22888
    PR-URL: #22849
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    e9416d4 View commit details
    Browse the repository at this point in the history
  5. test: refactor flag check

    Refactor test-vm-run-in-new-context so that check for `--expose-gc` flag
    will not run afoul of an upcoming lint rule that checks that string
    literals are not used for the `message` argument of
    `assert.strictEqual()`.
    
    Backport-PR-URL: #22888
    PR-URL: #22849
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    702d67f View commit details
    Browse the repository at this point in the history
  6. test: remove string literal from assertion

    Remove string literal from `assert.strictEqual()` call `message`
    parameter and make it a comment above the assertion instead.
    
    Backport-PR-URL: #22888
    PR-URL: #22849
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    976d55f View commit details
    Browse the repository at this point in the history
  7. test: remove string literal from assertion

    Remove string literal as assertion message in call to
    assert.strictEqual() in test-dns-resolveany-bad-ancount.
    
    Backport-PR-URL: #22888
    PR-URL: #22849
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    52b21ca View commit details
    Browse the repository at this point in the history
  8. test: prepare test-assert for strictEqual linting

    Make minor modifications to test-assert.js to prepare it for linting
    rule that forbids the use of string literals for the third argument of
    assert.strictEqual().
    
    Backport-PR-URL: #22888
    PR-URL: #22849
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    8209ccb View commit details
    Browse the repository at this point in the history
  9. tls,http2: handle writes after SSL destroy more gracefully

    This might otherwise result in a hard crash when trying
    to write to a socket after a sudden disconnect.
    
    Note that the test here uses an aborted `h2load` run to create
    the failing requests; That’s far from ideal, but it provides
    a reasonably reliably reproduction at this point.
    
    Backport-PR-URL: #22924
    PR-URL: #18987
    Fixes: #18973
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax authored and MylesBorins committed Sep 25, 2018
    Copy the full SHA
    f5985c7 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. test: call gc() explicitly to avoid OOM

    PR-URL: #22301
    Refs: nodejs/reliability#12
    Refs: #16354
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    refack authored and MylesBorins committed Sep 26, 2018
    Copy the full SHA
    d58867a View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2018

  1. deps: backport 9a23bdd from upstream V8

    Original commit message:
    
        [Isolate] Fix Isolate::PrintCurrentStackTrace for interpreted frames
    
        Previously we were getting the code object from the stack, so printed incorrect
        position details for interpreted frames.
    
        BUG=v8:7916
    
        Change-Id: I2f87584117d88b7db3f3b9bdbfe793c4d3e33fe9
        Reviewed-on: https://chromium-review.googlesource.com/1126313
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#54253}
    
    Refs: v8/v8@9a23bdd
    Fixes: #21988
    
    PR-URL: #22418
    Refs: #22338
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Drieger authored and BethGriggs committed Oct 2, 2018
    Copy the full SHA
    9e2077a View commit details
    Browse the repository at this point in the history
  2. doc: make caveat in stream.md more concise

    PR-URL: #19251
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BethGriggs committed Oct 2, 2018
    Copy the full SHA
    eaabbf4 View commit details
    Browse the repository at this point in the history
  3. test: name test files appropriately

    Rename the tests appropriately alongside mentioning the subsystem.
    Also, make a few basic changes to make sure the test conforms
    to the standard test structure.
    
    This renames:
    - test-regress-GH-1531
    - test-regress-GH-2245
    - test-regress-GH-3238
    - test-regress-GH-3542
    - test-regress-GH-3739
    - test-regress-GH-4256
    
    PR-URL: #19212
    Refs: #19105
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ryzokuken authored and BethGriggs committed Oct 2, 2018
    Copy the full SHA
    534bc82 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2018

  1. deps: V8: backport 20 CPU profiler commits from upstream

    [cpu-profiler] Fix bugs and add tests for JITLineInfoTable
    https://chromium.googlesource.com/v8/v8/+/4feb5ce7fd5ef8c933f3f5dff2eca1173f85c1e9
    
    [cpu-profiler] Fix incorrect line number calculation.
    https://chromium.googlesource.com/v8/v8/+/ddb2856f39632f9e9f623d3cdb4600e636172031
    
    [cpu-profiler] Use std::unordered_map for hashmaps.
    https://chromium.googlesource.com/v8/v8/+/35985ce6abc80b85264fe3b87b246fed5f1806e6
    
    [cpu-profiler] Do not store CodeEntries between profiling sessions.
    https://chromium.googlesource.com/v8/v8.git/+/8ec48b2117b8092c4956f1ee11a0c85bec3ba1f8
    
    [cpu-profiler] Remove name_prefix field from CodeEntry
    https://chromium.googlesource.com/v8/v8.git/+/6f72af25fe43218b60c68129073ddcddb631566e
    
    [cpu-profiler] Extract rare used fields of CodeEntry to an optional object.
    https://chromium.googlesource.com/v8/v8.git/+/fcc1ebb55aab38013855834f556f6e874e0eb8b3
    
    [profiler] Refactoring: decouple StringsStorage from Heap object.
    https://chromium.googlesource.com/v8/v8/+/a31320f59c911a277566d6c2fa0b0f2ac83e0748
    
    [cpu-profiler] Add a HandleScope to limit memory consumption.
    https://chromium.googlesource.com/v8/v8.git/+/3e9f8a4f635e2d946651d6a4df81378266f32dc9
    
    [cpu-profiler] Lazily create CPU profiler.
    https://chromium.googlesource.com/v8/v8/+/1426ea1d6d45be0b4d9476bdb5bf3f27cfe578a0
    
    [cpu-profiler] turn several std::map's into unordered_map's.
    https://chromium.googlesource.com/v8/v8/+/3ed5dfb8a3cbc7aa0017bd01c2fdd6227485b8ad
    
    [cpu-profiler] Eagerly delete not used CodeEntry'es
    https://chromium.googlesource.com/v8/v8.git/+/c6c28f7a412a88df12055e953630a9e93cc64d49
    
    [cpu-profiler] Move bailout reason into rare_info struct
    https://chromium.googlesource.com/v8/v8.git/+/29ea4d1ef5360e71c61ecf8db6a5a0a0c3391fd1
    
    [cpu-profiler] Save space in the SourcePositionTable by using a vector.
    https://chromium.googlesource.com/v8/v8.git/+/1cb19f0e0a93adbac8c11bc906f951bd8098722d
    
    [cpu-profiler] Only store deopt inline frames for functions that need it
    https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b
    
    [cpu-profiler] Add a new profiling mode with a more detailed call tree.
    https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77
    
    [cpu-profiler] Reuse free slots in code_entries_
    https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a
    
    [cpu-profiler] Use instruction start as the key for the CodeMap
    https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66
    
    [cpu-profiler] Add flag to always generate accurate line info.
    https://chromium.googlesource.com/v8/v8/+/56baf56790de439b3f69e887e94beb3b301ed77c
    
    [cpu-profiler] Turn on detailed line info for optimized code
    https://chromium.googlesource.com/v8/v8/+/84894ce6d2af7feb9e1f5574409355120887326c
    
    [cpu-profiler] Separate the flags for generating extra line information
    https://chromium.googlesource.com/v8/v8/+/30ff6719db441cc7ef220d449970cc169067e256
    
    Backport-PR-URL: #21558
    PR-URL: #21558
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    psmarshall authored and BethGriggs committed Oct 12, 2018
    Copy the full SHA
    48f31bd View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2018

  1. build: define NOMINMAX on windows

    Build with `-DNOMINMAX` to stop `<windows.h>` from defining macros that
    conflict with `std::min()` and `std::max()`.
    
    Backport-PR-URL: #22731
    PR-URL: #18216
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    
    PR-URL: #22731
    bnoordhuis authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    ca8d4e3 View commit details
    Browse the repository at this point in the history
  2. src: fix fs.write() externalized string handling

    * Respect `encoding` argument when the string is externalized.
    
    * Copy the string when the write request can outlive the externalized
      string.
    
    This commit removes `StringBytes::GetExternalParts()` because it is
    fundamentally broken.
    
    Fixes: #18146
    Fixes: #22728
    Backport-PR-URL: #22731
    PR-URL: #18216
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    b67bf38 View commit details
    Browse the repository at this point in the history
  3. test: fix assertion argument order

    Fix the assertion argument order so that it will report "actual" and
    "expected" correctly when the test fails.
    
    Ref: #19263
    
    PR-URL: #19264
    Refs: #19263
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    4bcdc1b View commit details
    Browse the repository at this point in the history
  4. doc: improve style guide text

    * Specify that personal pronouns are OK in colloquial documentation
      rather than just pronouns. Pronouns are OK in all documentation. (For
      example, "it" is a pronoun and is acceptable in all types of
      documentation.) Specify "personal pronouns" for clarity.
    * more colloquial -> colloquial
    * like -> such as
    * Remove "mass nouns" as no mass nouns are given as examples. Plural
      nouns seems to be what was meant, so use that instead.
    * Repeat "gender-neutral" to make it clear that it refers to both terms
      and not merely the first term it appears before.
    * Remove "non-comprehensive examples". Examples are, by definition,
      non-comprehensive. No need to announce that the examples are examples.
      It is obvious.
    
    PR-URL: #19269
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    459690a View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    fe3836a View commit details
    Browse the repository at this point in the history
  6. http2: fix ping duration calculation

    Backport-PR-URL: #22850
    PR-URL: #19956
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    5862d03 View commit details
    Browse the repository at this point in the history
  7. doc: close event does not take arguments

    Explicitly added in the docs that the close event does not expect
    any arguments when invoked.
    
    Fixes: #20018
    
    Backport-PR-URL: #22850
    PR-URL: #20031
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    indranil authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    c0d1423 View commit details
    Browse the repository at this point in the history
  8. http2: refactor how trailers are done

    Rather than an option, introduce a method and an event...
    
    ```js
    server.on('stream', (stream) => {
      stream.respond(undefined, { waitForTrailers: true });
      stream.on('wantTrailers', () => {
        stream.sendTrailers({ abc: 'xyz'});
      });
      stream.end('hello world');
    });
    ```
    
    This is a breaking change in the API such that the prior
    `options.getTrailers` is no longer supported at all.
    Ordinarily this would be semver-major and require a
    deprecation but the http2 stuff is still experimental.
    
    Backport-PR-URL: #22850
    PR-URL: #19959
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    fa5a380 View commit details
    Browse the repository at this point in the history
  9. test: remove message from strictEqual assertions

    When an AssertionError happens, the value of headers['set-cookie']
    is not reported. That information is useful for debugging.
    Hence removed the value passed as the message in deepStrictEqual
    assertions of test/parallel/test-http2-cookies.js
    
    Backport-PR-URL: #22850
    PR-URL: #20174
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    bryancr89 authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    887417e View commit details
    Browse the repository at this point in the history
  10. doc,http2: add parameters for Http2Session:connect event

    Add parameters for the callback for the Http2Session:connect event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    PR-URL: #20193
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    af5cebb View commit details
    Browse the repository at this point in the history
  11. test: add strictEqual method to assert

    Adds strictEqual method to assert on stream.session.alpnProtocol
    to verify expected value 'h2'. This changes 'h2' from an assertion
    error message to the value expected from stream.session.alpnProtocol.
    
    Backport-PR-URL: #22850
    PR-URL: #20189
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    9christine authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    5abe246 View commit details
    Browse the repository at this point in the history
  12. doc: add parameters for Http2Session:error event

    Add parameters for the callback for the Http2Session:error event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    PR-URL: #20206
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    b32cf8f View commit details
    Browse the repository at this point in the history
  13. doc: improve docs for Http2Session:frameError

    Improve documentation regarding the callback parameters for the
    frameError event for instances of Http2Session, making it inline with
    the currently accepted structure, like the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    PR-URL: #20236
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    98ed30f View commit details
    Browse the repository at this point in the history
  14. http: added aborted property to request

    Backport-PR-URL: #22850
    PR-URL: #20094
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ronag authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    1edd7f6 View commit details
    Browse the repository at this point in the history
  15. test: removed assert.strictEqual message

    Backport-PR-URL: #22850
    PR-URL: #20223
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    kailashyogeshwar85 authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    c7ba556 View commit details
    Browse the repository at this point in the history
  16. doc: improve parameters for Http2Session:goaway event

    Improve parameters for the callback for the Http2Session:connect event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    1a6a054 View commit details
    Browse the repository at this point in the history
  17. http2: fix responses to long payload reqs

    When a request with a long payload is received, http2 does
    not allow a response that does not process all the incoming
    payload. Add a conditional Http2Stream.close call that runs
    only if the user hasn't attempted to read the stream.
    
    Backport-PR-URL: #22850
    PR-URL: #20084
    Fixes: #20060
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    41dca9e View commit details
    Browse the repository at this point in the history
  18. http2: fix ping callback

    In case there was no ack, the callback would have returned
    more than the error as return value. This makes sure that is not
    the case anymore.
    
    Backport-PR-URL: #22850
    PR-URL: #20311
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    28a6e59 View commit details
    Browse the repository at this point in the history
  19. test: verify arguments length in common.expectsError

    If `common.expectsError` is used as a callback, it will now also
    verify that there is only one argument (the expected error).
    
    Backport-PR-URL: #22850
    PR-URL: #20311
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    aa341d1 View commit details
    Browse the repository at this point in the history
  20. doc: add parameters for settings events

    Add parameters for the callback for the Http2Session:localSettings event
    and Http2Session:remoteSettings event inline with the pattern in the
    rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    PR-URL: #20371
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    41e8931 View commit details
    Browse the repository at this point in the history
  21. http2: reduce require calls in http2/core

    This commit removes unnecesary requires of http and internal/util in
    http2/core.js
    
    Backport-PR-URL: #22850
    PR-URL: #20422
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    danbev authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    74192dd View commit details
    Browse the repository at this point in the history
  22. http2: rename http2_state class to Http2State

    This commit renames the http2_state class to follow the guidelines in
    CPP_STYLE_GUIDE.md.
    
    Backport-PR-URL: #22850
    PR-URL: #20423
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    395ce84 View commit details
    Browse the repository at this point in the history
  23. doc: add parameters for Http2Session:stream event

    Add parameters for the callback for the Http2Session:stream event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    PR-URL: #20547
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    448922d View commit details
    Browse the repository at this point in the history
  24. test: fix flaky http2-flow-control test

    Backport-PR-URL: #22850
    PR-URL: #20556
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    c30a8f4 View commit details
    Browse the repository at this point in the history
  25. doc: add params for ClientHttp2Session:altsvc

    Add parameters for the callback for the ClientHttp2Session:altsvc
    event inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    PR-URL: #20598
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    77acef4 View commit details
    Browse the repository at this point in the history
  26. doc: add parameters for Http2Stream:error event

    Add parameters for the callback for the Http2Stream:error event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    Backport-PR-URL: #22850
    PR-URL: #20610
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    4f00354 View commit details
    Browse the repository at this point in the history
  27. http2: avoid bind and properly clean up in compat

    Backport-PR-URL: #22850
    PR-URL: #20374
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    ronag authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    d1b7825 View commit details
    Browse the repository at this point in the history
  28. test: improve reliability of http2-session-timeout

    Check actual expired time rather than relying on a number of calls to
    setTimeout() in test-http2-session-timeout more robust.
    
    Backport-PR-URL: #22850
    PR-URL: #20692
    Fixes: #20628
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    e5f8b08 View commit details
    Browse the repository at this point in the history
  29. http2: fix end without read

    Adjust http2 behaviour to allow ending a stream even after some
    data comes in (when the user has no intention of reading that
    data). Also correctly end a stream when trailers are present.
    
    Backport-PR-URL: #22850
    PR-URL: #20621
    Fixes: #20060
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    b0c92ca View commit details
    Browse the repository at this point in the history
  30. net,http2: refactor _write and _writev

    Refactor writable part (the _write and _writev functions) in net.Socket
    and http2.Http2Stream classes.
    Also involves adding a generic "WriteGeneric" method to the Http2Stream
    class based on net.Socket._writeGeneric, but behind a symbol.
    
    Backport-PR-URL: #22850
    PR-URL: #20643
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ryzokuken authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    b0e3ce9 View commit details
    Browse the repository at this point in the history
  31. doc: fix typo in http2.md

    Backport-PR-URL: #22850
    PR-URL: #20843
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    kakts authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    11a63dd View commit details
    Browse the repository at this point in the history
  32. http2: fix several serious bugs

    Currently http2 does not properly submit GOAWAY frames when a session
    is being destroyed. It also doesn't properly handle when the other
    party severs the connection after sending a GOAWAY frame, even though
    it should.
    
    Edge, IE & Safari are currently unable to handle empty TRAILERS
    frames despite them being correctly to spec. Instead send an empty
    DATA frame with END_STREAM flag in those situations.
    
    Fix and adjust several flaky and/or incorrect tests.
    
    Backport-PR-URL: #22850
    PR-URL: #20772
    Fixes: #20705
    Fixes: #20750
    Fixes: #20850
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    0a6672f View commit details
    Browse the repository at this point in the history
  33. test: fix flaky http2-session-unref

    It's possible for the connections to take too long and since the server
    is already unrefed, the process will just exit. Instead adjust the test
    so that server unref only happens after all sessions have been
    successfuly established and unrefed. That still tests the same condition
    but will not fail under load.
    
    Backport-PR-URL: #22850
    PR-URL: #20772
    Fixes: #20705
    Fixes: #20750
    Fixes: #20850
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    5d29e2c View commit details
    Browse the repository at this point in the history
  34. http2: delay closing stream

    Delay automatically closing the stream with setImmediate in order
    to allow any pushStreams to be sent first.
    
    Backport-PR-URL: #22850
    PR-URL: #20997
    Fixes: #20992
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    91be1dc View commit details
    Browse the repository at this point in the history
  35. http2: force through RST_STREAM in destroy

    If still needed, force through RST_STREAM in Http2Stream#destroy
    calls, so that nghttp2 can wrap up properly and doesn't continue
    trying to read & write data to the stream.
    
    Backport-PR-URL: #22850
    PR-URL: #21016
    Fixes: #21008
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    b22266c View commit details
    Browse the repository at this point in the history
  36. test: minor adjustments to test-http2-respond-file

    Backport-PR-URL: #22850
    PR-URL: #21098
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    addaleax authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    322f39d View commit details
    Browse the repository at this point in the history
  37. http2: fix premature destroy

    Check stream._writableState.finished instead of stream.writable
    as the latter can lead to premature calls to destroy and dropped
    writes on busy processes.
    
    Backport-PR-URL: #22850
    PR-URL: #21051
    Fixes: #20750
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    3c8c53f View commit details
    Browse the repository at this point in the history
  38. http2: safer Http2Session destructor

    It's hypothetically (and with certain V8 flags) possible for the session
    to be garbage collected before all the streams are. In that case, trying
    to remove the stream from the session will lead to a segfault due to
    attempting to access no longer valid memory. Fix this by unsetting the
    session on any streams still around when destroying.
    
    Backport-PR-URL: #22850
    PR-URL: #21194
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    0a8d086 View commit details
    Browse the repository at this point in the history
  39. http2: fix memory leak for uncommon headers

    Fix a memory leak that occurs with header names that are
    short and not present in the static table of default headers.
    
    Backport-PR-URL: #22850
    PR-URL: #21336
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    0f3e650 View commit details
    Browse the repository at this point in the history
  40. http2: fix memory leak when headers are not emitted

    When headers are not emitted to JS, e.g. because of an error
    before that could happen, we currently still have the vector of
    previously received headers lying around, each one holding
    a reference count of 1.
    
    To fix the resulting memory leak, release them in the `Http2Stream`
    destructor.
    
    Also, clear the vector of headers once they have been emitted –
    there’s not need to keep it around, wasting memory.
    
    Backport-PR-URL: #22850
    PR-URL: #21373
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    e9e4f43 View commit details
    Browse the repository at this point in the history
  41. http2: track memory allocated by nghttp2

    Provide a custom memory allocator for nghttp2, and track
    memory allocated by the library with it.
    
    This makes the used-memory-per-session estimate more
    accurate, and allows us to track memory leaks either
    in nghttp2 itself or, more likely, through faulty
    usage on our end.
    
    It also allows us to make the per-session memory limit
    more accurate in the future; currently, we are not
    handling this in an ideal way, and instead let nghttp2
    allocate what it wants, even if that goes over our limit.
    
    Backport-PR-URL: #22850
    PR-URL: #21374
    Refs: #21373
    Refs: #21336
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    20b72fc View commit details
    Browse the repository at this point in the history
  42. doc: Improve doc for Http2 headers object

    Add more details regarding processing and data type of incoming
    headers in Http2.
    
    Backport-PR-URL: #22850
    PR-URL: #21296
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Flarna authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    4228141 View commit details
    Browse the repository at this point in the history
  43. http2: pass incoming set-cookie header as array

    Incoming set-cookie headers should be passed to user as array like in
    http module.
    
    Besides improving compatibility between http and http2 it avoids the
    need to check if the type is an array or not in user code.
    
    Backport-PR-URL: #22850
    PR-URL: #21360
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Flarna authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    1cdf93e View commit details
    Browse the repository at this point in the history
  44. doc: fix http2stream.pushStream error doc

    The old error code `ERR_HTTP2_STREAM_CLOSED` was removed in commit
    0babd18 (pull request #17406), and the
    testcase for http2stream.pushStream was changed accordingly, but the
    documentation change was overlooked.
    
    This commit fixes it and aligns the documentation with the testcase.
    
    This is a part of the fixes hinted by #21470, which includes some tests
    for error codes usage and documentation and enforces a stricter format.
    
    Refs: #21470
    Refs: #17406
    Backport-PR-URL: #22850
    PR-URL: #21487
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ChALkeR authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    2116ace View commit details
    Browse the repository at this point in the history
  45. http2: order declarations in core.js

    Order declarations:
    
    * public modules in alphabetical order
    * internal modules in alphabetical order
    * process.binding() calls in alphabetical order
    * exports in alphabetical order
    
    Backport-PR-URL: #22850
    PR-URL: #21689
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    071a022 View commit details
    Browse the repository at this point in the history
  46. errors: fix undefined HTTP2 and tls errors

    Includes implementation of tls, HTTP2 error with documentation.
    
    Backport-PR-URL: #22850
    PR-URL: #21564
    Refs: #21440
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    thatshailesh authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    57618aa View commit details
    Browse the repository at this point in the history
  47. http2: remove waitTrailers listener after closing a stream

    When `writeHeader` of `Http2ServerResponse` instance are called with
    204, 205 and 304 status codes an underlying stream closes.
    If call `end` method after sending any of these status codes it will
    cause an error `TypeError: Cannot read property 'Symbol(trailers)' of
    undefined` because a reference to `Http2ServerResponse` instance
    associated with Http2Stream already was deleted.
    The closing of stream causes emitting `waitTrailers` event and, when
    this event handles inside `onStreamTrailerReady` handler, there is
    no reference to Http2ServerResponse instance.
    
    Fixes: #21740
    Backport-PR-URL: #22850
    PR-URL: #21764
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    RidgeA authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    e5175e6 View commit details
    Browse the repository at this point in the history
  48. doc: add missing require to example in http2.md

    Backport-PR-URL: #22850
    PR-URL: #21858
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    kevinsimper authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    32bfd7e View commit details
    Browse the repository at this point in the history
  49. http2: remove unused nghttp2 error list

    Remove a list of HTTP2 errors as well as `nghttp2_errname()`
    that converted an integer nghttp2 error code to a string
    representation.
    
    We already use `nghttp2_strerror()` for this, which
    is provided by nghttp2 returns a better error string anyway.
    
    Backport-PR-URL: #22850
    PR-URL: #21827
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    745e1e6 View commit details
    Browse the repository at this point in the history
  50. http2: release request()'s "connect" event listener after it runs

    The `Http2Session#request()` method internally listens to the "connect"
    event if the session has not yet established a connection so that the
    actual request can be sent after the connection has been established.
    
    This commit removes the event listener after it runs and carries out
    the request and is no longer needed. In practice this shouldn't affect
    the behavior of the session object since the "connect" event fires only
    once anyway, but removing the listener releases its references. The
    rest of this class subscribes to the "connect" event with `once`
    instead of `on` as well.
    
    Tested by adding a new test that ensures `Http2Session#request()` is
    called before the connection is established, indicated by a "connect"
    listener that is run. The test also ensures all "connect" listeners are
    removed after the connection is established.
    
    Backport-PR-URL: #22850
    PR-URL: #21916
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    ide authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    d602c7a View commit details
    Browse the repository at this point in the history
  51. test: refactor test-http2-compat-serverresponse-finished.js

    Backport-PR-URL: #22850
    PR-URL: #21929
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    antsmartian authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    dcf04dc View commit details
    Browse the repository at this point in the history
  52. test: improve reliability in http2-session-timeout

    Use `setImmediate()` instead of `setTimeout()` to improve robustness of
    test-http2-session-timeout.
    
    Fixes: #20628
    
    Backport-PR-URL: #22850
    PR-URL: #22026
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    7ea08ee View commit details
    Browse the repository at this point in the history
  53. http2: remove streamError from docs

    `streamError` was removed quite some time ago but the docs and
    code comments weren't updated. Fix that.
    
    Fixes: #20211
    
    Backport-PR-URL: #22850
    PR-URL: #22246
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    f2f66b4 View commit details
    Browse the repository at this point in the history
  54. doc: clarify http2 docs around class exports

    Backport-PR-URL: #22850
    PR-URL: #22247
    Fixes: #21434
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    3980ca1 View commit details
    Browse the repository at this point in the history
  55. http2: avoid race condition in OnHeaderCallback

    Fixes: #21416
    
    Backport-PR-URL: #22850
    PR-URL: #22256
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    5c3edd3 View commit details
    Browse the repository at this point in the history
  56. test: add test-http2-large-file sequential test

    Refs: #19141
    
    Backport-PR-URL: #22850
    PR-URL: #22254
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    b66cba0 View commit details
    Browse the repository at this point in the history
  57. http2: explicitly disallow nested push streams

    Fixes: #19095
    
    Backport-PR-URL: #22850
    PR-URL: #22245
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    cc561cc View commit details
    Browse the repository at this point in the history
  58. http2: emit timeout on compat request and response

    v8.x Backport Note: The timeout has been increased to 10ms.
    
    Fixes: #20079
    
    Backport-PR-URL: #22850
    PR-URL: #22252
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    348cde0 View commit details
    Browse the repository at this point in the history
  59. doc: make createPushResponse() more detailled

    We don't know what will return when successful or failure for
    the callback of the function. So this commit makes it more detailled.
    
    Backport-PR-URL: #22850
    PR-URL: #22366
    Refs: #22322
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    MaleDong authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    3fe9293 View commit details
    Browse the repository at this point in the history
  60. doc: simplify http2 wording and formatting

    Remove `It is important to note that` and italics from `waitForTrailers`
    sentences.
    
    Backport-PR-URL: #22850
    PR-URL: #22541
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    d0be932 View commit details
    Browse the repository at this point in the history
  61. http2: throw better error when accessing unbound socket proxy

    Fixes: #22268
    
    Backport-PR-URL: #22850
    PR-URL: #22486
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    6a396ff View commit details
    Browse the repository at this point in the history
  62. deps: update to nghttp2 1.33.0

    Refs: https://github.com/nghttp2/nghttp2/releases/tag/v1.33.0
    
    Backport-PR-URL: #22850
    PR-URL: #22649
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    60f7bfa View commit details
    Browse the repository at this point in the history
  63. http2: don't expose the original socket through the socket proxy

    Refs: #22486
    
    Backport-PR-URL: #22850
    PR-URL: #22650
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    szmarczak authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    805bf40 View commit details
    Browse the repository at this point in the history
  64. doc: document http2 timeouts

    New default timeout values of "2 minutes" were added into documentation
    inside 2 classes under "Event: 'timeout'":
    1) Class: Http2SecureServer
    2) Class: Http2Server
    
    New sections for `.setTimeout()` method were added inside
    `Http2SecureServer` & `Http2Server` docs.
    
    Backport-PR-URL: #22850
    PR-URL: #22798
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sagitsofan authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    bae7c60 View commit details
    Browse the repository at this point in the history
  65. http2: add http2stream.endAfterHeaders property

    Indicates is the END_STREAM flag was set on the received HEADERS frame
    
    Backport-PR-URL: #22850
    PR-URL: #22843
    Fixes: #22497
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    2de17ea View commit details
    Browse the repository at this point in the history
  66. http2: check if stream is not destroyed before sending trailers

    Fixes: #22855
    Backport-PR-URL: #22850
    PR-URL: #22896
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    9f79341 View commit details
    Browse the repository at this point in the history
  67. http2: add origin frame support

    v8.x Backport Note -- as V8 doesn't expose an overload of String::WriteOneByte
    in Node 8 that accepts an isolate argument, the Origins constructor has been
    changed to not accept an isolate.
    
    Backport-PR-URL: #22850
    PR-URL: #22956
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    49f44f3 View commit details
    Browse the repository at this point in the history
  68. http2: do not falsely emit 'aborted' on push

    A push stream should have its writable side closed upon receipt,
    to avoid emitting the 'aborted' event when the readable side
    is closed.
    
    Backport-PR-URL: #22850
    PR-URL: #22878
    Fixes: #22851
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    ca933ce View commit details
    Browse the repository at this point in the history
  69. http2: add ping event

    Add a `Http2Session` event whenever a non-ack `PING` is received.
    
    Fixes: #18514
    
    Backport-PR-URL: #22850
    PR-URL: #23009
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    10576d6 View commit details
    Browse the repository at this point in the history
  70. test: remove setImmediate from timeout test

    In test-http2-session-timeout, setImmediate() is used to wrap makeReq().
    makeReq() is asynchronous and setImmediate() is not necessary.
    
    Backport-PR-URL: #22850
    PR-URL: #23058
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    c0f8e49 View commit details
    Browse the repository at this point in the history
  71. test: improve debugging information for http2 test

    In test-http2-session-timeout, provide the number of requests that
    occurred when the test fails.
    
    Backport-PR-URL: #22850
    PR-URL: #23058
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    069fd79 View commit details
    Browse the repository at this point in the history
  72. http2: graduate from experimental

    Backport-PR-URL: #22850
    PR-URL: #22466
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and BethGriggs committed Oct 16, 2018
    Copy the full SHA
    18a2b3d View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. doc: update username and email

    PR-URL: #19338
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    hiroppy authored and BethGriggs committed Oct 17, 2018
    Copy the full SHA
    5b9af6e View commit details
    Browse the repository at this point in the history
  2. doc: fix minor issues in async_hooks.md

    * easily -> easy
    * was -> is
    * add a missing comma
    
    PR-URL: #19313
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and BethGriggs committed Oct 17, 2018
    Copy the full SHA
    9446bb6 View commit details
    Browse the repository at this point in the history
  3. build: do not cd on vcbuild help

    `vcbuild help` just outputs help info and exits.
    
    If a user calls this command not from a project root,
    the directory change can be unexpected and unwanted.
    
    PR-URL: #19291
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and BethGriggs committed Oct 17, 2018
    Copy the full SHA
    afcf059 View commit details
    Browse the repository at this point in the history
  4. doc: improve best practices in onboarding-extras

    PR-URL: #19315
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and BethGriggs committed Oct 17, 2018
    Copy the full SHA
    610297e View commit details
    Browse the repository at this point in the history
  5. src: add extractPromiseWrap function

    Currently PromiseHook extracts the PromiseWrap from a Local<Promise> in
    two places. This commit extracts that code into a function instead.
    
    PR-URL: #19340
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and BethGriggs committed Oct 17, 2018
    Copy the full SHA
    3ad10e5 View commit details
    Browse the repository at this point in the history
  6. src: fix indenting of wrap->EmitTraceEventBefore

    PR-URL: #19340
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and BethGriggs committed Oct 17, 2018
    Copy the full SHA
    042434f View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2018

  1. src: remove unused uv.h include from async_wrap.cc

    PR-URL: #19342
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    danbev authored and MylesBorins committed Oct 18, 2018
    Copy the full SHA
    9e8f4e5 View commit details
    Browse the repository at this point in the history
  2. test: fix flaky test-http2-settings-flood

    The test is unreliable on some Windows platforms in its current form.
    Make it more robust by using `setInterval()` to repeat the flooding
    until an error is triggered.
    
    Fixes: #18251
    
    PR-URL: #19349
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Trott authored and codebytere committed Oct 18, 2018
    Copy the full SHA
    b407060 View commit details
    Browse the repository at this point in the history
  3. src: make AsyncWrap constructors delegate

    Currently, there is an AsyncWrap constructor that is only used by
    PromiseWrap. This constructor has a body which is very similar
    to the other AsyncWrap constructor.
    
    This commit suggests updating the private constructor that is used
    by PromiseWrap and also have the second constructor delegate to this
    one to avoid the code duplication.
    
    PR-URL: #19366
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and codebytere committed Oct 18, 2018
    Copy the full SHA
    5b2f650 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. test: fix flaky test-http2-ping-flood

    The test is unreliable on some Windows platforms in its current form.
    Make it more robust by using `setInterval()` to repeat the flooding
    until an error is triggered.
    
    PR-URL: #19395
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BethGriggs committed Oct 26, 2018
    Copy the full SHA
    38ed6c2 View commit details
    Browse the repository at this point in the history
  2. test: refactor test-fs-readfile-tostring-fail

    The test uses both `assert()` and `assert.ok()`. Use just `assert.ok()`.
    
    Remove a comment that does not appear to match the code and does not
    seem to explain much beyond the bare code itself.
    
    PR-URL: #19404
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and BethGriggs committed Oct 26, 2018
    Copy the full SHA
    aba1ff2 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. test: skip failing tests for osx mojave

    Refs: #21679
    PR-URL: #23550
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    jnord99 authored and MylesBorins committed Oct 30, 2018
    Copy the full SHA
    9f15bc4 View commit details
    Browse the repository at this point in the history
  2. build: update arm64 minimum supported platform

    This is already true in practice.
    
    Backport-PR-URL: #23275
    PR-URL: #19164
    Fixes: nodejs/build#1164
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    gibfahn authored and BethGriggs committed Oct 30, 2018
    Copy the full SHA
    104fbc6 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2018

  1. deps: V8: cherry-pick 64-bit hash seed commits

    This serves as mitigation for the so-called HashWick vulnerability.
    
    Original commit messages:
    
      commit d5686a74d56fbb6985b22663ddadd66eb7b91519
        Author: Yang Guo <yangguo@chromium.org>
        Date: Mon Jul 16 11:19:42 2018
    
        Extend hash seed to 64 bits
    
        R=bmeurer@chromium.org, ulan@chromium.org
    
        Bug: chromium:680662
        Change-Id: I5e1486ad2a42db2998d5485a0c4e711378678e6c
        Reviewed-on: https://chromium-review.googlesource.com/1136034
        Reviewed-by: Marja Hölttä <marja@chromium.org>
        Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
        Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#54460}
    
      commit 3833fef57368c53c6170559ffa524c8c69f16ee5
        Author: Yang Guo <yangguo@chromium.org>
        Date: Thu Sep 20 11:43:13 2018
    
        Refactor integer hashing function names
    
        We now clearly differentiate between:
        - unseeded hash for 32-bit integers
        - unseeded hash for 64-bit integers
        - seeded hash for 32-bit integers
        - seeded hash for strings
    
        R=bmeurer@chromium.org
    
        Bug: chromium:680662
        Change-Id: I7459958c4158ee3501c962943dff8f33258bb5ce
        Reviewed-on: https://chromium-review.googlesource.com/1235973
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#56068}
    
      commit 95a979e02d7154e45b293261a6998c99d71fc238
        Author: Yang Guo <yangguo@chromium.org>
        Date: Thu Sep 20 14:34:48 2018
    
        Call into C++ to compute seeded integer hash
    
        R=bmeurer@chromium.org
    
        Bug: chromium:680662
        Change-Id: I8dace89d576dfcc5833fd539ce698a9ade1cb5a0
        Reviewed-on: https://chromium-review.googlesource.com/1235928
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#56091}
    
      commit 2c2af0022d5feb9e525a00a76cb15db9f3e38dba
        Author: Yang Guo <yangguo@chromium.org>
        Date: Thu Sep 27 16:37:57 2018
    
        Use 64-bit for seeded integer hashes
    
        R=petermarshall@chromium.org
    
        Bug: chromium:680662
        Change-Id: If48d1043dbe1e1bb695ec890c23e103a6cacf2d4
        Reviewed-on: https://chromium-review.googlesource.com/1244220
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Peter Marshall <petermarshall@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#56271}
    
    Refs: #23259
    
    PR-URL: #23274
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    hashseed authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    7ab253f View commit details
    Browse the repository at this point in the history
  2. deps: backport a8f6869 from upstream V8

    The upstream V8 commit a8f68691 was originally cherry-picked onto
    nodejs/node master as commit bb35752, then backported to v10.x-staging
    and released in Node.js v10.10.0 as 5e9ed6d. This commit cherry-picks
    that commit back to the v8.x-staging branch.
    
    Additionally this commit supports optional boolean argument to
    DisableBreak constructor.
    
    This allows a stack-allocated DisableBreak object to re-enable
    breakpoints temporarily, rather than always disabling them.
    
    This functionality anticipates an upstream change that will be
    introduced in V8 6.7.176:
    
    v8/v8@cc9736a
    
    Original commit message:
    
      [debug] Fully implement Debug::ArchiveDebug and Debug::RestoreDebug.
    
      I have a project that embeds V8 and uses a single `Isolate` from multiple
      threads. The program runs just fine, but sometimes the inspector doesn't
      stop on the correct line after stepping over a statement that switches
      threads behind the scenes, even though the original thread is restored by
      the time the next statement is executed.
    
      After some digging, I discovered that the `Debug::ArchiveDebug` and
      `Debug::RestoreDebug` methods, which should be responsible for
      saving/restoring this `ThreadLocal` information when switching threads,
      currently don't do anything.
    
      This commit implements those methods using MemCopy, in the style of other
      Archive/Restore methods in the V8 codebase.
    
      Related: https://groups.google.com/forum/#!topic/v8-users/_Qf2rwljRk8
    
      R=yangguo@chromium.org,jgruber@chromium.org
      CC=info@bnoordhuis.nl
    
      Bug: v8:7230
      Change-Id: Id517c873eb81cd53f7216c7efd441b956cf7f943
      Reviewed-on: https://chromium-review.googlesource.com/833260
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Reviewed-by: Yang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54902}
    
    PR-URL: #22714
    Refs: v8/v8@a8f6869
    Refs: #22122
    Refs: bb35752
    Refs: 5e9ed6d
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    benjamn authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    ce65d84 View commit details
    Browse the repository at this point in the history
  3. http: fix undefined error in parser event

    The current check for socket.server[kIncomingMessage] does not
    account for the possibility of a socket.server that doesn't
    have that property defined. Fix it.
    
    Backport-PR-URL: #22880
    PR-URL: #20029
    Fixes: #19231
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    apapirovski authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    e3bddee View commit details
    Browse the repository at this point in the history
  4. assert: add strict functionality export

    Requireing the strict version will allow to use `assert.equal`,
    `assert.deepEqual` and there negated counterparts to be used with
    strict comparison instead of using e.g. `assert.strictEqual`.
    
    The API is identical to the regular assert export and only differs
    in the way that all functions use strict compairson.
    
    Backport-PR-URL: #23223
    PR-URL: #17002
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    c6d94f8 View commit details
    Browse the repository at this point in the history
  5. assert: fix .throws operator

    assert.throws and assert.doesNotThrow set the operator to a
    internal function. That was by accident and originally the operator
    was undefined. This changes it to show "throws" or "doesNotThrow".
    
    Backport-PR-URL: #23223
    PR-URL: #17575
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    84948cf View commit details
    Browse the repository at this point in the history
  6. assert: use object argument in innerFail

    Right now it is difficult to know what argument stands for what
    property. By refactoring the arguments into a object it is clear
    what stands for what.
    
    Backport-PR-URL: #23223
    PR-URL: #17582
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    a42d072 View commit details
    Browse the repository at this point in the history
  7. assert: fix throws and doesNotThrow stack frames

    The stack frames from .throws and .doesNotThrow got included
    even though that was not intended.
    
    Backport-PR-URL: #23223
    PR-URL: #17703
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    c9d84b6 View commit details
    Browse the repository at this point in the history
  8. assert: improve assert.throws

    Throw a TypeError in case a error message is provided in the second
    argument and a third argument is present as well.
    This is clearly a mistake and should not be done.
    
    Backport-PR-URL: #23223
    PR-URL: #17585
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    147aeed View commit details
    Browse the repository at this point in the history
  9. assert: .throws accept objects

    From now on it is possible to use a validation object in throws
    instead of the other possibilites.
    
    Backport-PR-URL: #23223
    PR-URL: #17584
    Refs: #17557
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    f2af930 View commit details
    Browse the repository at this point in the history
  10. assert: fix strict regression

    Using `assert()` or `assert.ok()` resulted in a error since a
    refactoring.
    
    Refs: #17582
    
    Backport-PR-URL: #23223
    PR-URL: #17903
    Refs: #17582
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    562787e View commit details
    Browse the repository at this point in the history
  11. assert: fix throws trace

    The current stack trace thrown in case `assert.throws(fn, object)`
    is used did not filter the stack trace. This fixes it.
    
    Backport-PR-URL: #23223
    PR-URL: #18595
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    BridgeAR authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    18071db View commit details
    Browse the repository at this point in the history
  12. http2: simplify timeout tracking

    There’s no need to reset the chunk counter for every write.
    
    Backport-PR-URL: #23774
    PR-URL: #19206
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Oct 31, 2018
    Copy the full SHA
    7f34c27 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2018

  1. assert: add rejects() and doesNotReject()

    Implement asynchronous equivalent for assert.throws() and
    assert.doesNotThrow().
    
    Backport-PR-URL: #24019
    PR-URL: #18023
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    feugy authored and MylesBorins committed Nov 4, 2018
    Copy the full SHA
    3babc5b View commit details
    Browse the repository at this point in the history
  2. test: ensure failed assertions cause build to fail

    This updates the test in `test/parallel/test-assert-async.js` to add an
    assertion that the Promises used in the test end up fulfilled.
    Previously, if an assertion failure occurred, the Promises would have
    rejected and a warning would have been logged, but the test would still
    have exit code 0.
    
    Backport-PR-URL: #24019
    PR-URL: #19650
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    not-an-aardvark authored and MylesBorins committed Nov 4, 2018
    Copy the full SHA
    3cd4462 View commit details
    Browse the repository at this point in the history
  3. assert: ensure .rejects() disallows sync throws

    This updates `assert.rejects()` to disallow any errors that are thrown
    synchronously from the given function. Previously, throwing an error
    would cause the same behavior as returning a rejected Promise.
    
    Fixes: #19646
    Backport-PR-URL: #24019
    PR-URL: #19650
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    not-an-aardvark authored and MylesBorins committed Nov 4, 2018
    Copy the full SHA
    0d241ba View commit details
    Browse the repository at this point in the history
  4. async_hooks: add missing async_hooks destroys in AsyncReset

    This adds missing async_hooks destroy calls for sockets (in
    _http_agent.js) and HTTP parsers. We need to emit a destroy in
    AsyncWrap#AsyncReset before assigning a new async_id when the instance
    has already been in use and is being recycled, because in that case, we
    have already emitted an init for the "old" async_id.
    
    This also removes a duplicated init call for HTTP parser: Each time a
    new parser was created, AsyncReset was being called via the C++ Parser
    class constructor (super constructor AsyncWrap) and also via
    Parser::Reinitialize.
    
    Backport-PR-URL: #23410
    PR-URL: #23272
    Fixes: #19859
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    basti1302 authored and MylesBorins committed Nov 4, 2018
    Copy the full SHA
    26d145a View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2018

  1. deps: upgrade libuv to 1.20.0

    Notable changes:
    - uv_fs_copyfile() adds support for copy-on-write behavior.
    - uv_relative_path() now uses the long directory name
      for handle->dirw.
    - File operations on files > 2 GB on 32-bit platforms are
      working again.
    - uv_fs_fchmod() on Windows works on files with the
      Archive flag cleared.
    
    Backport-PR-URL: #24103
    Fixes: #19170
    Fixes: #19455
    Fixes: #12803
    PR-URL: #19758
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    a1b94d3 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade to libuv 1.20.2

    Backport-PR-URL: #24103
    PR-URL: #20129
    Fixes: #20112
    Fixes: #19903
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    2307653 View commit details
    Browse the repository at this point in the history
  3. deps: upgrade to libuv 1.20.3

    Backport-PR-URL: #24103
    Refs: #19377
    PR-URL: #20585
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    c54f4bc View commit details
    Browse the repository at this point in the history
  4. process: avoid using the same fd for ipc and stdio

    There is already a check in place to prevent stdin and the IPC
    channel from sharing a file descriptor. This commit adds a
    similar check to stdout and stderr.
    
    Backport-PR-URL: #24103
    Refs: libuv/libuv#1851
    Refs: libuv/libuv#1897
    PR-URL: #21466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    0187e3b View commit details
    Browse the repository at this point in the history
  5. deps: upgrade to libuv 1.21.0

    Notable changes:
    
    - Building via cmake is now supported.
      PR-URL: libuv/libuv#1850
    - Stricter checks have been added to prevent watching the same
      file descriptor multiple times.
      PR-URL: libuv/libuv#1851
      Refs: #3604
    - An IPC deadlock on Windows has been fixed.
      PR-URL: libuv/libuv#1843
      Fixes: #9706
      Fixes: #7657
    - uv_fs_lchown() has been added.
      PR-URL: libuv/libuv#1826
      Refs: #19868
    - uv_fs_copyfile() sets errno on error.
      PR-URL: libuv/libuv#1881
      Fixes: #21329
    - uv_fs_fchmod() supports -A files on Windows.
      PR-URL: libuv/libuv#1819
      Refs: #12803
    
    Backport-PR-URL: #24103
    PR-URL: #21466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    11cb09b View commit details
    Browse the repository at this point in the history
  6. deps: upgrade to libuv 1.22.0

    Backport-PR-URL: #24103
    PR-URL: #21731
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    e3d08af View commit details
    Browse the repository at this point in the history
  7. deps: upgrade to libuv 1.23.0

    Notable changes:
    - Restores compatibility with the old IPC protocol.
    - Adds uv_open_osfhandle().
    - Adds uv_os_{get,set}priority().
    
    Backport-PR-URL: #24103
    PR-URL: #22365
    Fixes: #21671
    Fixes: #15433
    Refs: #21675
    Refs: nodejs/node-addon-api#304
    Refs: nodejs/abi-stable-node#318
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    d9d541c View commit details
    Browse the repository at this point in the history
  8. deps: upgrade to libuv 1.23.1

    Backport-PR-URL: #24103
    PR-URL: #22997
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    b38190e View commit details
    Browse the repository at this point in the history
  9. test: read() on dir on AIX does not return EISDIR

    An upcoming change in libuv will remove the artificial EISDIR error.
    Update the test to reflect that.
    
    Refs: libuv/libuv#2025
    
    Backport-PR-URL: #24103
    PR-URL: #23330
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    bnoordhuis authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    dbc7d9b View commit details
    Browse the repository at this point in the history
  10. deps: upgrade to libuv 1.23.2

    Backport-PR-URL: #24103
    PR-URL: #23336
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Fixes: #23043
    Fixes: #21773
    Fixes: #16601
    Fixes: #22999
    Fixes: #23219
    Fixes: #23066
    Fixes: #23067
    Fixes: #23089
    cjihrig authored and MylesBorins committed Nov 11, 2018
    Copy the full SHA
    62dd1d7 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2018

  1. deps: V8: partially revert d868eb7

    d868eb7 ended up being an inadvertant ABI change. Remove the call to
    CheckMemoryPressure from the header itself.
    
    PR-URL: #24499
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    ofrobots authored and MylesBorins committed Nov 20, 2018
    Copy the full SHA
    5245d6a View commit details
    Browse the repository at this point in the history
  2. src,deps: add ABI safe use of CheckMemoryPressure

    CheckMemoryPressure cannot be used ABI-safely from v8.h. Add a alternate
    implementation of AdjustAmountOfExternalAllocatedMemory and then use
    that from Node.
    
    PR-URL: #24499
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    ofrobots authored and MylesBorins committed Nov 20, 2018
    Copy the full SHA
    0157e3e View commit details
    Browse the repository at this point in the history
  3. 2018-11-20, Version 8.13.0 'Carbon' (LTS)

    Notable changes:
    
    * **assert**:
      - backport some assert commits (Ruben Bridgewater)
        [#23223](#23223)
    * **deps**:
      - upgrade to libuv 1.23.2 (cjihrig)
        [#23336](#23336)
      - V8: cherry-pick 64-bit hash seed commits (Yang Guo)
        [#23274](#23274)
    * **http**:
      - added aborted property to request (Robert Nagy)
        [#20094](#20094)
    * **http2**:
      - graduate from experimental (James M Snell)
        [#22466](#22466)
    
    PR-URL: #23974
    BethGriggs authored and MylesBorins committed Nov 20, 2018
    Copy the full SHA
    90c7bfa View commit details
    Browse the repository at this point in the history