Commit Graph

4060 Commits

Author SHA1 Message Date
zhengshuxin
da538cc962 Merge branch 'gitee-master' into gitlab-upstream 2024-04-02 09:45:30 +08:00
zhengshuxin
7a4ffa4511 Add conditional compiling for set_sock_timeo in openssl_io.cpp 2024-04-02 09:44:54 +08:00
zhengshuxin
0cc3e65a7a Merge branch 'gitee-master' into gitlab-upstream 2024-03-30 12:49:51 +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
2473c265eb Merge branch 'gitee-master' into gitlab-upstream 2024-03-28 11:34:51 +08:00
zhengshuxin
8b2cf27e26 Optimize IO timeout process in fiber. 2024-03-28 11:34:19 +08:00
zhengshuxin
0c3c481c53 Merge branch 'gitee-master' into gitlab-upstream 2024-03-27 18:36:17 +08:00
zhengshuxin
52f5824fa4 Don't call delete readwrite operations in fiber_wait_read, fiber_wait_write. 2024-03-27 18:34:44 +08:00
zhengshuxin
72ded83474 Test IO timeout. 2024-03-26 11:37:30 +08:00
zhengshuxin
d491c8a931 Merge branch 'gitee-master' into gitlab-upstream 2024-03-26 09:58:32 +08:00
zhengshuxin
e391b1a7de Optimize setsockopt timeout in openssl_io.cpp. 2024-03-26 09:57:55 +08:00
zhengshuxin
3a04a8dc4a Merge branch 'gitee-master' into gitlab-upstream 2024-03-25 18:03:39 +08:00
shuxin   zheng
0be537a92c Test IO timeout by setting setsockopt on MacOS. 2024-03-25 18:02:07 +08:00
zhengshuxin
661229ace2 Test OpenSSL timeout in fiber mode. 2024-03-25 17:57:10 +08:00
zhengshuxin
4c41c86bc0 Use setsockopt to set the IO timeout for OpenSSL module. 2024-03-25 17:53:44 +08:00
zhengshuxin
1f7ad7098b Optimize setsockopt for setting IO timeout in fiber. 2024-03-25 17:48:01 +08:00
zhengshuxin
b0082d21bc Reset r_timeout/w_timeout after poll finishing. 2024-03-25 15:17:58 +08:00
zhengshuxin
f7563f1bc1 w_timeout should be set when writing data in iouring mode. 2024-03-25 15:11:34 +08:00
zhengshuxin
c3d26188fd Test OpenSSL. 2024-03-25 11:37:33 +08:00
zhengshuxin
db39550fe4 Test OpenSSL 2024-03-25 09:46:53 +08:00
zhengshuxin
a9f32a8b91 Add one demo for testing setsockopt. 2024-03-24 09:46:48 +08:00
zhengshuxin
581ea2eca0 Optimize IO timeout process by setsockopt. 2024-03-24 09:18:30 +08:00
shuxin   zheng
1900bda152 Optimize IO timeout for hook API setsockopt(). 2024-03-23 16:50:26 +08:00
shuxin   zheng
904dfc103f make wakeup_waiter more safety when timeout. 2024-03-23 16:49:39 +08:00
shuxin   zheng
369b7b1038 Optimize IO cancel process in fiber module. 2024-03-23 15:27:36 +08:00
shuxin   zheng
65f1027941 Change type the timer from unsigned to size_t. 2024-03-23 11:18:14 +08:00
zhengshuxin
1e886b9270 Add conditional compiling for socket write API to avoid blocked when writing data. 2024-03-22 18:55:55 +08:00
zhengshuxin
53dccd2fd3 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2024-03-22 18:27:39 +08:00
zhengshuxin
3f2c682958 Don't show warning for dbuf module. 2024-03-22 18:27:06 +08:00
shuxin   zheng
f17c5ed094 Support harmonyOS. 2024-03-20 18:09:28 +08:00
shuxin   zheng
38ac362981 Rename acl project's name to acl_one for harmonyOS. 2024-03-20 10:22:14 +08:00
shuxin   zheng
2a1b89bac6 Add project for harmonyOS. 2024-03-19 15:25:51 +08:00
shuxin   zheng
35b5c73793 Support harmonyOS 2024-03-19 15:14:27 +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
8c7a7fb20d Merge branch 'gitee-master' into gitlab-upstream 2024-03-16 16:26:47 +08:00
zhengshuxin
f2e553bc98 Build acl by cosmocc. 2024-03-16 16:08:06 +08:00
zhengshuxin
a34b7d3f67 Merge branch 'gitee-master' into gitlab-upstream 2024-03-02 11:26:25 +08:00
zhengshuxin
1cee9d59c7 Add functions for modify and get the current connections count for fiber server template. 2024-03-02 10:51:27 +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
zhengshuxin
d93544108e Merge branch 'gitee-master' into gitlab-upstream 2024-02-28 09:42:44 +08:00
zhengshuxin
9a43386b7e Add demos' link. 2024-02-28 09:41:05 +08:00
zhengshuxin
ff510705d2 Merge branch 'gitee-master' into gitlab-upstream 2024-02-28 09:38:47 +08:00
zhengshuxin
8fd61ff32a Merge branch 'github-upstream' into gitee-master 2024-02-28 09:38:31 +08:00
zhengshuxin
24f7586ab6 Merge branch 'gitee-master' into gitlab-upstream 2024-02-28 09:35:33 +08:00
zhengshuxin
f89952778d Modify readme 2024-02-28 09:33:56 +08:00
zhengshuxin
e5f8f91ea1 Merge branch 'gitee-master' into gitlab-upstream 2024-02-26 16:04:09 +08:00
shuxin   zheng
590babc67c Optimize acl_host_addrinfo2 by using the buffer with the fixed size. 2024-02-26 16:02:25 +08:00