Merge pull request #5 from morphis/fix-ftbs
Drop not available logging function in rpc message processor
This commit is contained in:
commit
8e4bce8c7b
1 changed files with 1 additions and 4 deletions
|
|
@ -59,11 +59,8 @@ bool MessageProcessor::process_data(const std::vector<std::uint8_t> &data) {
|
|||
|
||||
// If we don't have yet all bytes for a new message return and wait
|
||||
// until we have all.
|
||||
if (buffer_.size() - header_size < message_size) {
|
||||
WARNING("Don't have enough bytes yet (buffer %d header %d message %d)",
|
||||
buffer_.size(), header_size, message_size);
|
||||
if (buffer_.size() - header_size < message_size)
|
||||
break;
|
||||
}
|
||||
|
||||
if (message_type == MessageType::invocation) {
|
||||
anbox::protobuf::rpc::Invocation raw_invocation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue