Commit Graph

688 Commits

Author SHA1 Message Date
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
shuxin   zheng
637c52a77d Adding streaming redis parser. 2023-07-19 19:07:53 +08:00
zhengshuxin
49d73b733e Build sucessfully by clang with higher version. 2023-07-06 22:20:33 +08:00
zhengshuxin
c3980105f4 Removed the '\r\n' appended in json serialize. 2023-07-03 12:35:25 +08:00
zhengshuxin
855c3cbbd8 Add json_node remove API for json object. 2023-07-03 11:18:03 +08:00
zhengshuxin
316478aea4 format code. 2023-06-20 09:56:37 +08:00
zhengshuxin
8265c1c330 Use shared_ptr to protect socket_stream accepted. 2023-06-18 00:01:20 +08:00
zhengshuxin
6fa297ae4d Optimize wizard's template for http service. 2023-05-21 22:10:02 +08:00
shuxin   zheng
30e28278e9 Build ok for multiple platforms. 2023-04-17 16:28:35 +08:00
zhengshuxin
f4360ba693 Redis pipeline module can be used in sharing stack mode of fiber. 2023-03-31 21:51:45 +08:00
shuxin   zheng
2573cb6656 redis pipeline mode shouldn't use stack object for sharing stack of fibers 2023-03-31 14:30:56 +08:00
shuxin   zheng
639e1af308 Optimize objects' size in acl_cpp module. 2023-03-20 11:57:14 +08:00
zhengshuxin
118580492d Writing redis_gateway ... 2023-02-21 19:11:21 +08:00
shuxin   zheng
78c6fe1f1d Optimize redis module 2023-02-20 17:45:32 +08:00
zhengshuxin
60fe8c720b Support mbedtls-3.3.0. 2023-02-17 16:16:57 +08:00
zhengshuxin
10373e10d3 Optimize the compiling process. 2023-02-16 22:27:38 +08:00
zhengshuxin
ca4ba01f0a Support multiple certs for mbedtls module. 2023-02-16 18:25:05 +08:00
zhengshuxin
ed00082adf Optimize openssl module 2023-02-14 16:33:35 +08:00
zhengshuxin
525da0701c Fixed bugs for double free in ~openssl_conf(). 2023-02-14 09:57:42 +08:00
zhengshuxin
47e3a01aa9 Adding support multiple certs in mbedtls_conf... 2023-02-13 19:09:17 +08:00
zhengshuxin
c6d1b80c12 Fixed one bug when free ssl ctx in mbedtls_conf::~mbedtls_conf() 2023-02-13 17:06:30 +08:00