diff --git a/src/asio_client_session_impl.cc b/src/asio_client_session_impl.cc index fafb26b1..f5a14be9 100644 --- a/src/asio_client_session_impl.cc +++ b/src/asio_client_session_impl.cc @@ -503,7 +503,7 @@ const request *session_impl::submit(boost::system::error_code &ec, } auto nva = std::vector(); - 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));