aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/push_parser/http_parser.cpp
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-09-01 13:01:10 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-09-01 13:12:47 +0300
commitd9f4e5381822b17ac7448b1f4386e1f74e118883 (patch)
tree3fdb6665ed998737bae5ac1ace9f0321ab728bcb /library/cpp/http/push_parser/http_parser.cpp
parent41fb59788d7929ed2ef5a9382669414db05ed34c (diff)
downloadydb-d9f4e5381822b17ac7448b1f4386e1f74e118883.tar.gz
Intermediate changes
Diffstat (limited to 'library/cpp/http/push_parser/http_parser.cpp')
-rw-r--r--library/cpp/http/push_parser/http_parser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/http/push_parser/http_parser.cpp b/library/cpp/http/push_parser/http_parser.cpp
index 2302dcb1ab..5852a02d5b 100644
--- a/library/cpp/http/push_parser/http_parser.cpp
+++ b/library/cpp/http/push_parser/http_parser.cpp
@@ -262,6 +262,10 @@ void THttpParser::OnEof() {
}
bool THttpParser::DecodeContent() {
+ if (!DecodeContent_) {
+ return false;
+ }
+
if (!ContentEncoding_ || ContentEncoding_ == "identity" || ContentEncoding_ == "none") {
DecodedContent_ = Content_;
return false;