Alexander Rodin
68487d512a
Merge if branches with the same status code
2019-08-02 05:11:02 +00:00
Alexander Rodin
5c5b4f4de2
Revert "Replace ifs by cases"
...
This reverts commit 0c70f78fcb
.
2019-08-02 05:07:10 +00:00
Alexander Rodin
0c70f78fcb
Replace ifs by cases
2019-08-01 15:23:20 +00:00
Alexander Rodin
44b3dbb23b
Return Bad Request for INCORRECT_DATA and TYPE_MISMATCH errors
2019-08-01 13:16:09 +00:00
Alexey Milovidov
02eada5b35
Fixed error in prev. revision
2019-07-08 22:41:11 +03:00
Alexey Milovidov
c1bb550c07
Addition to prev. revision
2019-07-08 19:58:32 +03:00
Alexey Milovidov
c35a832095
Two more fixes for PVS-Studio
2019-07-08 03:56:52 +03:00
Alexey Milovidov
553e6a273e
Two more fixes for PVS-Studio
2019-07-08 03:51:43 +03:00
Alexey Milovidov
61bf0e9b12
Style
2019-06-15 21:25:27 +03:00
Alexey Milovidov
fad6013270
Fixing query parameters
2019-06-15 20:52:53 +03:00
Alexander Tretiakov
f3ef4666e7
fix
2019-06-04 23:15:44 +03:00
Alexander Tretiakov
2f1a03dac0
merge
2019-06-04 21:08:08 +03:00
Anton Yuzhaninov
091b591681
Fix build without Brotli ( #5513 ) ( #5521 )
2019-06-03 23:27:53 +03:00
alexey-milovidov
8b050b0061
Update HTTPHandler.cpp
2019-05-29 03:23:47 +03:00
Danila Kutenin
98d28706f4
Fix settings in ExternalData HTTP request
2019-05-29 00:31:19 +03:00
Alexander Tretiakov
946fa5b47e
fix style and add tests
2019-05-25 16:43:52 +03:00
Alexander Tretiakov
c661f5c0a1
new
2019-05-19 00:07:23 +03:00
Vitaly Baranov
8277e9d8f1
Refactoring of Settings based on new template class SettingsCollection.
...
Add new class SettingsConstraints.
2019-04-26 19:11:05 +03:00
Mikhail Fandyushin
68106d92ea
bringing query id header to consistency
2019-04-10 23:13:41 +03:00
Mikhail Fandyushin
e986d0eae6
HTTP Accept-Encoding: br; Final fixes
2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
73a9644da2
HTTP Accept-Encoding: br; Expended ZlibCompressionMethod to generic CompressionMethod; Added brotli to CompressionMethod enum
2019-03-21 00:04:35 +03:00
Maxim Akhmedov
9a56294fdf
CHYT-67: introduce host context for using CH as a library.
2019-03-06 19:47:47 +03:00
proller
263e69e861
Build fixes (FreeBSD port) ( #4397 )
2019-02-15 14:46:07 +03:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli
2019-02-11 23:44:39 +03:00
Alexey Milovidov
ba3cb83a84
Removed duplicate includes
2019-02-10 20:12:22 +03:00
Mikhail Fandyushin
1ee18203ae
handle brotli errors; working wersion of BrotliReadBuffer
2019-02-06 02:12:31 +03:00
Mikhail Fandyushin
7e9e34bebf
WIP: Reading brotli encoded HTTP messages. First-draft-ugly implementation, but its works
2019-02-05 01:15:08 +03:00
alexey-milovidov
39f8eb571f
Merge pull request #4213 from nvartolomei/nv/http-cancel
...
Cancel http read only queries if client socket goes away
2019-02-04 17:33:47 +03:00
alexey-milovidov
8db13da097
Update HTTPHandler.cpp
2019-02-03 23:40:34 +03:00
alexey-milovidov
e3b32ec679
Merge pull request #4231 from fandyushin/queryid
...
Added Query-Id to http response header
2019-02-02 17:38:13 +03:00
Mihail Fandyushin
7294b8adf2
Added Query-Id to http response header
2019-02-02 15:24:26 +03:00
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
Alexey Milovidov
65f8e4d4a8
Merge branch 'master' into global-thread-pool
2019-01-25 16:33:50 +03:00
Ivan Lezhankin
05ab15cc84
Merge IBlockInputStream
and IProfilingBlockInputStream
into one
2019-01-23 17:48:50 +03:00
Alexey Milovidov
a98e822a10
Attempt to implemnt global thread pool #4018
2019-01-15 21:39:54 +03:00
proller
300bbdfb43
Fix cyclic lib depend ppart 2: clean
2018-12-28 21:15:26 +03:00
Amos Bird
ab8821255c
Remove redundant query context attachment
2018-11-20 22:21:48 +08:00
Alexey Zatelepin
31bc680ac5
ErrorCodes::SYNTAX_ERROR now causes HTTP_BAD_REQUEST
2018-10-29 21:00:36 +03:00
Alexey Milovidov
a3745a6aa7
Fixed usage of query scope in TCPHandler #2482
2018-09-08 02:22:02 +03:00
Alexey Milovidov
37438b6750
More thread names #2482
2018-08-31 04:00:09 +03:00
Alexey Milovidov
e0f1637506
Moved file to appropriate place; split to cpp #2482
2018-08-20 05:34:00 +03:00
Alexey Milovidov
f1ba2f9a33
Try to fix "query in form data" feature while still tracking limits for external tables (try №2) #2482
2018-08-20 05:23:35 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910
2018-06-28 20:47:25 +03:00
Alexey Milovidov
d4eefc414c
Merge branch 'query_in_form_data' of https://github.com/stavrolia/ClickHouse into stavrolia-query_in_form_data
2018-06-28 20:34:58 +03:00
Vitaliy Lyudvichenko
358e4ae9bf
Fixed failures in utils, more precise test. [#CLICKHOUSE-2910]
2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
e13ba09004
Rewritten ThreadStatus via adding shared thread state. [#CLICKHOUSE-2910]
...
Fixed race condition in SystemLog.
2018-06-19 23:30:35 +03:00
Vitaliy Lyudvichenko
4cd230f85c
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-14 16:04:00 +03:00
Alexey Milovidov
51044279e5
Squashed #2471
2018-06-05 23:09:51 +03:00