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
commit077ab504815199e62ffc54daee873cf1d6b64297 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/server/conn.cpp
parente73723ec73b27276cd45b9b46b752138a51d669c (diff)
downloadydb-077ab504815199e62ffc54daee873cf1d6b64297.tar.gz
Restoring authorship annotation for <feldsherov@yandex-team.ru>. Commit 2 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 eee1e95a5f6..38a76c4c309 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();
+}