Commit Graph

1393 Commits

Author SHA1 Message Date
zhengshuxin
57a944aefc Don't write log when messages are empty in redis_client_pipeline::flush_all(). 2024-01-26 09:18:27 +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
72feade14a Test coder demo. 2023-12-26 11:26:33 +08:00
zhengshuxin
2f42289ebd Use logger_debug() in mqtt_client.cpp when some errors happen. 2023-12-20 14:08:02 +08:00
shuxin   zheng
775f844dc3 Test acl_valid_ipv6_hostaddr(). 2023-12-18 18:09:40 +08:00
sukong
cfb83b05df Fix bug: redis_client get_string not comsume ending \r\n on empty string, which cause parse error when hgetall on key that contain such empty string. 2023-12-16 02:37:05 +08:00
郑树新
1331b420b3 Load OpenSSL dll successfully on Windows platforms. 2023-12-15 16:20:21 +08:00
zhengshuxin
57b9b904b8 Test ip connecting process. 2023-12-15 10:34:03 +08:00
郑树新
ac1683c687 Use OpenSSL on Windows ok. 2023-12-14 22:49:33 +08:00
shuxin   zheng
e7a00def28 Fixed bugs in test demos. 2023-12-12 11:52:51 +08:00
shuxin   zheng
a40a165b4e Url parser can parsing url like http://ip:port. 2023-12-12 11:52:08 +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
zhengshuxin
962e8f80fd Fixed one compiling error when build lib_acl_cpp to use Openssl in static mode with OPENSSL_STATIC=yes 2023-11-30 14:25:52 +08:00
zhengshuxin
a4337cf7fc Add CA double check on server side. 2023-11-26 10:30:19 +08:00
zhengshuxin
4ee1036c41 Change the cmake required from 3.2.0 to 2.8.0. 2023-11-22 14:57:39 +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
shuxin   zheng
1d9386a73d Build ok by xcode 15.0 2023-11-15 16:19:55 +08:00
zhengshuxin
52f0e713f8 Don't append '\0' in string::truncate(). 2023-11-06 22:16:01 +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
70225a813c fixed one bug in db_mysql::load() which should return bool 2023-10-30 12:32:42 +08:00
zhengshuxin
3b9fc38646 Fixed one compiling error in db_mysql::load() for which should return bool when db_mysql has been disabled. 2023-10-30 09:15:07 +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
shuxin   zheng
ee0565d169 Fixed one dead loop bug in mqtt_connect.cpp. 2023-10-17 16:30:56 +08:00
zhengshuxin
1cf20f39fc Remove debug log info in openssl_io.cpp. 2023-10-17 14:44:46 +08:00
zhengshuxin
fe9004ffb6 Redifine acl::shared_stream for c++11 using. 2023-09-26 10:44:15 +08:00
shuxin   zheng
52c9da8e3e Compile demo on mac 2023-09-20 18:42:04 +08:00
zhengshuxin
217dc1aa65 Add multicast in master udp service. 2023-09-20 18:23:03 +08:00
zhengshuxin
264ec4f36f Add and test multicase socket. 2023-09-20 17:21:27 +08:00
zhengshuxin
30de5d2967 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2023-09-20 16:53:48 +08:00
shuxin   zheng
e78c53d659 Add more functions for multicast. 2023-09-20 16:53:15 +08:00
zhengshuxin
f9c40ff9f5 Move demo of udp/server. 2023-09-20 15:22:09 +08:00
shuxin   zheng
fff2bed41b Adding multicast ... 2023-09-20 15:15:11 +08:00
zhengshuxin
a2f83279cc Optimize redis_client_pipeline when no redis node got in the beginning. 2023-09-13 17:52:50 +08:00
zhengshuxin
74fea49d62 Fixed bugs in redis_client_pipeline when handling redis node down. 2023-09-13 17:19:19 +08:00
zhengshuxin
635f3cbbbd test https 2023-09-03 21:20:35 +08:00
shuxin   zheng
c79eaac19c Decrease buff size for http module from 8k to 4k; format codes style. 2023-08-23 14:13:49 +08:00
zhengshuxin
7ff5b828f6 testing... 2023-08-20 00:47:33 +08:00
zhengshuxin
637116225a Don't abort when some error happened in zlib_stream, just return error. 2023-08-16 16:45:53 +08:00
zhengshuxin
ccefbdd2b6 optimize and test pkv. 2023-08-05 14:44:03 +08:00
shuxin   zheng
9cb57621ca optimize and test pkv. 2023-08-01 16:06:17 +08:00
shuxin   zheng
ae77f11667 Test wiredtiger vs rocksdb been used by pkv. 2023-07-27 15:56:49 +08:00
shuxin   zheng
4d1505a2ae Add wiredtiger db in pkv. 2023-07-27 14:34:53 +08:00
zhengshuxin
123ce39db2 optimize and test pkv 2023-07-24 18:42:07 +08:00
shuxin   zheng
857f59e158 Write and test redis parser. 2023-07-20 19:24:18 +08:00
shuxin   zheng
637c52a77d Adding streaming redis parser. 2023-07-19 19:07:53 +08:00