diff options
author | vlmarkov <vlmarkov@yandex-team.ru> | 2022-02-10 16:46:06 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:06 +0300 |
commit | 6a382399c9a1053abd7d772ec30ca9873f7429a1 (patch) | |
tree | f13f43c75b816da6bd8ee13cda92798d3956663f /library/cpp/http | |
parent | ce2ad6f6a6f6025e37fb7f8debe7cefd3aa2307c (diff) | |
download | ydb-6a382399c9a1053abd7d772ec30ca9873f7429a1.tar.gz |
Restoring authorship annotation for <vlmarkov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http')
-rw-r--r-- | library/cpp/http/fetch/httpparser.h | 4 | ||||
-rw-r--r-- | library/cpp/http/fetch/httpzreader.h | 2 | ||||
-rw-r--r-- | library/cpp/http/io/stream.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/fetch/httpparser.h b/library/cpp/http/fetch/httpparser.h index 769828e4ae..d9348e9cca 100644 --- a/library/cpp/http/fetch/httpparser.h +++ b/library/cpp/http/fetch/httpparser.h @@ -195,7 +195,7 @@ protected: case hp_begin_chunk_header: ChunkParser.Init(); State = hp_chunk_header; - [[fallthrough]]; + [[fallthrough]]; case hp_chunk_header: if ((ret = ChunkParser.Execute(buf, size)) < 0) { @@ -232,7 +232,7 @@ protected: return size; size = 0; } - break; + break; } } return size; diff --git a/library/cpp/http/fetch/httpzreader.h b/library/cpp/http/fetch/httpzreader.h index 68eb00853d..742ae47b77 100644 --- a/library/cpp/http/fetch/httpzreader.h +++ b/library/cpp/http/fetch/httpzreader.h @@ -114,7 +114,7 @@ public: // there is no data in next_out yet if (BufSize == Stream.avail_out) continue; - [[fallthrough]]; // don't break or return; continue with Z_STREAM_END case + [[fallthrough]]; // don't break or return; continue with Z_STREAM_END case case Z_STREAM_END: if (Stream.total_out > MaxContSize) { diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp index 6689be684f..8f0b9612e4 100644 --- a/library/cpp/http/io/stream.cpp +++ b/library/cpp/http/io/stream.cpp @@ -323,7 +323,7 @@ private: p.KeepAlive = false; } } - [[fallthrough]]; + [[fallthrough]]; HEADERCMP(header, "expect") { auto findContinue = [&](const TStringBuf& s) { if (strnicmp(s.data(), "100-continue", 13) == 0) { |