diff options
Diffstat (limited to 'http/http_connection.hpp')
-rw-r--r-- | http/http_connection.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/http/http_connection.hpp b/http/http_connection.hpp index ed3dc07573..d60e74b9a5 100644 --- a/http/http_connection.hpp +++ b/http/http_connection.hpp @@ -5,6 +5,7 @@ #include "authentication.hpp" #include "complete_response_fields.hpp" #include "http2_connection.hpp" +#include "http_body.hpp" #include "http_response.hpp" #include "http_utility.hpp" #include "logging.hpp" @@ -611,8 +612,8 @@ class Connection : Handler* handler; // Making this a std::optional allows it to be efficiently destroyed and // re-created on Connection reset - std::optional<boost::beast::http::request_parser<bmcweb::FileBody>> parser; - std::optional<boost::beast::http::response_serializer<bmcweb::FileBody>> + std::optional<boost::beast::http::request_parser<bmcweb::HttpBody>> parser; + std::optional<boost::beast::http::response_serializer<bmcweb::HttpBody>> serializer; boost::beast::flat_static_buffer<8192> buffer; |