aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/options.h
diff options
context:
space:
mode:
authoryuraaka <yuraaka@yandex-team.ru>2022-02-10 16:47:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:05 +0300
commit5577dc406121f6fb3f45b227c01f4251880193a1 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/http/server/options.h
parent4230543261d7a38ef4dc14785ae0d45f2da43704 (diff)
downloadydb-5577dc406121f6fb3f45b227c01f4251880193a1.tar.gz
Restoring authorship annotation for <yuraaka@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
-rw-r--r--library/cpp/http/server/options.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h
index dfc2258493..38eda0e5e7 100644
--- a/library/cpp/http/server/options.h
+++ b/library/cpp/http/server/options.h
@@ -56,12 +56,12 @@ public:
return *this;
}
- inline THttpServerOptions& EnableReuseAddress(bool enable) noexcept {
- ReuseAddress = enable;
-
- return *this;
- }
-
+ inline THttpServerOptions& EnableReuseAddress(bool enable) noexcept {
+ ReuseAddress = enable;
+
+ return *this;
+ }
+
inline THttpServerOptions& SetThreads(ui32 threads) noexcept {
nThreads = threads;
@@ -150,7 +150,7 @@ public:
bool CompressionEnabled = false;
bool RejectExcessConnections = false;
bool ReusePort = false; // set SO_REUSEPORT socket option
- bool ReuseAddress = true; // set SO_REUSEADDR socket option
+ bool ReuseAddress = true; // set SO_REUSEADDR socket option
TAddrs BindSockaddr;
ui16 Port = 17000; // The port on which to run the web server
TString Host; // DNS entry