Skip to content

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Dec 19, 2017

Make Http2Settings an AsyncWrap.

Refs: #17746

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

http2

@nodejs-github-bot nodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Dec 19, 2017
@jasnell jasnell mentioned this pull request Dec 19, 2017
11 tasks
@jasnell
Copy link
Member Author

jasnell commented Dec 21, 2017

ping @mcollina @nodejs/http2

@jasnell jasnell force-pushed the http2-settings-async-req branch from 6596369 to 2ca60ac Compare December 21, 2017 20:11
@jasnell
Copy link
Member Author

jasnell commented Dec 21, 2017

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

cb(err, this.localSettings, duration);
}
if (ack)
this.emit('localSettings', this.localSettings);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would at least so a debug if ack is null.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just reworked the entire function a bit to clean it up more and add the debug output.

@jasnell
Copy link
Member Author

jasnell commented Dec 22, 2017

@jasnell jasnell force-pushed the http2-settings-async-req branch from 2f4808b to 880bbee Compare December 22, 2017 18:01
@jasnell
Copy link
Member Author

jasnell commented Dec 22, 2017

@jasnell jasnell force-pushed the http2-settings-async-req branch from bc4a14a to 788c847 Compare December 22, 2017 20:10
@jasnell
Copy link
Member Author

jasnell commented Dec 22, 2017

@jasnell
Copy link
Member Author

jasnell commented Dec 22, 2017

CI is good

jasnell added a commit that referenced this pull request Dec 22, 2017
@jasnell
Copy link
Member Author

jasnell commented Dec 22, 2017

Landed in bbaea12

@jasnell jasnell closed this Dec 22, 2017
MylesBorins pushed a commit to jasnell/node that referenced this pull request Jan 9, 2018
MylesBorins pushed a commit that referenced this pull request Jan 9, 2018
Backport-PR-URL: #18050
PR-URL: #17763
Refs: #17746
Reviewed-By: Matteo Collina <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jan 10, 2018
MylesBorins pushed a commit that referenced this pull request Jan 10, 2018
Backport-PR-URL: #18050
PR-URL: #17763
Refs: #17746
Reviewed-By: Matteo Collina <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request May 1, 2018
MylesBorins pushed a commit that referenced this pull request May 2, 2018
Backport-PR-URL: #18050
Backport-PR-URL: #20456
PR-URL: #17763
Refs: #17746
Reviewed-By: Matteo Collina <[email protected]>
@MylesBorins MylesBorins mentioned this pull request May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants