Commit d9139fc2 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

asio: Fix reserved size

parent 62e1d1c9
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment