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

http2: connect promisify customization, other improvements #15207

Closed
wants to merge 2 commits into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Sep 5, 2017

custom promisify for http2.connect() and other miscellaneous improvements .

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

http2

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Sep 5, 2017
int32_t id = (frame->hd.type == NGHTTP2_PUSH_PROMISE) ?
frame->push_promise.promised_stream_id :
frame->hd.stream_id;
frame->push_promise.promised_stream_id :
Copy link
Contributor

@mscdex mscdex Sep 5, 2017

Choose a reason for hiding this comment

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

These two lines are only indented two spaces vs. the four spaces for the ternary changes up above. I don't have a preference as to how many spaces it should be, but it should be consistent.

@mscdex mscdex added the http2 Issues or PRs related to the http2 subsystem. label Sep 5, 2017
@BridgeAR
Copy link
Member

BridgeAR commented Sep 9, 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

jasnell added a commit that referenced this pull request Sep 13, 2017
... and some other cleanups

PR-URL: #15207
Reviewed-By: Matteo Collina <[email protected]>
@jasnell
Copy link
Member Author

jasnell commented Sep 13, 2017

Landed in 9d9552f

@jasnell jasnell closed this Sep 13, 2017
addaleax pushed a commit to addaleax/ayo that referenced this pull request Sep 17, 2017
... and some other cleanups

PR-URL: nodejs/node#15207
Reviewed-By: Matteo Collina <[email protected]>
jasnell added a commit that referenced this pull request Sep 20, 2017
... and some other cleanups

PR-URL: #15207
Reviewed-By: Matteo Collina <[email protected]>
Qard pushed a commit to Qard/ayo that referenced this pull request Sep 21, 2017
... and some other cleanups

PR-URL: nodejs/node#15207
Reviewed-By: Matteo Collina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. http2 Issues or PRs related to the http2 subsystem. 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.

6 participants