mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
3fdc04428e
To check the socket status, try to read one byte from socket in a non-blocking way: 0 - client closed the connection >= 1 - client send more data, we are ignoring this case for now timeout - normal case, client is waiting for response ... - socket broken? Dirty, but should do the job. Limiting to readonly queries as I don't want to mess with alter queries / insert select and others. |
||
---|---|---|
.. | ||
config.d | ||
data | ||
metadata/default | ||
users.d | ||
clickhouse-server.cpp | ||
CMakeLists.txt | ||
config.xml | ||
HTTPHandler.cpp | ||
HTTPHandler.h | ||
HTTPHandlerFactory.h | ||
InterserverIOHTTPHandler.cpp | ||
InterserverIOHTTPHandler.h | ||
IServer.h | ||
MetricsTransmitter.cpp | ||
MetricsTransmitter.h | ||
NotFoundHandler.cpp | ||
NotFoundHandler.h | ||
PingRequestHandler.cpp | ||
PingRequestHandler.h | ||
ReplicasStatusHandler.cpp | ||
ReplicasStatusHandler.h | ||
RootRequestHandler.cpp | ||
RootRequestHandler.h | ||
Server.cpp | ||
Server.h | ||
TCPHandler.cpp | ||
TCPHandler.h | ||
TCPHandlerFactory.h | ||
users.xml |