aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io
diff options
context:
space:
mode:
authorcerevra <cerevra@yandex-team.ru>2022-02-10 16:45:58 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:58 +0300
commitbf41dd01f6c920583e9faae7cd55ed25e547e052 (patch)
treeec7c8c285ffa648a5c5efeff453787a15ab811ac /library/cpp/http/io
parente2c3e3004f7cd68441cefcfa4aaccd3d8051c846 (diff)
downloadydb-bf41dd01f6c920583e9faae7cd55ed25e547e052.tar.gz
Restoring authorship annotation for <cerevra@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/io')
-rw-r--r--library/cpp/http/io/compression.cpp12
-rw-r--r--library/cpp/http/io/fuzz/main.cpp2
-rw-r--r--library/cpp/http/io/fuzz/ya.make2
-rw-r--r--library/cpp/http/io/headers_ut.cpp2
-rw-r--r--library/cpp/http/io/list_codings/main.cpp2
-rw-r--r--library/cpp/http/io/list_codings/ya.make2
-rw-r--r--library/cpp/http/io/stream.cpp14
-rw-r--r--library/cpp/http/io/stream.h6
-rw-r--r--library/cpp/http/io/stream_ut.cpp2
-rw-r--r--library/cpp/http/io/ut/medium/ya.make2
-rw-r--r--library/cpp/http/io/ut/ya.make4
-rw-r--r--library/cpp/http/io/ya.make8
12 files changed, 29 insertions, 29 deletions
diff --git a/library/cpp/http/io/compression.cpp b/library/cpp/http/io/compression.cpp
index 8fa1f62ae6..be4210f27d 100644
--- a/library/cpp/http/io/compression.cpp
+++ b/library/cpp/http/io/compression.cpp
@@ -1,15 +1,15 @@
#include "compression.h"
#if defined(ENABLE_GPL)
-#include <library/cpp/streams/lz/lz.h>
+#include <library/cpp/streams/lz/lz.h>
#endif
-#include <library/cpp/streams/brotli/brotli.h>
-#include <library/cpp/streams/lzma/lzma.h>
-#include <library/cpp/streams/bzip2/bzip2.h>
+#include <library/cpp/streams/brotli/brotli.h>
+#include <library/cpp/streams/lzma/lzma.h>
+#include <library/cpp/streams/bzip2/bzip2.h>
-#include <library/cpp/blockcodecs/stream.h>
-#include <library/cpp/blockcodecs/codecs.h>
+#include <library/cpp/blockcodecs/stream.h>
+#include <library/cpp/blockcodecs/codecs.h>
#include <util/stream/zlib.h>
diff --git a/library/cpp/http/io/fuzz/main.cpp b/library/cpp/http/io/fuzz/main.cpp
index 8ded9c7e32..1553015281 100644
--- a/library/cpp/http/io/fuzz/main.cpp
+++ b/library/cpp/http/io/fuzz/main.cpp
@@ -1,4 +1,4 @@
-#include <library/cpp/http/io/stream.h>
+#include <library/cpp/http/io/stream.h>
#include <util/generic/vector.h>
#include <util/stream/mem.h>
diff --git a/library/cpp/http/io/fuzz/ya.make b/library/cpp/http/io/fuzz/ya.make
index 8b3ccb1969..2226bdbb7e 100644
--- a/library/cpp/http/io/fuzz/ya.make
+++ b/library/cpp/http/io/fuzz/ya.make
@@ -6,7 +6,7 @@ OWNER(
)
PEERDIR(
- library/cpp/http/io
+ library/cpp/http/io
)
SIZE(MEDIUM)
diff --git a/library/cpp/http/io/headers_ut.cpp b/library/cpp/http/io/headers_ut.cpp
index 1d23ef8fdc..883dd0d786 100644
--- a/library/cpp/http/io/headers_ut.cpp
+++ b/library/cpp/http/io/headers_ut.cpp
@@ -3,7 +3,7 @@
#include <util/generic/strbuf.h>
#include <utility>
-#include <library/cpp/http/io/headers.h>
+#include <library/cpp/http/io/headers.h>
#include <library/cpp/testing/unittest/registar.h>
namespace {
diff --git a/library/cpp/http/io/list_codings/main.cpp b/library/cpp/http/io/list_codings/main.cpp
index 9818d02bdf..20f9df4a26 100644
--- a/library/cpp/http/io/list_codings/main.cpp
+++ b/library/cpp/http/io/list_codings/main.cpp
@@ -1,4 +1,4 @@
-#include <library/cpp/http/io/stream.h>
+#include <library/cpp/http/io/stream.h>
#include <util/stream/output.h>
int main() {
diff --git a/library/cpp/http/io/list_codings/ya.make b/library/cpp/http/io/list_codings/ya.make
index e5c5fed6dc..02ded23816 100644
--- a/library/cpp/http/io/list_codings/ya.make
+++ b/library/cpp/http/io/list_codings/ya.make
@@ -3,7 +3,7 @@ PROGRAM()
OWNER(pg)
PEERDIR(
- library/cpp/http/io
+ library/cpp/http/io
)
SRCS(
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp
index 6689be684f..89942c4748 100644
--- a/library/cpp/http/io/stream.cpp
+++ b/library/cpp/http/io/stream.cpp
@@ -139,7 +139,7 @@ public:
, Buffered_(Slave_, SuggestBufferSize())
, ChunkedInput_(nullptr)
, Input_(nullptr)
- , FirstLine_(ReadFirstLine(Buffered_))
+ , FirstLine_(ReadFirstLine(Buffered_))
, Headers_(&Buffered_)
, KeepAlive_(false)
, HasContentLength_(false)
@@ -151,12 +151,12 @@ public:
Y_ASSERT(Input_);
}
- static TString ReadFirstLine(TBufferedInput& in) {
- TString s;
- Y_ENSURE_EX(in.ReadLine(s), THttpReadException() << "Failed to get first line");
- return s;
- }
-
+ static TString ReadFirstLine(TBufferedInput& in) {
+ TString s;
+ Y_ENSURE_EX(in.ReadLine(s), THttpReadException() << "Failed to get first line");
+ return s;
+ }
+
inline ~TImpl() {
}
diff --git a/library/cpp/http/io/stream.h b/library/cpp/http/io/stream.h
index 78ca4fc814..0f46920e0c 100644
--- a/library/cpp/http/io/stream.h
+++ b/library/cpp/http/io/stream.h
@@ -18,9 +18,9 @@ struct THttpException: public yexception {
struct THttpParseException: public THttpException {
};
-struct THttpReadException: public THttpException {
-};
-
+struct THttpReadException: public THttpException {
+};
+
/// Чтение ответа HTTP-сервера.
class THttpInput: public IInputStream {
public:
diff --git a/library/cpp/http/io/stream_ut.cpp b/library/cpp/http/io/stream_ut.cpp
index 1ea35df675..9ad15ad7ac 100644
--- a/library/cpp/http/io/stream_ut.cpp
+++ b/library/cpp/http/io/stream_ut.cpp
@@ -1,7 +1,7 @@
#include "stream.h"
#include "chunk.h"
-#include <library/cpp/http/server/http_ex.h>
+#include <library/cpp/http/server/http_ex.h>
#include <library/cpp/testing/unittest/registar.h>
#include <library/cpp/testing/unittest/tests_data.h>
diff --git a/library/cpp/http/io/ut/medium/ya.make b/library/cpp/http/io/ut/medium/ya.make
index 235a23dcd7..1c51e783fb 100644
--- a/library/cpp/http/io/ut/medium/ya.make
+++ b/library/cpp/http/io/ut/medium/ya.make
@@ -1,4 +1,4 @@
-UNITTEST_FOR(library/cpp/http/io)
+UNITTEST_FOR(library/cpp/http/io)
SIZE(MEDIUM)
diff --git a/library/cpp/http/io/ut/ya.make b/library/cpp/http/io/ut/ya.make
index 84f6949db3..8f79421039 100644
--- a/library/cpp/http/io/ut/ya.make
+++ b/library/cpp/http/io/ut/ya.make
@@ -1,9 +1,9 @@
-UNITTEST_FOR(library/cpp/http/io)
+UNITTEST_FOR(library/cpp/http/io)
OWNER(g:util)
PEERDIR(
- library/cpp/http/server
+ library/cpp/http/server
)
SRCS(
diff --git a/library/cpp/http/io/ya.make b/library/cpp/http/io/ya.make
index dcfbd79885..90dd4679ad 100644
--- a/library/cpp/http/io/ya.make
+++ b/library/cpp/http/io/ya.make
@@ -6,10 +6,10 @@ OWNER(
)
PEERDIR(
- library/cpp/blockcodecs
- library/cpp/streams/brotli
- library/cpp/streams/bzip2
- library/cpp/streams/lzma
+ library/cpp/blockcodecs
+ library/cpp/streams/brotli
+ library/cpp/streams/bzip2
+ library/cpp/streams/lzma
)
SRCS(