Skip to content

Commit

Permalink
asio: Fix reserved size
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Aug 22, 2016
1 parent 62e1d1c commit d9139fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asio_client_session_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ const request *session_impl::submit(boost::system::error_code &ec,
}

auto nva = std::vector<nghttp2_nv>();
nva.reserve(3 + h.size());
nva.reserve(4 + h.size());
nva.push_back(http2::make_nv_ls(":method", method));
nva.push_back(http2::make_nv_ls(":scheme", uref.scheme));
nva.push_back(http2::make_nv_ls(":path", path));
Expand Down

0 comments on commit d9139fc

Please sign in to comment.