Skip to content
Closed
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
fixup! http2: shrink memory to match read data
  • Loading branch information
addaleax committed Feb 19, 2019
commit e9a96fb8f2eb480a75bce034158bbbb8d3086cb2
2 changes: 1 addition & 1 deletion src/node_http2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1803,7 +1803,7 @@ void Http2Session::OnStreamRead(ssize_t nread, const uv_buf_t& buf) {

// Remember the current buffer, so that OnDataChunkReceived knows the
// offset of a DATA frame's data into the socket read buffer.
stream_buf_ = uv_buf_init(buf.base, nread);
stream_buf_ = uv_buf_init(base, nread);

Isolate* isolate = env()->isolate();

Expand Down