mirror of
https://github.com/boostorg/beast.git
synced 2026-01-27 09:42:18 +01:00
serializing file_body is not const
This commit is contained in:
@@ -157,7 +157,8 @@ private:
|
||||
operator()(
|
||||
beast::http::response<Body, Fields>&& res) const
|
||||
{
|
||||
beast::http::write(self_.impl().stream(), res, ec_);
|
||||
beast::http::serializer<false, Body, Fields> sr{res};
|
||||
beast::http::write(self_.impl().stream(), sr, ec_);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user