Commit Graph

1079 Commits

Author SHA1 Message Date
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
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
8b2cf27e26 Optimize IO timeout process in fiber. 2024-03-28 11:34:19 +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
e391b1a7de Optimize setsockopt timeout in openssl_io.cpp. 2024-03-26 09:57:55 +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
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
3f2c682958 Don't show warning for dbuf module. 2024-03-22 18:27:06 +08:00
zhengshuxin
f2e553bc98 Build acl by cosmocc. 2024-03-16 16:08:06 +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
ae87f9e3c7 Make acl_fiber_kill() more safety. 2024-01-26 18:34:42 +08:00
郑树新
15a4ce765d Test GUI fiber 2024-01-21 23:12:03 +08:00
郑树新
454a78d402 Test fiber in GUI on windows platform. 2024-01-16 18:34:08 +08:00
郑树新
1331b420b3 Load OpenSSL dll successfully on Windows platforms. 2023-12-15 16:20:21 +08:00
shuxin   zheng
bf43e8bb70 Test ssl demo. 2023-12-12 13:59:22 +08:00
shuxin   zheng
e7a00def28 Fixed bugs in test demos. 2023-12-12 11:52:51 +08:00
zhengshuxin
6fc26c6c0f Using avl more safety. 2023-11-29 15:01:16 +08:00
zhengshuxin
4ee1036c41 Change the cmake required from 3.2.0 to 2.8.0. 2023-11-22 14:57:39 +08:00
zhengshuxin
4c1c0104d0 Build ok by xmake for Linux. 2023-11-17 22:27:23 +08:00
shuxin   zheng
1d9386a73d Build ok by xcode 15.0 2023-11-15 16:19:55 +08:00
zhengshuxin
cb514a856d Modify comments. 2023-11-02 10:45:30 +08:00
zhengshuxin
c88263f251 Add sync kill mode for killing one suspended fiber. 2023-11-02 10:42:40 +08:00
zhengshuxin
d4dfe8c7a6 Use syscall other dysym to avoid being blocked when use tcmalloc to debug app. 2023-10-30 10:44:39 +08:00
shuxin   zheng
ee0565d169 Fixed one dead loop bug in mqtt_connect.cpp. 2023-10-17 16:30:56 +08:00
zhengshuxin
f0eff2dd9f Add fiber_ prefix in the avl_xxx to avoid conlistion with other lib including avl.c 2023-10-13 14:35:06 +08:00
zhengshuxin
55f3ef473b mod test sample. 2023-08-24 18:52:19 +08:00
zhengshuxin
7ff5b828f6 testing... 2023-08-20 00:47:33 +08:00
zhengshuxin
3ad548d68f compilie demo 2023-07-28 20:16:46 +08:00
zhengshuxin
82c80213b6 Add demo for testing iouring. 2023-07-28 16:40:01 +08:00
zhengshuxin
ae9ba2b4b1 Test io-uring's performance. 2023-07-28 14:21:04 +08:00
zhengshuxin
8dee99c92f test io-uring in fiber 2023-07-28 11:05:01 +08:00