diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
commit | 13f84424ed9975f6827d9786087c6fe6ea265cda (patch) | |
tree | b94acc282c49a5de96b9e3e19feead21736f3273 /library/cpp/http | |
parent | 35f29a67a6b8e50e1826c837330086049114c5ba (diff) | |
download | ydb-13f84424ed9975f6827d9786087c6fe6ea265cda.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http')
-rw-r--r-- | library/cpp/http/fetch/http_socket.cpp | 8 | ||||
-rw-r--r-- | library/cpp/http/fetch/httpzreader.h | 10 | ||||
-rw-r--r-- | library/cpp/http/io/chunk.cpp | 4 | ||||
-rw-r--r-- | library/cpp/http/io/chunk.h | 2 | ||||
-rw-r--r-- | library/cpp/http/io/headers.h | 2 | ||||
-rw-r--r-- | library/cpp/http/io/stream.h | 4 | ||||
-rw-r--r-- | library/cpp/http/misc/httpdate.cpp | 2 | ||||
-rw-r--r-- | library/cpp/http/misc/httpreqdata.h | 4 | ||||
-rw-r--r-- | library/cpp/http/server/http.h | 4 |
9 files changed, 20 insertions, 20 deletions
diff --git a/library/cpp/http/fetch/http_socket.cpp b/library/cpp/http/fetch/http_socket.cpp index 1524ef04a8..b8261febc9 100644 --- a/library/cpp/http/fetch/http_socket.cpp +++ b/library/cpp/http/fetch/http_socket.cpp @@ -40,7 +40,7 @@ static int gcry_pthread_mutex_init(void** priv) { int err = 0; try { - TMutex* lock = new TMutex; + TMutex* lock = new TMutex; *priv = lock; } catch (...) { err = -1; @@ -50,19 +50,19 @@ static int gcry_pthread_mutex_init(void** priv) { } static int gcry_pthread_mutex_destroy(void** lock) { - delete static_cast<TMutex*>(*lock); + delete static_cast<TMutex*>(*lock); return 0; } static int gcry_pthread_mutex_lock(void** lock) { - static_cast<TMutex*>(*lock)->Acquire(); + static_cast<TMutex*>(*lock)->Acquire(); return 0; } static int gcry_pthread_mutex_unlock(void** lock) { - static_cast<TMutex*>(*lock)->Release(); + static_cast<TMutex*>(*lock)->Release(); return 0; } diff --git a/library/cpp/http/fetch/httpzreader.h b/library/cpp/http/fetch/httpzreader.h index 68eb00853d..105102b7d1 100644 --- a/library/cpp/http/fetch/httpzreader.h +++ b/library/cpp/http/fetch/httpzreader.h @@ -279,17 +279,17 @@ protected: case 0: return ret; case ENOMEM: - ythrow yexception() << "SCompressedHttpReader: not enough memory"; + ythrow yexception() << "SCompressedHttpReader: not enough memory"; case EINVAL: ythrow yexception() << "SCompressedHttpReader: zlib error: " << ZMsg(); case ENOTSUP: - ythrow yexception() << "SCompressedHttpReader: unsupported compression method"; + ythrow yexception() << "SCompressedHttpReader: unsupported compression method"; case EFAULT: - ythrow zlib_exception() << "SCompressedHttpReader: " << ZMsg(); + ythrow zlib_exception() << "SCompressedHttpReader: " << ZMsg(); case E2BIG: - ythrow zlib_exception() << "SCompressedHttpReader: Content exceeds maximum length"; + ythrow zlib_exception() << "SCompressedHttpReader: Content exceeds maximum length"; default: - ythrow yexception() << "SCompressedHttpReader: unknown error"; + ythrow yexception() << "SCompressedHttpReader: unknown error"; } } }; diff --git a/library/cpp/http/io/chunk.cpp b/library/cpp/http/io/chunk.cpp index 6975d9eac1..86a5085fa7 100644 --- a/library/cpp/http/io/chunk.cpp +++ b/library/cpp/http/io/chunk.cpp @@ -8,7 +8,7 @@ static inline size_t ParseHex(const TString& s) { if (s.empty()) { - ythrow yexception() << "can not parse chunk length(empty string)"; + ythrow yexception() << "can not parse chunk length(empty string)"; } size_t ret = 0; @@ -228,7 +228,7 @@ void TChunkedOutput::DoWrite(const void* buf, size_t len) { if (Impl_.Get()) { Impl_->Write(buf, len); } else { - ythrow yexception() << "can not write to finished stream"; + ythrow yexception() << "can not write to finished stream"; } } diff --git a/library/cpp/http/io/chunk.h b/library/cpp/http/io/chunk.h index 88d89fafda..8f0927d1a5 100644 --- a/library/cpp/http/io/chunk.h +++ b/library/cpp/http/io/chunk.h @@ -2,7 +2,7 @@ #include <util/stream/output.h> #include <util/generic/maybe.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> class THttpHeaders; diff --git a/library/cpp/http/io/headers.h b/library/cpp/http/io/headers.h index a71793d1c6..2dc1916f71 100644 --- a/library/cpp/http/io/headers.h +++ b/library/cpp/http/io/headers.h @@ -3,7 +3,7 @@ #include <util/generic/string.h> #include <util/generic/strbuf.h> #include <util/generic/deque.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> #include <util/string/cast.h> class IInputStream; diff --git a/library/cpp/http/io/stream.h b/library/cpp/http/io/stream.h index 78ca4fc814..95b7b61b41 100644 --- a/library/cpp/http/io/stream.h +++ b/library/cpp/http/io/stream.h @@ -4,10 +4,10 @@ #include <util/stream/output.h> #include <util/generic/maybe.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> #include <util/generic/string.h> #include <util/generic/strbuf.h> -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> #include <util/generic/array_ref.h> class TSocket; diff --git a/library/cpp/http/misc/httpdate.cpp b/library/cpp/http/misc/httpdate.cpp index 4a3031bbf4..c5d3f2892c 100644 --- a/library/cpp/http/misc/httpdate.cpp +++ b/library/cpp/http/misc/httpdate.cpp @@ -35,7 +35,7 @@ #include <cstring> #include <ctime> -#include <util/system/compat.h> /* stricmp */ +#include <util/system/compat.h> /* stricmp */ #include <util/system/yassert.h> #include "httpdate.h" #include <util/datetime/base.h> diff --git a/library/cpp/http/misc/httpreqdata.h b/library/cpp/http/misc/httpreqdata.h index 16e59c4d78..ee5fc0dccf 100644 --- a/library/cpp/http/misc/httpreqdata.h +++ b/library/cpp/http/misc/httpreqdata.h @@ -4,12 +4,12 @@ #include <util/str_stl.h> -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/string/cast.h> #include <library/cpp/cgiparam/cgiparam.h> #include <util/network/address.h> #include <util/network/socket.h> -#include <util/generic/hash.h> +#include <util/generic/hash.h> #include <util/system/yassert.h> #include <util/generic/string.h> #include <util/datetime/base.h> diff --git a/library/cpp/http/server/http.h b/library/cpp/http/server/http.h index b292d38f27..fbf7901446 100644 --- a/library/cpp/http/server/http.h +++ b/library/cpp/http/server/http.h @@ -6,8 +6,8 @@ #include <util/thread/pool.h> #include <library/cpp/http/io/stream.h> #include <util/memory/blob.h> -#include <util/generic/ptr.h> -#include <util/generic/vector.h> +#include <util/generic/ptr.h> +#include <util/generic/vector.h> #include <util/system/atomic.h> class IThreadFactory; |