Commit Graph

63 Commits

Author SHA1 Message Date
Vitaly Baranov
d90364e011 Poco Net: make MessageHeader limits configurable (cherry-pick of https://github.com/pocoproject/poco/pull/3404) 2024-12-04 00:24:47 +01:00
Sema Checherinda
fe2aa961b6 rework TCPHandler exception handling 2024-11-11 11:37:13 +01:00
Sema Checherinda
f1ab911910 cancel or finalize write buffer 2024-11-11 11:37:12 +01:00
serxa
c6aa12feae Merge branch 'master' into s3-streams-scheduler 2024-08-31 12:13:38 +00:00
flynn
e4aceed36a Add virtual column _headers for url table engine 2024-08-25 07:49:30 +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
serxa
8724c5ad52 Merge branch 'master' into s3-streams-scheduler 2024-08-02 09:52:55 +00: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
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
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
Sergei Trifonov
e97c730e85
Revert "Use 1MB HTTP buffers to avoid frequent send syscalls" 2024-06-20 17:06:18 +02:00
serxa
7a01b8189c fix typo, renames 2024-06-19 00:49:21 +00: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
slvrtrn
0718a31921 Add NameValueCollection::getAll method 2024-04-16 18:50:39 +02:00
Nikita Taranov
a2147b8ded
Merge branch 'master' into keep_alive_max_reqs 2024-04-09 21:32:36 +02: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
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
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
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
Alexey Milovidov
aa757490bd Ditch tons of garbage 2023-08-09 02:19:02 +02: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
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
Robert Schulze
bb09ce2516
Remove some stuff from poco 2023-04-23 14:48:45 +00:00
avogar
17f5356178 Improve async reading from socket 2023-03-15 12:18:08 +00:00
Robert Schulze
052010592c
Poco: Remove some dead code 2023-02-23 10:13:07 +00:00