aboutsummaryrefslogtreecommitdiffstats
path: root/util/network/socket.h
diff options
context:
space:
mode:
authorcerevra <cerevra@yandex-team.ru>2022-02-10 16:45:58 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:58 +0300
commitbf41dd01f6c920583e9faae7cd55ed25e547e052 (patch)
treeec7c8c285ffa648a5c5efeff453787a15ab811ac /util/network/socket.h
parente2c3e3004f7cd68441cefcfa4aaccd3d8051c846 (diff)
downloadydb-bf41dd01f6c920583e9faae7cd55ed25e547e052.tar.gz
Restoring authorship annotation for <cerevra@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network/socket.h')
-rw-r--r--util/network/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/network/socket.h b/util/network/socket.h
index 40c8648b40..f5c3279e5e 100644
--- a/util/network/socket.h
+++ b/util/network/socket.h
@@ -120,14 +120,14 @@ void SetSocketPriority(SOCKET s, int priority);
void SetTcpFastOpen(SOCKET s, int qlen);
/**
* Deprecated, consider using HasSocketDataToRead instead.
- **/
-bool IsNotSocketClosedByOtherSide(SOCKET s);
+ **/
+bool IsNotSocketClosedByOtherSide(SOCKET s);
enum class ESocketReadStatus {
HasData,
NoData,
SocketClosed
};
-/**
+/**
* Useful for keep-alive connections.
**/
ESocketReadStatus HasSocketDataToRead(SOCKET s);