aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io
diff options
context:
space:
mode:
authorAndrey Fomichev <andrey.fomichev@gmail.com>2022-02-10 16:49:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:15 +0300
commit1c61afbf3db63940d05e6fefa3104b03457788a1 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/io
parente542cc14db4240643a06bb0dde87ecf361f101ab (diff)
downloadydb-1c61afbf3db63940d05e6fefa3104b03457788a1.tar.gz
Restoring authorship annotation for Andrey Fomichev <andrey.fomichev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io')
-rw-r--r--library/cpp/http/io/stream.cpp4
-rw-r--r--library/cpp/http/io/stream_ut.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp
index 98434dc7a2..6689be684f 100644
--- a/library/cpp/http/io/stream.cpp
+++ b/library/cpp/http/io/stream.cpp
@@ -73,8 +73,8 @@ namespace {
for (TPtr* cur = Beg_; cur != end; ++cur) {
f(*cur);
}
- }
-
+ }
+
TPtr Top() {
const TPtr* end = T_ + N;
return end == Beg_ ? nullptr : *Beg_;
diff --git a/library/cpp/http/io/stream_ut.cpp b/library/cpp/http/io/stream_ut.cpp
index c7749eb5fd..1ea35df675 100644
--- a/library/cpp/http/io/stream_ut.cpp
+++ b/library/cpp/http/io/stream_ut.cpp
@@ -315,15 +315,15 @@ Y_UNIT_TEST_SUITE(THttpStreamTest) {
TBufferedOutput bufOut(&strOut, 8192);
TTeeOutput teeOut(&bufOut, &checkOut);
THttpOutput httpOut(&teeOut);
-
+
httpOut.EnableKeepAlive(true);
httpOut.EnableCompression(true);
-
+
const char* header = "POST / HTTP/1.1\r\nHost: yandex.ru\r\n\r\n";
httpOut << header;
-
+
UNIT_ASSERT_VALUES_EQUAL(str.size(), 0u);
-
+
const char* body = "<html>Hello</html>";
httpOut << body;
UNIT_ASSERT_VALUES_EQUAL(str.size(), 0u);