diff options
Diffstat (limited to 'src/node_http2.h')
-rw-r--r-- | src/node_http2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_http2.h b/src/node_http2.h index 9a156c8bfa..47d25f2b07 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -993,7 +993,8 @@ class Http2Session : public AsyncWrap, public StreamListener { uint32_t chunks_sent_since_last_write_ = 0; uv_buf_t stream_buf_ = uv_buf_init(nullptr, 0); - v8::Local<v8::ArrayBuffer> stream_buf_ab_; + v8::Global<v8::ArrayBuffer> stream_buf_ab_; + AllocatedBuffer stream_buf_allocation_; size_t max_outstanding_pings_ = DEFAULT_MAX_PINGS; std::queue<std::unique_ptr<Http2Ping>> outstanding_pings_; |