diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
commit | 10807864acf73d00f425a23b442aac2cf34403a8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http | |
parent | 13f84424ed9975f6827d9786087c6fe6ea265cda (diff) | |
download | ydb-10807864acf73d00f425a23b442aac2cf34403a8.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 2 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 b8261febc9..1524ef04a8 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 105102b7d1..68eb00853d 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 86a5085fa7..6975d9eac1 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 8f0927d1a5..88d89fafda 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 2dc1916f71..a71793d1c6 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 95b7b61b41..78ca4fc814 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 c5d3f2892c..4a3031bbf4 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 ee5fc0dccf..16e59c4d78 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 fbf7901446..b292d38f27 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; |