MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / setKeepAlive

Method setKeepAlive

base/poco/Net/src/SocketImpl.cpp:847–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845
846
847void SocketImpl::setKeepAlive(bool flag)
848{
849 int value = flag ? 1 : 0;
850 setOption(SOL_SOCKET, SO_KEEPALIVE, value);
851}
852
853
854bool SocketImpl::getKeepAlive()

Callers 15

runMethod · 0.45
sendErrorResponseMethod · 0.45
proxyConnectMethod · 0.45
prepareSubmitMethod · 0.45
connectMethod · 0.45
processOptionsRequestFunction · 0.45
requestNonceMethod · 0.45
doJWSRequestMethod · 0.45
cancelImplMethod · 0.45
cancelWithExceptionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected