diff options
author | feldsherov <feldsherov@yandex-team.ru> | 2022-02-10 16:49:29 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:29 +0300 |
commit | e73723ec73b27276cd45b9b46b752138a51d669c (patch) | |
tree | 055f8efa1a290665c7be6bb571131e050cd9517a /library/cpp/http/server/conn.cpp | |
parent | 4d75b7f76712a8150bd526a7ef43d279d9892eb7 (diff) | |
download | ydb-e73723ec73b27276cd45b9b46b752138a51d669c.tar.gz |
Restoring authorship annotation for <feldsherov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/server/conn.cpp')
-rw-r--r-- | library/cpp/http/server/conn.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/http/server/conn.cpp b/library/cpp/http/server/conn.cpp index 38a76c4c30..eee1e95a5f 100644 --- a/library/cpp/http/server/conn.cpp +++ b/library/cpp/http/server/conn.cpp @@ -26,14 +26,14 @@ public: return &HO_; } - inline void Reset() { - if (S_ != INVALID_SOCKET) { - // send RST packet to client - S_.SetLinger(true, 0); - S_.Close(); - } - } - + inline void Reset() { + if (S_ != INVALID_SOCKET) { + // send RST packet to client + S_.SetLinger(true, 0); + S_.Close(); + } + } + private: TSocket S_; TSocketInput SI_; @@ -63,7 +63,7 @@ THttpInput* THttpServerConn::Input() noexcept { THttpOutput* THttpServerConn::Output() noexcept { return Impl_->Output(); } - -void THttpServerConn::Reset() { - return Impl_->Reset(); -} + +void THttpServerConn::Reset() { + return Impl_->Reset(); +} |