aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2022-09-30 17:05:31 +0300
committersvidyuk <svidyuk@yandex-team.com>2022-09-30 17:05:31 +0300
commit4c083af59b8fd8dc2ea702509f1cefdf4e85850d (patch)
tree2fd40fe3c24983eacbbf6d54821a4d89918d97a9 /library/cpp/http
parentc391c3a2b201e8f113aea0fb26d947520eba0626 (diff)
downloadydb-4c083af59b8fd8dc2ea702509f1cefdf4e85850d.tar.gz
Do not enable cuda globally for all platforms
Diffstat (limited to 'library/cpp/http')
-rw-r--r--library/cpp/http/push_parser/http_parser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/http/push_parser/http_parser.cpp b/library/cpp/http/push_parser/http_parser.cpp
index d36618069f..f98da92b8c 100644
--- a/library/cpp/http/push_parser/http_parser.cpp
+++ b/library/cpp/http/push_parser/http_parser.cpp
@@ -309,6 +309,9 @@ bool THttpParser::DecodeContent() {
}
NBlockCodecs::TDecodedInput decoder(&in, codec);
DecodedContent_ = decoder.ReadAll();
+ } else if (ContentEncoding_ == "lz4") {
+ const auto* codec = NBlockCodecs::Codec(TStringBuf(ContentEncoding_));
+ DecodedContent_ = codec->Decode(Content_);
} else {
throw THttpParseException() << "Unsupported content-encoding method: " << ContentEncoding_;
}