summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_http2.h')
-rw-r--r--src/node_http2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_http2.h b/src/node_http2.h
index eb06d740ba..70c284c357 100644
--- a/src/node_http2.h
+++ b/src/node_http2.h
@@ -651,8 +651,8 @@ class Http2Stream : public AsyncWrap,
Statistics statistics_ = {};
private:
- Http2Session* session_; // The Parent HTTP/2 Session
- int32_t id_; // The Stream Identifier
+ Http2Session* session_ = nullptr; // The Parent HTTP/2 Session
+ int32_t id_ = 0; // The Stream Identifier
int32_t code_ = NGHTTP2_NO_ERROR; // The RST_STREAM code (if any)
int flags_ = NGHTTP2_STREAM_FLAG_NONE; // Internal state flags