diff options
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; |