Commit Graph

4212 Commits

Author SHA1 Message Date
zhengshuxin
6199e3f619 Merge branch 'gitee-master' into gitlab-upstream 2024-08-21 18:21:18 +08:00
zhengshuxin
738bef8141 The expire idle connections should be removed in connections pool. 2024-08-21 18:20:30 +08:00
zhengshuxin
7634b731a9 Merge branch 'gitee-master' into gitlab-upstream 2024-08-21 16:38:44 +08:00
shuxin   zheng
11ac10a0f3 Add DEBUG_CPOLL debug log for connection pool. 2024-08-21 16:37:57 +08:00
zhengshuxin
ead911271e Merge branch 'gitee-master' into gitlab-upstream 2024-08-21 14:38:34 +08:00
shuxin   zheng
775cae7e2c Optimize connections pool. 2024-08-21 14:37:56 +08:00
zhengshuxin
e06eb8d5f5 Merge branch 'gitee-master' into gitlab-upstream 2024-08-21 14:05:51 +08:00
shuxin   zheng
09e23958af Test connection pool. 2024-08-21 14:05:18 +08:00
zhengshuxin
09753e0564 Merge branch 'gitee-master' into gitlab-upstream 2024-08-21 11:48:46 +08:00
shuxin   zheng
862021b554 Optimize connection pool module. 2024-08-21 11:41:55 +08:00
zhengshuxin
67720b53b9 Merge branch 'gitee-master' into gitlab-upstream 2024-08-20 17:52:01 +08:00
zhengshuxin
1e6ae25c2b Test connections pool. 2024-08-20 17:45:09 +08:00
shuxin   zheng
555dea11c8 Use threads pool to check connections in connection pool module. 2024-08-20 17:21:27 +08:00
zhengshuxin
38ef84e054 Merge branch 'gitee-master' into gitlab-upstream 2024-08-20 11:37:41 +08:00
shuxin   zheng
56d54b2c73 Fixed some compiling warning. 2024-08-20 11:26:25 +08:00
shuxin   zheng
c61d20ca83 Optimize connection pool module. 2024-08-20 11:18:17 +08:00
zhengshuxin
3a4af48b5d Merge branch 'gitee-master' into gitlab-upstream 2024-08-19 19:00:08 +08:00
zhengshuxin
6cec79f199 test connection pool management. 2024-08-19 18:59:40 +08:00
shuxin   zheng
4542b76c97 Optimize connections pool for checking dead connections. 2024-08-19 18:58:59 +08:00
zhengshuxin
382471a74b Merge branch 'gitee-master' into gitlab-upstream 2024-08-19 17:22:28 +08:00
shuxin   zheng
40381ca221 Fixed bugs for dead lock in connections pool module. 2024-08-19 17:21:44 +08:00
zhengshuxin
c52bb82780 Merge branch 'gitee-master' into gitlab-upstream 2024-08-19 16:44:39 +08:00
shuxin   zheng
69045352d6 Compiling one demo ok. 2024-08-19 16:43:46 +08:00
zhengshuxin
47f9f4d3a7 Merge branch 'gitee-master' into gitlab-upstream 2024-08-19 16:29:54 +08:00
shuxin   zheng
7729ab3fe5 Fixed some compiling errors on MaxOS. 2024-08-19 16:23:14 +08:00
shuxin   zheng
f5478d54a4 Optimize connections pool. 2024-08-19 15:02:32 +08:00
zhengshuxin
c3e36b7fcf Merge branch 'gitee-master' into gitlab-upstream 2024-08-19 11:53:35 +08:00
shuxin   zheng
7128f97302 Optimize connections pool module. 2024-08-19 11:51:57 +08:00
郑树新
5a1f55fe81 Fixed one compiling error on windows. 2024-08-19 09:55:41 +08:00
zhengshuxin
1d653cce0c Merge branch 'gitee-master' into gitlab-upstream 2024-08-18 23:15:43 +08:00
zhengshuxin
af36b29bff Seperate samples with c and c++ for fiber module. 2024-08-18 23:13:27 +08:00
zhengshuxin
89b1845bbf Merge branch 'gitee-master' into gitlab-upstream 2024-08-15 17:56:01 +08:00
shuxin   zheng
20b36c3bfa Upgrade acl update timestamp. 2024-08-15 17:55:13 +08:00
shuxin   zheng
f31aa5c3c4 Optimize connection pool module for checking idle connections. 2024-08-15 17:54:22 +08:00
shuxin   zheng
076d93dd71 Optimize acl_socket_alive2() API. 2024-08-15 17:20:57 +08:00
zhengshuxin
507e83435a Merge branch 'gitee-master' into gitlab-upstream 2024-08-15 16:39:49 +08:00
shuxin   zheng
f389e7c10c Add debug args for socket_stream::alive() API; 2024-08-15 16:37:04 +08:00
zhengshuxin
f153c4ea89 test connection pool module. 2024-08-15 16:00:32 +08:00
shuxin   zheng
525b91649d Optimize connection pool module. 2024-08-15 15:52:12 +08:00
zhengshuxin
ea03bcc0f1 Merge branch 'gitee-master' into gitlab-upstream 2024-08-15 11:25:24 +08:00
shuxin   zheng
1bc8785648 Checking connection's idle and dead status in connection pool module. 2024-08-15 11:18:45 +08:00
shuxin   zheng
0835d761a4 Supports using socketopt to set the timeout of all connections in connection pool. 2024-08-14 17:32:27 +08:00
shuxin   zheng
22392dcbf5 format codes. 2024-08-14 17:00:44 +08:00
zhengshuxin
247030febb Merge branch 'gitee-master' into gitlab-upstream 2024-08-14 10:24:18 +08:00
zhengshuxin
8e0bc44b9b Change tc's type from int* to double* in connect_pool::peek() API. 2024-08-14 10:23:33 +08:00
zhengshuxin
13426f9833 Merge branch 'gitee-master' into gitlab-upstream 2024-08-13 15:46:31 +08:00
zhengshuxin
2d68ef8030 Add more params for connect_pool::peek() API. 2024-08-13 15:45:44 +08:00
zhengshuxin
a02a9382a0 Merge branch 'gitee-master' into gitlab-upstream 2024-08-13 11:30:50 +08:00
zhengshuxin
16ca5dfbc4 Fixed bug in connect_pool::put() when checking idle connections. 2024-08-13 11:29:57 +08:00
zhengshuxin
bdcaad04c7 test fiber. 2024-08-12 20:37:56 +08:00