Skip to content

Commit e507d8f

Browse files
authored
Update connection.cpp
1 parent d02e395 commit e507d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

silkworm/rpc/http/connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ Task<void> Connection::do_write(const std::string& content, boost::beast::http::
401401
res.set(boost::beast::http::field::accept_encoding, content_encoding); // Indicate the supported encoding
402402
}
403403
res.content_length(content.size());
404-
res.body() = std::move(content);
404+
res.body() = content;
405405
}
406406

407407
set_cors<boost::beast::http::string_body>(res, request_data);

0 commit comments

Comments
 (0)