aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io/stream.cpp
diff options
context:
space:
mode:
authorDmitry Potapov <potapov.d@gmail.com>2022-02-10 16:46:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:39 +0300
commit536101ea75c9ff5df10d01c2f460b1f6e12311b3 (patch)
tree115291277ad61b2cdcf5044d210fb103b5e1647e /library/cpp/http/io/stream.cpp
parent5036b5f2122001f9aef8a0e4cd85440d73ea6b9f (diff)
downloadydb-536101ea75c9ff5df10d01c2f460b1f6e12311b3.tar.gz
Restoring authorship annotation for Dmitry Potapov <potapov.d@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/io/stream.cpp')
-rw-r--r--library/cpp/http/io/stream.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp
index 6689be684f..5eee4a5ea5 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();
}