Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
http2: fixed cpp lint error
  • Loading branch information
pandeykushagra51 committed Apr 11, 2025
commit 87e9b8bf1e87da0f890f0e18468dfbabbf74640a
5 changes: 1 addition & 4 deletions src/node_http2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3520,10 +3520,7 @@ void Initialize(Local<Object> target,
Http2Session::RefreshSettings<nghttp2_session_get_remote_settings,
false>);
SetProtoMethod(
isolate,
session,
"setGracefulClose",
Http2Session::SetGracefulClose);
isolate, session, "setGracefulClose", Http2Session::SetGracefulClose);
SetConstructorFunction(context, target, "Http2Session", session);

Local<Object> constants = Object::New(isolate);
Expand Down
4 changes: 3 additions & 1 deletion src/node_http2.h
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,9 @@ class Http2Session : public AsyncWrap,

Statistics statistics_ = {};

bool IsGracefulCloseInitiated() const { return graceful_close_initiated_; }
bool IsGracefulCloseInitiated() const {
return graceful_close_initiated_;
}
void SetGracefulCloseInitiated(bool value) {
graceful_close_initiated_ = value;
}
Expand Down