summaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/http.cpp
diff options
context:
space:
mode:
authoragorodilov <[email protected]>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/http/server/http.cpp
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/http.cpp')
-rw-r--r--library/cpp/http/server/http.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/server/http.cpp b/library/cpp/http/server/http.cpp
index f216ef8952a..128583bdd70 100644
--- a/library/cpp/http/server/http.cpp
+++ b/library/cpp/http/server/http.cpp
@@ -142,7 +142,7 @@ public:
}
- return nullptr;
+ return nullptr;
}
TAutoPtr<TClientRequest> CreateRequest(TAutoPtr<TClientConnection> c) {
@@ -215,7 +215,7 @@ public:
TGuard<TMutex> g(StopMutex);
if (ListenThread) {
ListenThread->Join();
- ListenThread.Reset(nullptr);
+ ListenThread.Reset(nullptr);
}
}
@@ -225,7 +225,7 @@ public:
TGuard<TMutex> g(StopMutex);
if (ListenThread) {
ListenThread->Join();
- ListenThread.Reset(nullptr);
+ ListenThread.Reset(nullptr);
}
while (ConnectionCount) {
@@ -249,7 +249,7 @@ public:
HttpConn_.Reset(parent->HttpConn_.Release());
}
- bool Reply(void*) override {
+ bool Reply(void*) override {
if (!ProcessHeaders()) {
return true;
}
@@ -301,7 +301,7 @@ public:
}
void OnPollEvent(TInstant) override {
- SOCKET s = ::accept(S_, nullptr, nullptr);
+ SOCKET s = ::accept(S_, nullptr, nullptr);
if (s == INVALID_SOCKET) {
ythrow yexception() << "accept: " << LastSystemErrorText();