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
commita7c41f2d250ec4075eb32fb0da0fd5c85308c8f0 (patch)
treee9434a3e8d049e76df899af7e8f6eb5bd2d5c827 /library/cpp/http/server/options.h
parentc617191a3b33c0f5e1be6390361dbe540775d158 (diff)
downloadydb-a7c41f2d250ec4075eb32fb0da0fd5c85308c8f0.tar.gz
Restoring authorship annotation for <andrew-iv@yandex-team.ru>. Commit 1 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 38eda0e5e78..72591c4f553 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;