Sema Checherinda
e36a641a80
Merge branch 'master' into protocols-tls-extend-params
2024-06-20 19:02:12 +02:00
Sergei Trifonov
e97c730e85
Revert "Use 1MB HTTP buffers to avoid frequent send syscalls"
2024-06-20 17:06:18 +02:00
Robert Schulze
ddb1ebe66a
Merge pull request #65396 from rschu1ze/revert-obsolete-openssl-fix
...
Move a leaksan suppression from Poco into OpenSSL
2024-06-19 20:47:28 +00:00
Kseniia Sumarokova
784f66cf2f
Merge pull request #65239 from ClickHouse/tracing-try-2
...
Initialize global profiler for Poco::ThreadPool (needed for keeper, etc)
2024-06-19 09:00:46 +00:00
Robert Schulze
466aec959a
Revert "Suppress false positives in leaksan"
...
This reverts commit 2418d673f1
.
2024-06-19 08:30:44 +00:00
serxa
7a01b8189c
fix typo, renames
2024-06-19 00:49:21 +00:00
Sergei Trifonov
f1cf1751f3
Merge pull request #65028 from ClickHouse/fix-poco-send-http-buffer
...
Use 1MB HTTP buffers to avoid frequent send syscalls
2024-06-18 18:38:38 +00:00
Robert Schulze
e3818a9794
Re-enable session caching
2024-06-17 12:16:02 +00:00
kssenii
fb32a99578
Initialize global trace collector for Poco::ThreadPool
2024-06-13 19:20:58 +02:00
serxa
aad55ab55f
IO scheduling on HTTP session level
2024-06-12 14:49:06 +00:00
serxa
ab79addee4
use 1MB HTTP buffers to avoid frequnet send syscalls
2024-06-09 12:55:31 +00:00
Kirill Nikiforov
eb6713dfc1
possibility to use the legacy impl, settings for ignore query build failure, fix ssl
2024-06-02 03:29:00 +03:00
Kirill Nikiforov
25f70496e5
Merge branch 'master' into mongodb_refactoring
2024-05-26 02:04:41 +03:00
Anton Ivashkin
983fa64e4f
Fix CertificateReloader usage for custom protocols
2024-05-23 17:53:23 +02:00
Anton Ivashkin
b8389925a4
Merge master
2024-05-19 16:12:51 +02:00
Anton Ivashkin
92df0f9737
More parameters for tls layer in protocols
2024-05-16 18:34:17 +02:00
qiangxuhui
47b7d3748d
Fix code for loongarch64
...
Fix `base/poco` and `contrib/openssl-cmake` based on code review comments(https://github.com/ClickHouse/ClickHouse/pull/61509 ).
2024-05-14 07:45:57 +00:00
qiangxuhui
97a5de9653
Initial support for loongarch64
...
Make ClickHouse compilable and runnable on loongarch64
So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.
2024-05-14 07:45:26 +00:00
Kirill Nikiforov
8e2adaa506
Merge branch 'master' into mongodb_refactoring
2024-05-02 20:01:38 +03:00
Alexey Katsman
ca4e2f581a
Add columns for values used in the formatting message into system.text_log
2024-04-23 17:26:56 +01:00
Kirill Nikiforov
5a25ba7de9
WIP
2024-04-20 21:26:06 +03:00
Vitaly Baranov
d12608f366
Merge pull request #62669 from slvrtrn/http-interface-role-query-param
...
Add `role` query parameter to the HTTP interface
2024-04-17 16:39:49 +00:00
slvrtrn
0718a31921
Add NameValueCollection::getAll method
2024-04-16 18:50:39 +02:00
Robert Schulze
7dc05d092b
Merge remote-tracking branch 'rschu1ze/master' into be-less-boring-32
2024-04-15 16:35:10 +00:00
loselarry
7774a2a313
chore: fix some comments
...
Signed-off-by: loselarry <bikangning@yeah.net>
2024-04-10 17:21:25 +08:00
Nikita Taranov
a2147b8ded
Merge branch 'master' into keep_alive_max_reqs
2024-04-09 21:32:36 +02:00
Robert Schulze
d30b48f54e
Disable session caching to work around tsan races
2024-04-08 11:16:06 +00:00
Robert Schulze
d8b1275e81
Fix test_dictionaries_all_layouts_separate_sources
...
Fixes:
<Information> ReadWriteBufferFromHTTP: Failed to make request to `https://localhost:8889/ `. Error: SSL Exception: error:0A000126:SSL routines::unexpected eof while reading. Failed at try 9/10. Will retry with current backoff wait is 10000/10000 ms.
--> https://github.com/openssl/openssl/discussions/22690#discussioncomment-7534909
2024-04-08 11:04:28 +00:00
Robert Schulze
2418d673f1
Suppress false positives in leaksan
2024-04-08 11:03:43 +00:00
Sema Checherinda
0bce544779
Update base/poco/Net/src/HTTPClientSession.cpp
...
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2024-04-05 23:07:00 +02:00
Sema Checherinda
ae3a199939
support max requests for keep alive
2024-04-05 00:37:29 +02:00
Sema Checherinda
5cab8d185f
more details
2024-04-05 00:37:19 +02:00
Sema Checherinda
dd852da339
add more debug logs
2024-04-05 00:30:03 +02:00
Sema Checherinda
8e6cbc8b31
several fixes for client's keep alive connections
2024-04-03 15:13:59 +02:00
Alexey Milovidov
a7c490e1df
Fix build with clang-19 (master)
2024-04-03 05:42:41 +02:00
Nikita Taranov
d7b34a80bb
stash
2024-03-22 16:09:14 +00:00
Oxide Computer Company
6e260d9419
poco foundation: add illumos support
2024-03-21 11:15:43 +00:00
Oxide Computer Company
981c9e0c12
Restore poco SUN files
...
These were accidentally deleted as unused in
https://github.com/ClickHouse/ClickHouse/commit/44afecf083b2cfa3d77d2e227f
2024-03-20 14:09:35 +00:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers
2024-03-18 08:00:09 +00:00
Sema Checherinda
e6af636a54
fix data race in poco tcp server
2024-03-13 14:14:35 +01:00
Sema Checherinda
5c41727725
http connections pools
2024-03-10 10:00:18 +01:00
Alexey Milovidov
c192a448d0
Update to clang-19
2024-02-27 14:37:21 +01:00
Maksim Kita
cb702f72ef
Updated implementation
2024-02-09 21:39:35 +03:00
Maksim Kita
dc52def9eb
Revert "Revert "Poco Logger small refactoring""
2024-02-09 21:39:35 +03:00
Raúl Marín
87d493533c
Revert "Poco Logger small refactoring"
2024-02-02 12:10:05 +01:00
Maksim Kita
f62fdb86b8
Fixed tests
2024-02-01 12:51:50 +03:00
Maksim Kita
056108667f
Fixed tests
2024-02-01 12:51:50 +03:00
Maksim Kita
ecbea6f625
Updated implementation
2024-02-01 12:51:50 +03:00
Maksim Kita
88f1381739
Poco Logger small refactoring
2024-02-01 12:51:50 +03:00
Maksim Kita
bccd8b5e27
Fixed tests
2024-01-28 13:55:44 +03:00
Maksim Kita
50309dfd90
Fixed tests
2024-01-28 13:55:44 +03:00
Maksim Kita
07750ee949
Added AtomicLogger
2024-01-28 13:55:44 +03:00
Maksim Kita
485a46f610
Fixed tests
2024-01-25 14:31:49 +03:00
Maksim Kita
109337e91e
Updated implementation
2024-01-25 14:31:49 +03:00
Maksim Kita
6f698b40ae
Poco update Logger to allow create shared LoggerPtr
2024-01-25 14:31:18 +03:00
Maksim Kita
bd8bbdaeb3
Poco update RefCountedObject with std::atomic
2024-01-25 14:31:18 +03:00
Nikita Taranov
bbf070caa6
impl
2024-01-17 14:08:02 +01:00
Azat Khuzhin
9a8b308a3d
Correctly handle keys with dot in the name in configurations XMLs
...
For this I've added escape of the keys returned by keys() method, and
handle this escaping in get*() methods.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-29 17:30:23 +01:00
Azat Khuzhin
f066f31514
Adjust all std::ios implementations in poco to set failbit/badbit by default
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-22 18:34:34 +01:00
Andrei Fedotov
341806d440
Fix Integer overflow in Poco::UTF32Encoding
2023-12-20 16:29:17 +03:00
Igor Nikonov
73ff984755
Remove select() usage
2023-12-04 09:33:34 +00:00
Sema Checherinda
f999337dae
Revert "Revert "s3 adaptive timeouts""
2023-11-20 14:53:22 +01:00
Alexander Tokmakov
5031f239c3
Revert "s3 adaptive timeouts"
2023-11-20 14:28:59 +01:00
Sema Checherinda
74a8f3191d
Update HTTPSession.cpp
2023-11-17 11:38:56 +01:00
Sema Checherinda
4a1e207e7a
review notes
2023-11-16 12:31:00 +01:00
Sema Checherinda
6e3e6383ba
perf check 2
2023-11-15 19:00:27 +01:00
Sema Checherinda
64c2a69666
check performance
2023-11-14 20:28:37 +01:00
Sema Checherinda
3075bd9745
track clickhouse high level retries
2023-11-14 11:34:12 +01:00
Sema Checherinda
45de9beab4
set new timeout for session from connection pool
2023-11-14 11:34:12 +01:00
Arthur Passos
b6e205dcdf
Add ClickHouse setting to disable tunneling for HTTPS requests over HTTP proxy ( #55033 )
...
* initial commit. integ tests passing, need to re-run unit & my own personal tests
* partial refactoring to remove Protocol::ANY
* improve naming
* remove all usages of ProxyConfiguration::Protocol::ANY
* fix ut
* blabla
* support url functions as well
* support for HTTPS requests over HTTP proxy with tunneling off
* remove gtestabc
* fix silly mistake
* ...
* remove usages of httpclientsession::proxyconfig in src/
* got you
* remove stale comment
* it seems like I need reasonable defaults
* fix ut
* add some comments
* remove no longer needed header
* matrix out
* add https over http proxy with no tunneling
* soem docs
* partial refactoring
* rename to use_tunneling_for_https_requests_over_http_proxy
* improve docs
* use shorter version
* remove useless test
* rename the setting
* update
* fix typo
* fix setting docs typo
* move ); up
* move ) up
2023-11-04 13:47:52 -04:00
Nikolay Degterinsky
a1e56a3df1
Fix MongoDB connection issues
2023-10-09 14:46:48 +00:00
Alexey Milovidov
d87997d001
Merge pull request #52893 from knoguchi/CVE-2016-2183
...
CVE-2016-2183: disable 3DES
2023-08-12 03:34:49 +03:00
Alexey Milovidov
c89c966d61
Merge branch 'master' into fix-comment
2023-08-10 17:03:31 +03:00
Alexey Milovidov
aa757490bd
Ditch tons of garbage
2023-08-09 02:19:02 +02:00
Alexey Milovidov
264bff8c9f
Fix a comment
2023-08-05 01:44:16 +02:00
Kenji Noguchi
17c4abce10
CVE-2016-2183: disable 3DES
2023-08-01 10:44:43 -07:00
avogar
b5fc34b770
Rename setting disable_url_encoding to enable_url_encoding and add a test
2023-07-27 12:20:33 +00:00
Alexander Tokmakov
954a1d3ede
Improve logging macros ( #52519 )
...
* improve logging macros
* fix
* Update logger_useful.h
* fix
* fix
2023-07-26 23:38:14 +03:00
Alexey Milovidov
168b84a592
Merge pull request #52337 from Avogar/no-decode-url
...
Allow to disable decoding/encoding path in uri in URL engine
2023-07-25 05:43:06 +03:00
Kruglov Pavel
c35da36ff2
Fix default value
2023-07-24 19:50:53 +02:00
avogar
f6a44f8eed
Better
2023-07-20 12:40:41 +00:00
avogar
483ddb53eb
Fixes
2023-07-19 19:51:58 +00:00
avogar
2b8e4ebd4c
Allow to disable decoding/encoding path in uri in URL engine
2023-07-19 19:48:39 +00:00
Aleksei Filatov
08defa36b2
Add code
2023-07-15 08:18:35 +03:00
Alexander Sapin
a74bc6190d
Implement suggestion
2023-07-03 15:46:30 +02:00
Alexander Sapin
d1c4a37473
Remove MemoryPool from Poco because it's useless
2023-07-03 14:38:38 +02:00
Alexey Milovidov
0e88aae9d7
Remove ConsoleCertificateHandler
2023-06-26 04:27:50 +02:00
Nikolay Degterinsky
9ad8e022a8
Merge branch 'master' into update-mongo
2023-06-10 10:58:02 +02:00
Yakov Olkhovskiy
393c0c3a4f
Merge pull request #50240 from aalexfvk/fix_https_replication_changed_ip_bug
...
Fix reconnecting of HTTPS session when target host IP was changed
2023-06-08 08:58:48 -04:00
avogar
ef9bae50b9
Fix bugs in Poco, use true non-blocking IO
2023-05-26 23:11:57 +00:00
Aleksei Filatov
2a2c35e4c1
Fix changed IP for https session
2023-05-26 09:08:34 +03:00
Nikolay Degterinsky
183f90e45a
Update MongoDB protocol
2023-05-22 09:05:23 +00:00
Alexey Milovidov
355d5af786
Remove some code
2023-05-06 18:33:45 +02:00
Robert Schulze
bb09ce2516
Remove some stuff from poco
2023-04-23 14:48:45 +00:00
Alexey Milovidov
b46b0f02e3
Remove some code
2023-04-23 07:29:53 +02:00
Alexey Milovidov
30c3ae6907
Remove some code
2023-04-23 07:27:47 +02:00
Alexey Milovidov
7d7de1702f
Remove some code
2023-04-23 07:24:50 +02:00
Alexey Milovidov
5628ff2c3f
Remove some code
2023-04-23 06:50:42 +02:00
Kruglov Pavel
2ad161d2b7
Merge branch 'master' into non-blocking-connect
2023-04-19 13:39:40 +02:00
Alexey Milovidov
a8a713b5c0
Even better
2023-04-14 22:50:10 +02:00