mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
add message payload size reservation
This commit is contained in:
@@ -396,7 +396,8 @@ public:
|
||||
m_extended_header
|
||||
)
|
||||
);
|
||||
// TODO: reserve space in the existing message for the new bytes
|
||||
|
||||
out.reserve(out.size() + m_bytes_needed);
|
||||
}
|
||||
m_current_msg = &m_data_msg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user