diff options
author | vlmarkov <vlmarkov@yandex-team.ru> | 2022-02-10 16:46:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:07 +0300 |
commit | dbd3185956979f21ea16ef90c1ba4aa2d6a75fae (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/http | |
parent | 6a382399c9a1053abd7d772ec30ca9873f7429a1 (diff) | |
download | ydb-dbd3185956979f21ea16ef90c1ba4aa2d6a75fae.tar.gz |
Restoring authorship annotation for <vlmarkov@yandex-team.ru>. Commit 2 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 d9348e9cca..769828e4ae 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 742ae47b77..68eb00853d 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 8f0b9612e4..6689be684f 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) { |