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
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /library/cpp/http/server/http.cpp
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
downloadydb-948fd24d47d4b3b7815aaef1686aea00ef3f4288.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 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 128583bdd7..d63d86e26f 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;
}