aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/options.h
diff options
context:
space:
mode:
authorandrew-iv <andrew-iv@yandex-team.ru>2022-02-10 16:49:36 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:36 +0300
commitcd33f9aa8461f8e2b0b9e68efbb6bc9856197dc9 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/server/options.h
parenta7c41f2d250ec4075eb32fb0da0fd5c85308c8f0 (diff)
downloadydb-cd33f9aa8461f8e2b0b9e68efbb6bc9856197dc9.tar.gz
Restoring authorship annotation for <andrew-iv@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
-rw-r--r--library/cpp/http/server/options.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h
index 72591c4f55..38eda0e5e7 100644
--- a/library/cpp/http/server/options.h
+++ b/library/cpp/http/server/options.h
@@ -3,7 +3,7 @@
#include <util/network/ip.h>
#include <util/network/init.h>
#include <util/network/address.h>
-#include <util/generic/size_literals.h>
+#include <util/generic/size_literals.h>
#include <util/generic/string.h>
#include <util/generic/vector.h>
#include <util/datetime/base.h>
@@ -112,12 +112,12 @@ public:
return *this;
}
- inline THttpServerOptions& SetMaxInputContentLength(ui64 val) noexcept {
- MaxInputContentLength = val;
-
- return *this;
- }
-
+ inline THttpServerOptions& SetMaxInputContentLength(ui64 val) noexcept {
+ MaxInputContentLength = val;
+
+ return *this;
+ }
+
inline THttpServerOptions& SetMaxRequestsPerConnection(size_t val) noexcept {
MaxRequestsPerConnection = val;
@@ -163,7 +163,7 @@ public:
int ListenBacklog = SOMAXCONN;
TDuration ClientTimeout;
size_t OutputBufferSize = 0;
- ui64 MaxInputContentLength = sizeof(size_t) <= 4 ? 2_GB : 64_GB;
+ ui64 MaxInputContentLength = sizeof(size_t) <= 4 ? 2_GB : 64_GB;
size_t MaxRequestsPerConnection = 0; // If keep-alive is enabled, request limit before connection is closed
bool UseElasticQueues = false;