diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
commit | 49116032d905455a7b1c994e4a696afc885c1e71 (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/messagebus/protobuf | |
parent | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff) | |
download | ydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/protobuf')
-rw-r--r-- | library/cpp/messagebus/protobuf/ybusbuf.cpp | 4 | ||||
-rw-r--r-- | library/cpp/messagebus/protobuf/ybusbuf.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/messagebus/protobuf/ybusbuf.cpp b/library/cpp/messagebus/protobuf/ybusbuf.cpp index d47eee0672..63415b3737 100644 --- a/library/cpp/messagebus/protobuf/ybusbuf.cpp +++ b/library/cpp/messagebus/protobuf/ybusbuf.cpp @@ -2,7 +2,7 @@ #include <library/cpp/messagebus/actor/what_thread_does.h> -#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/io/coded_stream.h> using namespace NBus; @@ -78,7 +78,7 @@ TAutoPtr<TBusMessage> TBusBufferProtocol::Deserialize(ui16 messageType, TArrayRe // Need to override protobuf message size limit // NOTE: the payload size has already been checked against session MaxMessageSize google::protobuf::io::CodedInputStream input(reinterpret_cast<const ui8*>(payload.data()), payload.size()); - input.SetTotalBytesLimit(payload.size()); + input.SetTotalBytesLimit(payload.size()); bool ok = bmess->GetRecord()->ParseFromCodedStream(&input) && input.ConsumedEntireMessage(); if (!ok) { diff --git a/library/cpp/messagebus/protobuf/ybusbuf.h b/library/cpp/messagebus/protobuf/ybusbuf.h index 4f8aca472f..57b4267ea5 100644 --- a/library/cpp/messagebus/protobuf/ybusbuf.h +++ b/library/cpp/messagebus/protobuf/ybusbuf.h @@ -2,8 +2,8 @@ #include <library/cpp/messagebus/ybus.h> -#include <google/protobuf/descriptor.h> -#include <google/protobuf/message.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/message.h> #include <util/generic/cast.h> #include <util/generic/vector.h> |