aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/conn.cpp
diff options
context:
space:
mode:
authorfeldsherov <feldsherov@yandex-team.ru>2022-02-10 16:49:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:29 +0300
commite73723ec73b27276cd45b9b46b752138a51d669c (patch)
tree055f8efa1a290665c7be6bb571131e050cd9517a /library/cpp/http/server/conn.cpp
parent4d75b7f76712a8150bd526a7ef43d279d9892eb7 (diff)
downloadydb-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.cpp24
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();
+}