Skip to content

Conversation

addaleax
Copy link
Member

As discussed in the review for #14239, these buffers should be per-Environment rather than static.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

http2

@addaleax addaleax requested a review from jasnell August 10, 2017 16:02
@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 Aug 10, 2017
@addaleax
Copy link
Member Author

@addaleax addaleax added the http2 Issues or PRs related to the http2 subsystem. label Aug 10, 2017
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

Woo! thank you! (it's always a happy day when someone takes something off your todo list ;-) ...). This LGTM.

Another possible approach is to make these buffers per-Http2Session but given how they're used, per-Environment works well too. Love the additional code cleanups included

As discussed in the review for
nodejs#14239, these buffers should
be per-Environment rather than static.

PR-URL: nodejs#14744
Reviewed-By: James M Snell <[email protected]>
@addaleax
Copy link
Member Author

Landed in e46ae99, 5ea25d2

@addaleax addaleax closed this Aug 13, 2017
@addaleax addaleax deleted the http2-buffers branch August 13, 2017 15:25
@addaleax addaleax merged commit 5ea25d2 into nodejs:master Aug 13, 2017
jasnell pushed a commit to jasnell/node that referenced this pull request Aug 13, 2017
As discussed in the review for
nodejs#14239, these buffers should
be per-Environment rather than static.

PR-URL: nodejs#14744
Reviewed-By: James M Snell <[email protected]>
jasnell pushed a commit to jasnell/node that referenced this pull request Aug 13, 2017
addaleax added a commit that referenced this pull request Aug 14, 2017
As discussed in the review for
#14239, these buffers should
be per-Environment rather than static.

PR-URL: #14744
Reviewed-By: James M Snell <[email protected]>
addaleax added a commit that referenced this pull request Aug 14, 2017
PR-URL: #14744
Reviewed-By: James M Snell <[email protected]>
@addaleax addaleax mentioned this pull request Aug 14, 2017
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.

4 participants