mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add preliminary support for Boost 1.74
This commit is contained in:
@@ -360,7 +360,11 @@ OverlayImpl::makeRedirectResponse(
|
||||
msg.version(request.version());
|
||||
msg.result(boost::beast::http::status::service_unavailable);
|
||||
msg.insert("Server", BuildInfo::getFullVersionString());
|
||||
msg.insert("Remote-Address", remote_address);
|
||||
{
|
||||
std::ostringstream ostr;
|
||||
ostr << remote_address;
|
||||
msg.insert("Remote-Address", ostr.str());
|
||||
}
|
||||
msg.insert("Content-Type", "application/json");
|
||||
msg.insert(boost::beast::http::field::connection, "close");
|
||||
msg.body() = Json::objectValue;
|
||||
|
||||
Reference in New Issue
Block a user