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
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/coroutine/engine/sockpool.h
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 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 3365b1a4b6..1ebb7e7b38 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();
}