From 4af49a6e9d831c6cd2dfa3ac19f5fb2dc0f8e7b2 Mon Sep 17 00:00:00 2001 From: clemahieu Date: Sat, 10 Jun 2017 00:23:10 -0500 Subject: [PATCH] Removing prepare function call. (reverted from commit 4f9be4e6a37020f828349924b0113ca746ad1a13) --- rai/node/rpc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rai/node/rpc.cpp b/rai/node/rpc.cpp index b60e3438..f2dc65cb 100755 --- a/rai/node/rpc.cpp +++ b/rai/node/rpc.cpp @@ -2040,6 +2040,7 @@ void rai::rpc_connection::parse_connection () this_l->res.status = 200; this_l->res.body = body; this_l->res.version = version; + beast::http::prepare (this_l->res); beast::http::async_write (this_l->socket, this_l->res, [this_l] (boost::system::error_code const & ec) { });