Alexey Katsman
ca4e2f581a
Add columns for values used in the formatting message into system.text_log
2024-04-23 17:26:56 +01: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
Alexey Milovidov
b143dd3dae
Reimplement #48790
2023-04-14 22:31:17 +02:00
Kruglov Pavel
1d12e85d55
Merge branch 'master' into non-blocking-connect
2023-03-20 13:23:55 +01:00
Robert Schulze
0e01e912fe
Preparation for libcxx(abi), llvm, clang-tidy 16
2023-03-19 17:25:41 +00:00
avogar
17f5356178
Improve async reading from socket
2023-03-15 12:18:08 +00:00
Robert Schulze
5cee479f0c
Merge pull request #47424 from ClickHouse/rs/compile-with-cpp23
...
Compile with C++23
2023-03-15 10:55:42 +01:00
Alexander Tokmakov
ba6c6255a3
hide too noisy log messages, fix some tests
2023-03-14 00:23:36 +01:00
Robert Schulze
348a40aa5d
Compile with C++23
2023-03-10 19:11:58 +00:00
Kseniia Sumarokova
a9a0d2f5c4
Merge pull request #46524 from artem-yadr/master
...
Support for MongoDB Replica Set URI with readPreference and host:port enum in MongoDB dictionaries
2023-03-07 11:40:33 +01:00
Amos Bird
8162446496
The three-way comparison operator
...
Please refer to
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2468r2.html
for more information on why it is necessary to modify the code in this
way.
2023-03-01 11:06:34 +08:00
artem-yadr
f53b65a7cc
small fix
2023-02-28 21:01:03 +03:00
artem-yadr
385beda888
Update base/poco/MongoDB/include/Poco/MongoDB/Connection.h
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2023-02-27 16:25:12 +03:00
artem-yadr
7684153100
Redeclaration error fix
2023-02-27 16:18:08 +03:00
Robert Schulze
b20ac16d08
Slightly easier to read SyntaxExceptions
...
E.g. exception text for input '2 ':
- before:
Syntax error: Not a valid integer: 2
- now:
Syntax error: Not a valid integer: '2 '
2023-02-26 15:17:28 +00:00
Robert Schulze
052010592c
Poco: Remove some dead code
2023-02-23 10:13:07 +00:00
Robert Schulze
4fd4e77737
Poco: POCO_HAVE_INT64 is always defined
2023-02-22 13:48:29 +00:00
Alexey Milovidov
d8cda3dbb8
Remove PVS-Studio
2023-02-19 23:30:05 +01:00
bkuschel
55e9322612
Fixes for OpenSSL and s390x
2023-02-17 16:20:21 -05:00
artem-yadr
4999d6cb1a
Update Connection.h
2023-02-17 01:58:31 +03:00
artem-yadr
83dbde476b
move brackets and delete newline
2023-02-17 01:53:42 +03:00
artem-yadr
4a2efc339b
Header fix
2023-02-17 01:47:36 +03:00