Commit Graph

1486 Commits

Author SHA1 Message Date
zhengshuxin
655ba1b664 Format codes. 2024-11-10 11:01:40 +08:00
zhengshuxin
9abb5f5073 Format codes. 2024-11-10 10:32:27 +08:00
zhengshuxin
44f5c0c3cc Add get/post methods in http_request class. 2024-11-10 10:19:59 +08:00
shuxin   zheng
8464223071 Add IO benchmark test demo. 2024-10-30 16:25:35 +08:00
shuxin   zheng
e9ceaa6029 Fixed bugs in acl_fiber_close() API in thread mode that needn't create io fiber. 2024-10-18 14:42:48 +08:00
shuxin   zheng
6600a6ac3b Add split_at/split_at_right in string class. 2024-09-30 15:49:41 +08:00
zhengshuxin
fa1fd9d438 Set default HTTP type for http_response class. 2024-09-30 14:03:05 +08:00
shuxin   zheng
1ea0139062 Fixed bugs in mqtt_connect.cpp for parsing package. 2024-09-29 17:15:56 +08:00
zhengshuxin
a8c4b5b057 Build ok on FreeBSD. 2018-01-07 17:40:15 +08:00
shuxin   zheng
6d8aa2c8b9 Fixed bugs in HttpSerletRequest; Add one method in http_header. 2024-09-18 17:30:19 +08:00
zhengshuxin
92c40f8baa Add read/write waiting timeout for IO stream. 2024-09-16 12:26:57 +08:00
shuxin   zheng
88b9dc3632 Add align bytes set when creating dbuf; 16 bytes align for redis module. 2024-09-12 11:48:12 +08:00
zhengshuxin
16adf968c9 slice memory module should use 64 bits align on x64. 2024-09-10 11:54:17 +08:00
zhengshuxin
01d8b965b6 Fixed memory crashing in acl_dbuf_pool.c on UbuntuOS because the memory align. 2024-09-10 09:54:28 +08:00
郑树新
b19af9809d Optimize building process by cmake on Windows platforms. 2024-08-31 21:10:21 +08:00
zhengshuxin
db529f4ca5 Json node can be removed when walling through the json tree. 2024-08-24 22:30:56 +08:00
shuxin   zheng
d0a75a3843 Json node can be disabled and won't appear in the json string. 2024-08-23 18:50:47 +08:00
shuxin   zheng
afaa17db51 Format codes and add split in string class. 2024-08-23 14:38:30 +08:00
shuxin   zheng
b1785fa2e8 Calling set_idle_ttl/set_check_inter in connect_manager should set all pools' status. 2024-08-21 18:39:08 +08:00
zhengshuxin
738bef8141 The expire idle connections should be removed in connections pool. 2024-08-21 18:20:30 +08:00
shuxin   zheng
11ac10a0f3 Add DEBUG_CPOLL debug log for connection pool. 2024-08-21 16:37:57 +08:00
shuxin   zheng
775cae7e2c Optimize connections pool. 2024-08-21 14:37:56 +08:00
shuxin   zheng
09e23958af Test connection pool. 2024-08-21 14:05:18 +08:00
shuxin   zheng
862021b554 Optimize connection pool module. 2024-08-21 11:41:55 +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
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
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
shuxin   zheng
40381ca221 Fixed bugs for dead lock in connections pool module. 2024-08-19 17:21:44 +08:00
shuxin   zheng
69045352d6 Compiling one demo ok. 2024-08-19 16:43:46 +08:00
shuxin   zheng
f5478d54a4 Optimize connections pool. 2024-08-19 15:02:32 +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
shuxin   zheng
f31aa5c3c4 Optimize connection pool module for checking idle connections. 2024-08-15 17:54:22 +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
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
8e0bc44b9b Change tc's type from int* to double* in connect_pool::peek() API. 2024-08-14 10:23:33 +08:00
zhengshuxin
2d68ef8030 Add more params for connect_pool::peek() API. 2024-08-13 15:45:44 +08:00
zhengshuxin
16ca5dfbc4 Fixed bug in connect_pool::put() when checking idle connections. 2024-08-13 11:29:57 +08:00
zhengshuxin
896b92f75a Optimize and test fiber module in sharing stack mode. 2024-08-11 18:51:48 +08:00
zhengshuxin
9f2658027c Remove virtual prefix for mqtt_header to save 8 bytes. 2024-08-04 19:08:21 +08:00
zhengshuxin
d19f2629bf Don't retry when http request was canceled. 2024-07-29 14:23:16 +08:00
郑树新
c591b090ee Build ok on windows. 2024-07-27 22:20:18 +08:00
zhengshuxin
5ce851d299 test fiber. 2024-07-26 14:40:58 +08:00