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 | c35714eae9ffbb7be89036495af366fa51a8c097 (patch) | |
tree | d5c744b4b3864e5587519941892e66cd0c9d72da /library/cpp/http/server/options.h | |
parent | 71af077a5dfe7e9f932a508422c2dac81a57ebc0 (diff) | |
download | ydb-c35714eae9ffbb7be89036495af366fa51a8c097.tar.gz |
Restoring authorship annotation for <markov@yandex-team.ru>. Commit 1 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 38eda0e5e7..fae4176ae0 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; |