zhengshuxin
|
687250daf7
|
Try to use flock first to lock file.
|
2024-04-24 11:56:23 +08:00 |
|
zhengshuxin
|
0e96092516
|
Try to use flock first to avoid the bugs in fcntl.
|
2024-04-24 11:35:03 +08:00 |
|
zhengshuxin
|
a30e1e6efb
|
Add null check in fstream.cpp
|
2024-04-22 17:53:24 +08:00 |
|
zhengshuxin
|
dcce3ea081
|
Optimize make build.
|
2024-04-16 10:48:06 +08:00 |
|
zhengshuxin
|
37dada83f2
|
Optimize cmake building.
|
2024-04-16 10:12:29 +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
|
640854d506
|
Build on windows.
|
2024-04-11 18:07:50 +08:00 |
|
zhengshuxin
|
a085215c1e
|
Add conditional compiling for COSMOCC.
|
2024-04-11 18:01:14 +08:00 |
|
shuxin zheng
|
94a47b7d85
|
Optimize cmake build.
|
2024-04-08 15:19:30 +08:00 |
|
zhengshuxin
|
3300ade550
|
Optimize cmake building.
|
2024-04-06 21:48:42 +08:00 |
|
zhengshuxin
|
19b88135b6
|
Test building process.
|
2024-04-04 16:44:43 +08:00 |
|
shuxin zheng
|
af28e0a6ce
|
Optimize project's building.
|
2024-04-04 15:28:22 +08:00 |
|
shuxin zheng
|
a2de0a120c
|
Build ok by Android Studio.
|
2024-04-02 18:30:24 +08:00 |
|
zhengshuxin
|
bef360157d
|
Add install options after built by cmake.
|
2024-04-02 17:40:52 +08:00 |
|
zhengshuxin
|
7a4ffa4511
|
Add conditional compiling for set_sock_timeo in openssl_io.cpp
|
2024-04-02 09:44:54 +08:00 |
|
zhengshuxin
|
c47609ad20
|
Modify comments.
|
2024-03-30 12:49:17 +08:00 |
|
zhengshuxin
|
8a2ec846df
|
Test openssl module in lib_acl_cpp.
|
2024-03-30 12:39:40 +08:00 |
|
zhengshuxin
|
9e4c422722
|
Use setsockopt as the default way to control IO timeout.
|
2024-03-30 10:56:31 +08:00 |
|
zhengshuxin
|
e391b1a7de
|
Optimize setsockopt timeout in openssl_io.cpp.
|
2024-03-26 09:57:55 +08:00 |
|
zhengshuxin
|
4c41c86bc0
|
Use setsockopt to set the IO timeout for OpenSSL module.
|
2024-03-25 17:53:44 +08:00 |
|
zhengshuxin
|
c3d26188fd
|
Test OpenSSL.
|
2024-03-25 11:37:33 +08:00 |
|
shuxin zheng
|
cbcbb4085a
|
Adding supporting for harmonyOS.
|
2024-03-18 15:47:59 +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
|
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 |
|