aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/sockpool.h
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commit7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (patch)
tree9e9943579e5a14679af7cd2cda3c36d8c0b775d3 /library/cpp/coroutine/engine/sockpool.h
parent676340c42e269f3070f194d160f42a83a10568d4 (diff)
downloadydb-7a4979e6211c3e78c7f9041d4a9e5d3405343c36.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/sockpool.h')
-rw-r--r--library/cpp/coroutine/engine/sockpool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/coroutine/engine/sockpool.h b/library/cpp/coroutine/engine/sockpool.h
index 1ebb7e7b38..3365b1a4b6 100644
--- a/library/cpp/coroutine/engine/sockpool.h
+++ b/library/cpp/coroutine/engine/sockpool.h
@@ -7,7 +7,7 @@
#include <util/network/socket.h>
#include <util/system/mutex.h>
-extern void SetCommonSockOpts(SOCKET sock, const struct sockaddr* sa = nullptr);
+extern void SetCommonSockOpts(SOCKET sock, const struct sockaddr* sa = nullptr);
class TSocketPool;
@@ -90,7 +90,7 @@ class TPooledSocket {
public:
TPooledSocket()
- : Impl_(nullptr)
+ : Impl_(nullptr)
{
}
@@ -204,7 +204,7 @@ private:
return ret.Release();
}
}
- return nullptr;
+ return nullptr;
}
void Release(TPooledSocket::TImpl* impl) noexcept {
@@ -235,11 +235,11 @@ public:
{
}
- void DoWrite(const void* buf, size_t len) override {
+ void DoWrite(const void* buf, size_t len) override {
NCoro::WriteI(Cont_, Fd_, buf, len).Checked();
}
- size_t DoRead(void* buf, size_t len) override {
+ size_t DoRead(void* buf, size_t len) override {
return NCoro::ReadI(Cont_, Fd_, buf, len).Checked();
}