Commit Graph

4027 Commits

Author SHA1 Message Date
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
zhengshuxin
b563e34dc4 Hook getsockopt for get socket's IO timeout in fiber module. 2024-07-23 14:39:42 +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
郑树新
ebeb2e02cb Supports building for ARMEC64. 2024-07-18 14:43:29 +08:00
郑树新
2591a98f89 Supports vc2022 and Arm64 2024-07-17 18:22:28 +08:00
郑树新
7e33f21589 Supports vc2022 and Arm64. 2024-07-17 18:19:27 +08:00
郑树新
9daf4738b8 Add compiling options for supporting c++11 in vc2019. 2024-07-17 14:50:33 +08:00
郑树新
7fe7af7555 Compiling on Windows ARM64 2024-07-17 14:49:48 +08:00
zhengshuxin
ed7e368022 Fixed one idle exiing problem in threads_server template. 2024-07-02 15:01:45 +08:00
zhengshuxin
25d9ca09b8 Format codes. 2024-06-26 14:18:25 +08:00
zhengshuxin
741296c661 Format codes. 2024-06-26 14:09:34 +08:00
郑树新
fc6a460252
Merge pull request #342 from ChrisCatCP/master
refactor wait_group
2024-06-26 13:45:46 +08:00
Bai Miao
9ae2351ce6
add comment for wait_group 2024-06-26 11:00:37 +08:00
zhengshuxin
b7ab0c8283 Add more demos for testing dns. 2024-06-26 10:36:43 +08:00
白喵
919c8a68fa check state before wait 2024-06-25 12:39:04 +08:00
白喵
25b59ab47b refactor wait_group 2024-06-24 19:37:43 +08:00
zhengshuxin
b542433453 Fixed one conditional building in fiber module. 2024-06-23 18:19:26 +08:00
zhengshuxin
ef3982d66b Add memalloc for testing memory operations. 2024-06-23 18:04:08 +08:00
zhengshuxin
279301f6bf Fixed bugs in fiber module when calling recv/recvfrom/recvmsg with flags MSG_PEEK or MSG_DONTWAIT. 2024-06-21 14:29:24 +08:00
zhengshuxin
711596bb53 Format codes style. 2024-06-21 09:47:58 +08:00
郑树新
353186995c Fixed compiling warning on windows. 2024-06-21 09:41:00 +08:00
zhengshuxin
68a8e932ac Use acl_fiber_yield() when calling acl_fiber_delay(0). 2024-06-19 11:37:54 +08:00
郑树新
59ba4c140d Build Windows GUI demos. 2024-06-16 18:47:26 +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
fe5fea4a87 Test SSL SNI check. 2024-05-27 09:21:57 +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
59634b0ac8 Fixed one bug in acl_fiber_signum() API. 2024-05-24 18:44:32 +08:00
shuxin   zheng
98f98a9e64 Optimize and test for harmonyOS. 2024-04-27 16:41:39 +08:00
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
shuxin   zheng
28558ae7d7 test file lock. 2024-04-22 16:52:03 +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
zhengshuxin
434760abe8 Don't warn when the reserved's size bigger than the pool's size in acl_dbuf_pool_reset(). 2024-04-10 18:34:25 +08:00
shuxin   zheng
b0646b76d7 Add one script for cleaning tmp files for harmony. 2024-04-08 15:31:02 +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
ab1b33ecf9 Modify readme.md 2024-04-04 15:50:42 +08:00