mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Track peer traffic by category
This commit is contained in:
@@ -78,7 +78,8 @@ invoke (int type, Buffers const& buffers,
|
||||
if (! m->ParseFromZeroCopyStream(&stream))
|
||||
return boost::system::errc::make_error_code(
|
||||
boost::system::errc::invalid_argument);
|
||||
auto ec = handler.onMessageBegin (type, m);
|
||||
auto ec = handler.onMessageBegin (type, m,
|
||||
Message::kHeaderBytes + Message::size (buffers));
|
||||
if (! ec)
|
||||
{
|
||||
handler.onMessage (m);
|
||||
|
||||
Reference in New Issue
Block a user