From 60c0dade397b9b2f9a22f5daa5b2ea5e433e6e40 Mon Sep 17 00:00:00 2001 From: tkhanipov <tkhanipov@yandex-team.ru> Date: Thu, 10 Feb 2022 16:49:46 +0300 Subject: Restoring authorship annotation for <tkhanipov@yandex-team.ru>. Commit 1 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 6689be684f..f96ef5b1b2 100644 --- a/library/cpp/http/io/stream.cpp +++ b/library/cpp/http/io/stream.cpp @@ -619,10 +619,10 @@ public: return SupportChunkedTransfer() && IsKeepAliveEnabled() && (Request_ ? Request_->IsKeepAlive() : true); } - inline const TString& FirstLine() const noexcept { - return FirstLine_; - } - + inline const TString& FirstLine() const noexcept { + return FirstLine_; + } + inline size_t SentSize() const noexcept { return SizeCalculator_.Length(); } @@ -958,10 +958,10 @@ void THttpOutput::SendContinue() { Impl_->SendContinue(); } -const TString& THttpOutput::FirstLine() const noexcept { - return Impl_->FirstLine(); -} - +const TString& THttpOutput::FirstLine() const noexcept { + return Impl_->FirstLine(); +} + size_t THttpOutput::SentSize() const noexcept { return Impl_->SentSize(); } -- cgit v1.2.3