diff options
author | markov <markov@yandex-team.ru> | 2022-02-10 16:49:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:38 +0300 |
commit | 22a7d4be7e5b779e4deee4dfe36234a1eae13fbd (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/server/options.h | |
parent | c35714eae9ffbb7be89036495af366fa51a8c097 (diff) | |
download | ydb-22a7d4be7e5b779e4deee4dfe36234a1eae13fbd.tar.gz |
Restoring authorship annotation for <markov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
-rw-r--r-- | library/cpp/http/server/options.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h index fae4176ae05..38eda0e5e78 100644 --- a/library/cpp/http/server/options.h +++ b/library/cpp/http/server/options.h @@ -44,12 +44,12 @@ public: return *this; } - inline THttpServerOptions& EnableRejectExcessConnections(bool enable) noexcept { - RejectExcessConnections = enable; - - return *this; - } - + inline THttpServerOptions& EnableRejectExcessConnections(bool enable) noexcept { + RejectExcessConnections = enable; + + return *this; + } + inline THttpServerOptions& EnableReusePort(bool enable) noexcept { ReusePort = enable; @@ -148,7 +148,7 @@ public: bool KeepAliveEnabled = true; bool CompressionEnabled = false; - bool RejectExcessConnections = false; + bool RejectExcessConnections = false; bool ReusePort = false; // set SO_REUSEPORT socket option bool ReuseAddress = true; // set SO_REUSEADDR socket option TAddrs BindSockaddr; |