ClickHouse/dbms/src
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
..
AggregateFunctions sumMap: implement sumMapWithOverflow 2019-01-25 20:35:53 +01:00
Client Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /g' 2019-01-25 02:01:56 +03:00
Columns Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
Common Reverted part of changes #4188 2019-01-30 16:57:44 +03:00
Compression Fix non initialized codec and wrong size in CacheCompressedReadBuffer 2019-01-29 17:55:57 +03:00
Core Merge branch 'master' into global-thread-pool 2019-01-25 16:33:50 +03:00
Databases Merge remote-tracking branch 'origin/master' into global-thread-pool 2019-01-17 21:57:01 +03:00
DataStreams Added tests. Restored recursiveRemoveLowCardinality interface. 2019-01-29 18:44:02 +03:00
DataTypes Merge pull request #4055 from yandex/fix-group-by-array-low-cardibality-arguments 2019-01-29 21:32:45 +03:00
Dictionaries Fix compile on ARM 2019-01-31 18:38:21 +03:00
Formats Add support for absolute format schema paths. 2019-01-27 12:15:32 +03:00
Functions Freebsd fixes (#4225) 2019-02-02 14:09:22 +03:00
Interpreters Cancel http read only queries if client socket goes away 2019-02-02 12:14:52 +00:00
IO Remove not used dbms/src/IO/InterserverWriteBuffer.* 2019-02-02 12:03:09 +03:00
Parsers Fix typo in const name 2019-02-02 11:28:43 +00:00
Storages Updated system.contributors 2019-02-01 18:49:17 +03:00
TableFunctions add IdentifierSemantic and PredicateExpressionsOptimizer refactoring 2019-01-25 18:42:24 +03:00
CMakeLists.txt ISSUES-838 add lz4、none、zstd codec 2018-12-13 12:10:34 +08:00