ClickHouse/dbms/programs/server
Nicolae Vartolomei 3fdc04428e
Cancel http read only queries if client socket goes away
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.
2019-02-02 12:14:52 +00:00
..
config.d Removed listen host override from the example server config 2019-02-01 16:56:20 +03:00
data Squashed #2471 2018-06-05 23:09:51 +03:00
metadata/default Squashed #2471 2018-06-05 23:09:51 +03:00
users.d Squashed #2471 2018-06-05 23:09:51 +03:00
clickhouse-server.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
CMakeLists.txt Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
config.xml Fix unavailable shard's host:port for testing. 2018-12-17 21:06:50 +03:00
HTTPHandler.cpp Cancel http read only queries if client socket goes away 2019-02-02 12:14:52 +00:00
HTTPHandler.h Squashed #2471 2018-06-05 23:09:51 +03:00
HTTPHandlerFactory.h Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
InterserverIOHTTPHandler.cpp Fix cyclic lib depend ppart 2: clean 2018-12-28 21:15:26 +03:00
InterserverIOHTTPHandler.h CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol 2018-07-26 18:10:57 +03:00
IServer.h Squashed #2471 2018-06-05 23:09:51 +03:00
MetricsTransmitter.cpp Miscellaneous [#CLICKHOUSE-2] 2019-01-02 09:44:36 +03:00
MetricsTransmitter.h Attempt to implemnt global thread pool #4018 2019-01-14 22:22:09 +03:00
NotFoundHandler.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
NotFoundHandler.h Squashed #2471 2018-06-05 23:09:51 +03:00
PingRequestHandler.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
PingRequestHandler.h Squashed #2471 2018-06-05 23:09:51 +03:00
ReplicasStatusHandler.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
ReplicasStatusHandler.h Squashed #2471 2018-06-05 23:09:51 +03:00
RootRequestHandler.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
RootRequestHandler.h Squashed #2471 2018-06-05 23:09:51 +03:00
Server.cpp Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool 2019-01-28 14:20:24 +03:00
Server.h Squashed #2471 2018-06-05 23:09:51 +03:00
TCPHandler.cpp Merge branch 'master' into global-thread-pool 2019-01-25 16:33:50 +03:00
TCPHandler.h Fix clang build 2018-12-20 12:54:28 +03:00
TCPHandlerFactory.h Squashed #2471 2018-06-05 23:09:51 +03:00
users.xml dbms: Fixed misspells in comments 2019-01-23 04:56:53 +09:00