From 7aa4cf700385ff96999c5cc301171ff157974773 Mon Sep 17 00:00:00 2001 From: Dmitry Potapov <potapov.d@gmail.com> Date: Thu, 10 Feb 2022 16:46:39 +0300 Subject: Restoring authorship annotation for Dmitry Potapov <potapov.d@gmail.com>. Commit 2 of 2. --- library/cpp/http/io/stream.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'library/cpp/http/io/stream.cpp') diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp index 5eee4a5ea5..6689be684f 100644 --- a/library/cpp/http/io/stream.cpp +++ b/library/cpp/http/io/stream.cpp @@ -9,7 +9,7 @@ #include <util/stream/null.h> #include <util/stream/tee.h> -#include <util/system/compat.h> +#include <util/system/compat.h> #include <util/system/yassert.h> #include <util/network/socket.h> @@ -25,7 +25,7 @@ #define HEADERCMP(header, str) \ case sizeof(str) - 1: \ if (!stricmp((header).Name().data(), str)) - + namespace { inline size_t SuggestBufferSize() { return 8192; @@ -192,10 +192,10 @@ public: if (HasContentLength_) { value = ContentLength_; return true; - } + } return false; } - + inline bool ContentEncoded() const noexcept { return ContentEncoded_; } @@ -381,7 +381,7 @@ private: bool KeepAlive_; TAcceptCodings Codings_; - + bool HasContentLength_; ui64 ContentLength_; @@ -441,9 +441,9 @@ TString THttpInput::BestCompressionScheme() const { } bool THttpInput::GetContentLength(ui64& value) const noexcept { - return Impl_->GetContentLength(value); -} - + return Impl_->GetContentLength(value); +} + bool THttpInput::ContentEncoded() const noexcept { return Impl_->ContentEncoded(); } -- cgit v1.2.3