Commit Graph

193 Commits

Author SHA1 Message Date
Antonio Andelic
8cdcc431fe Fix 2024-09-16 13:30:17 +02:00
Antonio Andelic
3c47f3df4b Support more advanced SSL options for Keeper internal communication 2024-09-13 14:23:01 +02:00
Michael Kolupaev
bd0a07f199 Merge remote-tracking branch 'origin/master' into musysroot 2024-09-03 23:14:04 +00:00
Konstantin Bogdanov
dc0b491f11
Merge pull request #69130 from m4xxx1m/hostname-validation-config
Add validation of IP addresses and domains in settings
2024-09-03 17:09:17 +00:00
m4xxx1m
99fbeacddd Fix 'file not found' error 2024-09-03 13:28:39 +03:00
m4xxx1m
611ae2c013 Use Poco implementation of IP addresses validation 2024-09-03 12:41:39 +03:00
m4xxx1m
6fd7656aeb Added Poco::Util::AbstractConfiguration::getHost method 2024-09-01 12:36:36 +03:00
Michael Kolupaev
e955b2fc71 Merge remote-tracking branch 'origin/master' into musysroot 2024-08-31 19:48:19 +00:00
serxa
c6aa12feae Merge branch 'master' into s3-streams-scheduler 2024-08-31 12:13:38 +00:00
vdimir
bb22736bc3
Merge pull request #68867 from ucasfl/url-engine
Add virtual column _headers for url table engine
2024-08-27 13:27:19 +00:00
Nikita Mikhaylov
f38f95a144
Update base/poco/NetSSL_OpenSSL/src/SecureSocketImpl.cpp 2024-08-25 14:26:21 +02:00
flynn
e4aceed36a Add virtual column _headers for url table engine 2024-08-25 07:49:30 +00:00
Yakov Olkhovskiy
d163880004
process possible SSL error on connection reset 2024-08-25 00:11:31 -04:00
Michael Kolupaev
c869b06519 Remove getpwuid() calls in Poco::PathImpl 2024-08-14 03:43:48 +00:00
Nikita Taranov
ffa1371dde Merge branch 'master' into keep_alive_max_reqs 2024-08-09 12:24:45 +01:00
Nikita Taranov
49871bacc1 fix test 2024-08-07 12:37:39 +01:00
Nikita Taranov
5ae5cd35b5 update 2024-08-06 21:50:31 +01:00
Nikita Taranov
053285dc1c Merge branch 'master' into keep_alive_max_reqs 2024-08-06 20:55:48 +01:00
Alexander Tokmakov
77103aa729 Merge branch 'master' into reject_poco 2024-08-06 19:52:05 +02:00
Azat Khuzhin
2f00c96271 Support true UUID type for MongoDB engine
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:51:41 +02:00
Azat Khuzhin
6013e4b81d poco/MongoDB: Support broader UUID types (generated by python uuid.UUID)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:51:41 +02:00
serxa
8724c5ad52 Merge branch 'master' into s3-streams-scheduler 2024-08-02 09:52:55 +00:00
Nikita Mikhaylov
a457db34b2 Fixed a typo 2024-07-29 17:28:04 +00:00
Nikita Mikhaylov
c7c1f10720 Added new method 2024-07-29 17:28:04 +00:00
Alexander Tokmakov
0df6448e0f
Update base/poco/Foundation/include/Poco/ErrorHandler.h
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2024-07-16 14:38:02 +02:00
Alexander Tokmakov
243edcc8aa add logs and metrics about rejected connections in Poco 2024-07-12 01:11:18 +02:00
Nikita Mikhaylov
7ff447de68 Modify the code for build with new libcxx
(cherry picked from commit c896f0bf677bcc948d988cf83b2108e9f7cd761d)
2024-07-09 20:16:43 +00:00
Vitaly Baranov
6d0bf97476
Merge pull request #66067 from vitlibar/move-http-handler-stuff-to-separate-files
Move some of HTTPHandler stuff to separate source files in order to reuse it in PrometheusRequestHandler
2024-07-08 21:03:22 +00:00
Vitaly Baranov
eb7c2e4341 Remove unnecessary "const" from return type. 2024-07-05 21:42:57 +02:00
serxa
3fa5ad92b4 rename IHTTPSessionDataHooks methods 2024-07-05 10:33:22 +00:00
serxa
d7ee82b3fe Merge branch 'master' into s3-streams-scheduler 2024-07-05 10:08:45 +00:00
Robert Schulze
2c94218120
Random header fixes for libcxx 16 2024-07-04 15:39:50 +00:00
Vitaly Baranov
bf56ad69dd Make Context::setCurrentRoles() check that new current roles are granted in order to make HTTPHandler's implementation easier. 2024-07-03 21:23:09 +02:00
Azat Khuzhin
ef24f51789 Fix handling of SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE with zero timeout
Previously if you were using socket without timeout it wasn't able to
handle SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE, and even though sockets
without timeouts is an odd thing (but it is possible - [1]), it still
may be possible somewhere.

  [1]: https://github.com/ClickHouse/ClickHouse/pull/65917

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-01 19:33:39 +02:00
Sema Checherinda
fb2f0e78f7
Merge pull request #63985 from ianton-ru/protocols-tls-extend-params
More parameters for tls layer in protocols
2024-06-24 12:41:56 +00:00
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
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