From 4c083af59b8fd8dc2ea702509f1cefdf4e85850d Mon Sep 17 00:00:00 2001 From: svidyuk Date: Fri, 30 Sep 2022 17:05:31 +0300 Subject: Do not enable cuda globally for all platforms --- library/cpp/http/push_parser/http_parser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/cpp/http/push_parser/http_parser.cpp b/library/cpp/http/push_parser/http_parser.cpp index d36618069fe..f98da92b8c0 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_; } -- cgit v1.3