ClickHouse/dbms/programs
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
..
benchmark Install fixes 2019-01-28 19:36:39 +03:00
clang Build fixes (#4076) 2019-01-18 18:19:53 +03:00
client Fixed bad function name 2019-02-02 03:25:12 +03:00
compressor Install fixes 2019-01-28 19:36:39 +03:00
copier Install fixes 2019-01-28 19:36:39 +03:00
extract-from-config Install fixes 2019-01-28 19:36:39 +03:00
format Install fixes 2019-01-28 19:36:39 +03:00
local Install fixes 2019-01-28 19:36:39 +03:00
obfuscator Install fixes 2019-01-28 19:36:39 +03:00
odbc-bridge Merge branch 'split-odbc-bridge' of github.com:yandex/ClickHouse into split-odbc-bridge 2019-01-30 21:48:39 +03:00
performance-test Add ability to create, fill and drop tables in perftest 2019-02-01 18:10:13 +03:00
server Cancel http read only queries if client socket goes away 2019-02-02 12:14:52 +00:00
CMakeLists.txt Fix 2019-01-31 20:18:30 +03:00
config_tools.h.in 3908 Fix build client only 2018-12-27 17:32:23 +03:00
main.cpp Merge branch 'master' into split-odbc-bridge 2019-01-28 18:15:18 +03:00