Skip to content

[v8.x] http2: pass session to DEBUG_HTTP2SESSION2 - #20815

Closed
danbev wants to merge 1 commit into
nodejs:v8.x-stagingfrom
danbev:http2_debug_issue_8.11.2
Closed

[v8.x] http2: pass session to DEBUG_HTTP2SESSION2#20815
danbev wants to merge 1 commit into
nodejs:v8.x-stagingfrom
danbev:http2_debug_issue_8.11.2

Conversation

@danbev

@danbevdanbev commented May 18, 2018

Copy link
Copy Markdown
Contributor

When configure with --debug-http2 --debug-nghttp2 the following
compilation error is generated:

DEBUG_HTTP2SESSION2(this, "fatal error receiving data: %d", ret); ^../src/node_http2.cc:1690:27:error: invalid use of 'this' outside of a non-static member function1 errors generated.

OnStreamReadImpl is static and I think the intention was to pass in the
session variable here.

Refs: #20806

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

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. dont-land-on-v4.x http2 Issues or PRs related to the http2 subsystem. labels May 18, 2018
When configure with --debug-http2 --debug-nghttp2 the following
compilation error is generated:
DEBUG_HTTP2SESSION2(this, "fatal error receiving data: %d", ret);
^
../src/node_http2.cc:1690:27:
error: invalid use of 'this' outside of a non-static member function
1 errors generated.
OnStreamReadImpl is static and I think the intention was to pass in the
session variable here.
Refs: nodejs#20806
@danbev
danbevforce-pushed the http2_debug_issue_8.11.2 branch from 7eb95aa to a8dc0daCompareMay 18, 2018 08:10
@danbev

Copy link
Copy Markdown
ContributorAuthor

@BridgeAR
BridgeAR requested a review from apapirovskiMay 18, 2018 10:23
@apapirovskiapapirovski changed the title http2: pass session to DEBUG_HTTP2SESSION2[v8.x] http2: pass session to DEBUG_HTTP2SESSION2May 21, 2018
@MylesBorins

Copy link
Copy Markdown
Contributor

landed in f7d96ac

MylesBorins pushed a commit that referenced this pull request May 22, 2018
When configure with --debug-http2 --debug-nghttp2 the following
compilation error is generated:
DEBUG_HTTP2SESSION2(this, "fatal error receiving data: %d", ret);
^
../src/node_http2.cc:1690:27:
error: invalid use of 'this' outside of a non-static member function
1 errors generated.
OnStreamReadImpl is static and I think the intention was to pass in the
session variable here.
PR-URL: #20815
Refs: #20806
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
MylesBorins pushed a commit that referenced this pull request Jun 14, 2018
When configure with --debug-http2 --debug-nghttp2 the following
compilation error is generated:
DEBUG_HTTP2SESSION2(this, "fatal error receiving data: %d", ret);
^
../src/node_http2.cc:1690:27:
error: invalid use of 'this' outside of a non-static member function
1 errors generated.
OnStreamReadImpl is static and I think the intention was to pass in the
session variable here.
PR-URL: #20815
Refs: #20806
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
@MylesBorinsMylesBorins mentioned this pull request Jul 9, 2018
rvagg pushed a commit that referenced this pull request Aug 16, 2018
When configure with --debug-http2 --debug-nghttp2 the following
compilation error is generated:
DEBUG_HTTP2SESSION2(this, "fatal error receiving data: %d", ret);
^
../src/node_http2.cc:1690:27:
error: invalid use of 'this' outside of a non-static member function
1 errors generated.
OnStreamReadImpl is static and I think the intention was to pass in the
session variable here.
PR-URL: #20815
Refs: #20806
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Sign up for freeto 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++.http2Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@danbev@MylesBorins@apapirovski@jasnell@nodejs-github-bot