aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/http.cpp
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/http/server/http.cpp
parent948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff)
downloadydb-69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/http.cpp')
-rw-r--r--library/cpp/http/server/http.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/http/server/http.cpp b/library/cpp/http/server/http.cpp
index d63d86e26f..128583bdd7 100644
--- a/library/cpp/http/server/http.cpp
+++ b/library/cpp/http/server/http.cpp
@@ -172,11 +172,11 @@ public:
ErrorCode = WSAGetLastError();
}
- int GetErrorCode() const {
+ int GetErrorCode() const {
return ErrorCode;
}
- const char* GetError() const {
+ const char* GetError() const {
return LastSystemErrorText(ErrorCode);
}
@@ -213,7 +213,7 @@ public:
void Wait() {
Cb_->OnWait();
TGuard<TMutex> g(StopMutex);
- if (ListenThread) {
+ if (ListenThread) {
ListenThread->Join();
ListenThread.Reset(nullptr);
}
@@ -223,7 +223,7 @@ public:
Shutdown();
TGuard<TMutex> g(StopMutex);
- if (ListenThread) {
+ if (ListenThread) {
ListenThread->Join();
ListenThread.Reset(nullptr);
}
@@ -560,7 +560,7 @@ TClientConnection::TClientConnection(const TSocket& s, THttpServer::TImpl* serv,
const TDuration& clientTimeout = HttpServ_->Options().ClientTimeout;
if (clientTimeout != TDuration::Zero()) {
- SetSocketTimeout(Socket_, (long)clientTimeout.Seconds(), clientTimeout.MilliSecondsOfSecond());
+ SetSocketTimeout(Socket_, (long)clientTimeout.Seconds(), clientTimeout.MilliSecondsOfSecond());
}
HttpServ_->IncreaseConnections();
@@ -738,7 +738,7 @@ void TClientRequest::ProcessFailRequest(int failstate) {
// Skipping spaces before url...
size_t start = 3;
- while (str[start] == ' ') {
+ while (str[start] == ' ') {
++start;
}