mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fixes a frame read issue with hybi00 references #101
This commit is contained in:
@@ -199,7 +199,9 @@ public:
|
||||
if (m_data_message) {
|
||||
size_t num;
|
||||
|
||||
num = static_cast<size_t>(input.readsome(m_payload_buffer, PAYLOAD_BUFFER_SIZE));
|
||||
input.get(m_payload_buffer, PAYLOAD_BUFFER_SIZE, 0xFF);
|
||||
|
||||
num = static_cast<size_t>(input.gcount());
|
||||
|
||||
if (input.bad()) {
|
||||
throw processor::exception("istream readsome error",
|
||||
|
||||
Reference in New Issue
Block a user