aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpzreader.h
diff options
context:
space:
mode:
authorantervis <antervis@yandex-team.ru>2022-02-10 16:49:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:48 +0300
commit0942f9eeaefcfc84db83fa240d8ed52b99345e7d (patch)
tree59616090b13df8c4cb69f2a204dc97c93888262c /library/cpp/http/fetch/httpzreader.h
parent99ac40630808727955ac0448822228528f1ea92d (diff)
downloadydb-0942f9eeaefcfc84db83fa240d8ed52b99345e7d.tar.gz
Restoring authorship annotation for <antervis@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpzreader.h')
-rw-r--r--library/cpp/http/fetch/httpzreader.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/library/cpp/http/fetch/httpzreader.h b/library/cpp/http/fetch/httpzreader.h
index 68eb00853d..c510935ae1 100644
--- a/library/cpp/http/fetch/httpzreader.h
+++ b/library/cpp/http/fetch/httpzreader.h
@@ -25,9 +25,9 @@ public:
using TBase::ParseGeneric;
using TBase::State;
- static constexpr size_t DefaultBufSize = 64 << 10;
- static constexpr unsigned int DefaultWinSize = 15;
-
+ static constexpr size_t DefaultBufSize = 64 << 10;
+ static constexpr unsigned int DefaultWinSize = 15;
+
TCompressedHttpReader()
: CompressedInput(false)
, BufSize(0)
@@ -58,19 +58,19 @@ public:
IgnoreTrailingGarbage = ignore;
}
- int Init(
- THttpHeader* H,
- int parsHeader,
- const size_t maxContSize = Max<size_t>(),
- const size_t bufSize = DefaultBufSize,
- const unsigned int winSize = DefaultWinSize,
- bool headRequest = false)
- {
+ int Init(
+ THttpHeader* H,
+ int parsHeader,
+ const size_t maxContSize = Max<size_t>(),
+ const size_t bufSize = DefaultBufSize,
+ const unsigned int winSize = DefaultWinSize,
+ bool headRequest = false)
+ {
ZErr = 0;
CurContSize = 0;
MaxContSize = maxContSize;
- int ret = TBase::Init(H, parsHeader, ConnectionClosed, headRequest);
+ int ret = TBase::Init(H, parsHeader, ConnectionClosed, headRequest);
if (ret)
return ret;
@@ -256,15 +256,15 @@ public:
{
}
- int Init(
- THttpHeader* H,
- int parsHeader,
- const size_t maxContSize = Max<size_t>(),
- const size_t bufSize = TBase::DefaultBufSize,
- const unsigned int winSize = TBase::DefaultWinSize,
- bool headRequest = false)
- {
- int ret = TBase::Init(H, parsHeader, maxContSize, bufSize, winSize, headRequest);
+ int Init(
+ THttpHeader* H,
+ int parsHeader,
+ const size_t maxContSize = Max<size_t>(),
+ const size_t bufSize = TBase::DefaultBufSize,
+ const unsigned int winSize = TBase::DefaultWinSize,
+ bool headRequest = false)
+ {
+ int ret = TBase::Init(H, parsHeader, maxContSize, bufSize, winSize, headRequest);
return (int)HandleRetValue((long)ret);
}