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 |
|
shuxin zheng
|
4542b76c97
|
Optimize connections pool for checking dead connections.
|
2024-08-19 18:58:59 +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 |
|
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 |
|
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
|
9f2658027c
|
Remove virtual prefix for mqtt_header to save 8 bytes.
|
2024-08-04 19:08:21 +08:00 |
|
zhengshuxin
|
3ab1bf8117
|
Using setsockopt/getsockopt to set/get the IO timeout is one option in set_rw_timeout/get_rw_timeout API of stream class.
|
2024-07-23 15:03:13 +08:00 |
|
shuxin zheng
|
5c85d8fe63
|
Format codes style.
|
2024-07-22 17:07:57 +08:00 |
|
shuxin zheng
|
e3ee30e045
|
Remove virtual prefix to save 8 bytes memory.
|
2024-07-22 16:08:25 +08:00 |
|
zhengshuxin
|
83aef8288b
|
Add some operations between acl::string and std::string.
|
2024-06-10 20:47:32 +08:00 |
|
zhengshuxin
|
152a2a2b4f
|
Add more functions for acl::string.
|
2024-06-10 19:37:18 +08:00 |
|
shuxin zheng
|
eb934d9601
|
Optimize split namevalue string.
|
2024-06-05 09:39:50 +08:00 |
|
shuxin zheng
|
533aa0d08a
|
Add API of setting/getting context for each SSL IO object.
|
2024-05-27 09:06:15 +08:00 |
|
zhengshuxin
|
e81cc716da
|
Optimize SSL SNI checking process.
|
2024-05-26 23:10:41 +08:00 |
|
shuxin zheng
|
db9a32702b
|
Add sni checking process before SSL handshake.
|
2024-05-25 16:19:25 +08:00 |
|
shuxin zheng
|
58058dde10
|
Fixed one bug in openssl_io.cpp when seting IO timeout by setsockopt.
|
2024-05-25 11:26:08 +08:00 |
|
zhengshuxin
|
a6d6a527c2
|
logger_test1, logger_test12 should be added in ACL_LOGGER_MACRO_OFF conditional compilinng.
|
2024-04-15 14:21:29 +08:00 |
|
zhengshuxin
|
6c856c9d01
|
Add conditional compiling to disable logger_xxx macros by define ACL_LOGGER_MACRO_OFF to avoid collsion with other third libs.
|
2024-04-12 18:17:46 +08:00 |
|
zhengshuxin
|
c47609ad20
|
Modify comments.
|
2024-03-30 12:49:17 +08:00 |
|
zhengshuxin
|
9e4c422722
|
Use setsockopt as the default way to control IO timeout.
|
2024-03-30 10:56:31 +08:00 |
|
zhengshuxin
|
4c41c86bc0
|
Use setsockopt to set the IO timeout for OpenSSL module.
|
2024-03-25 17:53:44 +08:00 |
|
zhengshuxin
|
3a8174ece3
|
Add conditional compiling with ACL_DBUF_HOOK_NEW.
|
2024-03-16 22:51:28 +08:00 |
|
zhengshuxin
|
f2e553bc98
|
Build acl by cosmocc.
|
2024-03-16 16:08:06 +08:00 |
|
zhengshuxin
|
5e7b208702
|
Add pre_exit callback before service exiting which is different with the old on_exit callback.
|
2024-03-01 17:23:27 +08:00 |
|
shuxin zheng
|
ba0a630952
|
Optimize mqtt module by using std::string that will use smaller memroy than acl::string.
|
2024-02-05 17:26:13 +08:00 |
|
shuxin zheng
|
7393b6ddf2
|
Use std::string replacing acl::string.
|
2024-02-05 16:06:08 +08:00 |
|
zhengshuxin
|
b2650d3e6f
|
Optimize and test tbox2.hpp
|
2024-01-06 12:52:03 +08:00 |
|
zhengshuxin
|
980c56df1f
|
Add tbox2 for transfering messages.
|
2024-01-06 10:59:33 +08:00 |
|
shuxin zheng
|
73d0f3a02a
|
Merge branch 'master' of gitee:zsxxsz/acl into gitee-master
|
2023-12-09 15:46:01 +08:00 |
|
shuxin zheng
|
b74b0d1c0e
|
socket_stream's default read/write buffer size can be set by calling acl::istream::set_rbuf_size() or acl::ostream::set_wbuf_size().
|
2023-12-09 15:41:45 +08:00 |
|
zhengshuxin
|
cad5d4c8d7
|
Add operator == for acl::string for comparing "ok" == acl::string.
|
2023-12-08 21:37:42 +08:00 |
|
shuxin zheng
|
88f215e41c
|
Optimize and test bind local network interface when connecting the remote server.
|
2023-11-18 14:53:25 +08:00 |
|
shuxin zheng
|
0b8dd11dca
|
Client socket can bind local interface when connecting to the remote server.
|
2023-11-17 18:49:11 +08:00 |
|
zhengshuxin
|
11a066390a
|
Use void* to replace MYSQL* db_mysql.hpp to avoid type define collision when compiling acl_cpp module.
|
2023-11-06 22:12:40 +08:00 |
|
zhengshuxin
|
815d277564
|
dbuf_pool can only be freed when it is created internal in dbuf_guard.
|
2023-10-27 17:37:52 +08:00 |
|
shuxin zheng
|
551d285833
|
Add bool return for load() API in db module.
|
2023-10-18 14:27:29 +08:00 |
|
zhengshuxin
|
fe9004ffb6
|
Redifine acl::shared_stream for c++11 using.
|
2023-09-26 10:44:15 +08:00 |
|
shuxin zheng
|
e78c53d659
|
Add more functions for multicast.
|
2023-09-20 16:53:15 +08:00 |
|
shuxin zheng
|
fff2bed41b
|
Adding multicast ...
|
2023-09-20 15:15:11 +08:00 |
|
zhengshuxin
|
74fea49d62
|
Fixed bugs in redis_client_pipeline when handling redis node down.
|
2023-09-13 17:19:19 +08:00 |
|