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 |
|
zhengshuxin
|
581594ef1e
|
test io-uring in libfiber
|
2023-07-28 10:28:29 +08:00 |
|
shuxin zheng
|
4d1505a2ae
|
Add wiredtiger db in pkv.
|
2023-07-27 14:34:53 +08:00 |
|
zhengshuxin
|
4fb5f6a0ad
|
Optimize and test redis coder module in pkv.
|
2023-07-26 15:50:15 +08:00 |
|
zhengshuxin
|
6c2326e893
|
Optimize and test pkv.
|
2023-07-24 18:16:09 +08:00 |
|
zhengshuxin
|
2d73f5fee6
|
Optimize compiling conditions.
|
2023-07-18 15:42:37 +08:00 |
|
zhengshuxin
|
f45e5c1a33
|
Optimize filber killing process.
|
2023-07-13 19:19:26 +08:00 |
|
zhengshuxin
|
5a3980cbc9
|
Optimize fiber's codes.
|
2023-07-13 10:11:28 +08:00 |
|
zhengshuxin
|
b8fa3eceb0
|
Optimize fiber kill proccess.
|
2023-07-12 22:25:35 +08:00 |
|
zhengshuxin
|
95124bafc3
|
Optimize the closing process in fiber module.
|
2023-07-12 18:42:23 +08:00 |
|
shuxin zheng
|
e9b14372ea
|
compiling on MacOS
|
2023-07-11 18:18:56 +08:00 |
|
zhengshuxin
|
dc962a1df6
|
Don't hook recvmmsg/sendmmsg on Android platform.
|
2023-07-11 17:23:32 +08:00 |
|
郑树新
|
015e2fa1ee
|
Merge pull request #312 from lday0321/lday_link_liburing_ffi
link liburing-ffi
|
2023-07-11 16:35:53 +08:00 |
|
shuxin zheng
|
acaea7ddd3
|
compiling succefully on Macos
|
2023-07-10 18:58:37 +08:00 |
|
zhengshuxin
|
2b9bb710c0
|
Optimize codes and delete unused codes.
|
2023-07-10 18:55:12 +08:00 |
|
zhengshuxin
|
c0df7d2aa9
|
Merge branch 'master' of gitee:zsxxsz/acl into gitee-master
|
2023-07-10 16:18:47 +08:00 |
|
zhengshuxin
|
b3d9d9e094
|
Replace fiber_file_open_read() & fiber_file_open_write() with fiber_file_open().
|
2023-07-10 16:17:09 +08:00 |
|
lday
|
e4c32ebb6f
|
link liburing-ffi
|
2023-07-09 21:30:25 +08:00 |
|
zhengshuxin
|
157e138622
|
Change conditional macro from DISABLE_HOOK_IO to DISABLE_HOOK for compiling.
|
2023-07-09 12:38:59 +08:00 |
|
zhengshuxin
|
d2e0e4963d
|
Optimize codes of fiber module.
|
2023-07-07 16:50:22 +08:00 |
|
zhengshuxin
|
fba503dde5
|
Add some comments.
|
2023-06-27 14:33:08 +08:00 |
|
zhengshuxin
|
aacc3129cb
|
Optimize and test the hooked poll API.
|
2023-06-26 17:54:17 +08:00 |
|
zhengshuxin
|
b0c18461cc
|
test
|
2023-06-26 16:46:19 +08:00 |
|
zhengshuxin
|
c5b6dab9aa
|
test poll.c
|
2023-06-26 16:26:02 +08:00 |
|
zhengshuxin
|
9df7c8d7b1
|
Optimize fiber event for supporting read/write on the same socket.
|
2023-06-26 12:04:27 +08:00 |
|
zhengshuxin
|
e664c947e0
|
optimize and test poll.c
|
2023-06-26 11:09:48 +08:00 |
|
zhengshuxin
|
d232a391e3
|
remove event for read/writer should support directive mode.
|
2023-06-26 09:24:40 +08:00 |
|
zhengshuxin
|
704b9a4b7a
|
set fiber_r/fiber_w NULL after read/write waiting wakeup.
|
2023-06-25 11:42:03 +08:00 |
|
zhengshuxin
|
2563625613
|
fixed one compiling warning in fiber_hook.h
|
2023-06-25 09:49:49 +08:00 |
|
zhengshuxin
|
3e7a588d60
|
Add set_fdlimit in fiber.hpp
|
2023-06-21 10:56:02 +08:00 |
|
zhengshuxin
|
5919f5460d
|
Don't abort when loading sendmmsg error on lower Linux.
|
2023-06-20 18:52:46 +08:00 |
|
zhengshuxin
|
478008e99a
|
Add comment in go_fiber.hpp
|
2023-06-20 17:19:17 +08:00 |
|
zhengshuxin
|
e1ca2d117a
|
test fiber_sbox2 when using unique_ptr
|
2023-06-20 16:43:51 +08:00 |
|
zhengshuxin
|
54a295b0f2
|
rename fiber_sem_t_def to fiber_sem_t_sync.
|
2023-06-18 17:36:58 +08:00 |
|
zhengshuxin
|
8265c1c330
|
Use shared_ptr to protect socket_stream accepted.
|
2023-06-18 00:01:20 +08:00 |
|
zhengshuxin
|
154920d0fe
|
Add size() for fiber_sbox class.
|
2023-06-12 18:27:07 +08:00 |
|
zhengshuxin
|
52a3da825c
|
test demo
|
2023-06-12 11:55:44 +08:00 |
|
zhengshuxin
|
0dfd92493f
|
optimize and test fiber_sbox
|
2023-06-12 11:36:02 +08:00 |
|
zhengshuxin
|
afc686ff2d
|
test fiber_sbox2.
|
2023-06-11 21:41:31 +08:00 |
|
zhengshuxin
|
45e4d74add
|
Add fiber_sbox2() for transfering object such as shared_ptr.
|
2023-06-11 21:35:19 +08:00 |
|
zhengshuxin
|
6b96da683f
|
format code style.
|
2023-06-11 18:34:41 +08:00 |
|
zhengshuxin
|
7eb5a23ab1
|
std::atomic<long>'s variable should be initiated in MacOS clang.
|
2023-06-11 18:33:59 +08:00 |
|
zhengshuxin
|
0991d1c53c
|
Add fiber_pool demo to test fiber pool mode.
|
2023-06-09 18:48:28 +08:00 |
|
郑树新
|
56995f709c
|
Fixed bug in acl_get_ifaddrs on windows.
|
2023-06-07 23:26:37 +08:00 |
|
zhengshuxin
|
ab148987ce
|
service templates in the mode of fiber or thread can bind wildcad addresses.
|
2023-05-25 19:00:22 +08:00 |
|
zhengshuxin
|
d14accaefb
|
Add comments for fiber_tbox2.
|
2023-05-24 17:33:09 +08:00 |
|
shuxin zheng
|
ca1728d4e3
|
Add fiber_tbox2.hpp into xcode project.
|
2023-05-24 16:36:59 +08:00 |
|
zhengshuxin
|
4d2259e912
|
Add fiber_tbox2 for supporting std::shared_ptr.
|
2023-05-24 16:27:24 +08:00 |
|
zhengshuxin
|
425927b886
|
recvmmsg API's declaration is different between Ubuntu and CentOS.
|
2023-05-19 17:57:49 +08:00 |
|
zhengshuxin
|
becf9dc59d
|
Add timeouted read when using fiber_recvmmsg in fiber module.
|
2023-05-19 17:26:05 +08:00 |
|
zhengshuxin
|
603fd9938b
|
Support hooking recvmmsg/sendmmsg API in libfiber.
|
2023-05-19 17:13:46 +08:00 |
|
zhengshuxin
|
00b266843b
|
Test fiber_sem.
|
2023-05-13 00:06:50 +08:00 |
|
zhengshuxin
|
03e76d0a7e
|
fiber_sem add async mode for posting message.
|
2023-05-12 23:25:58 +08:00 |
|
zhengshuxin
|
1f1e47e4cd
|
Add HTTP PUT for demo
|
2023-05-05 14:18:50 +08:00 |
|
zhengshuxin
|
2d0fa87a8e
|
format code style
|
2023-04-27 10:50:21 +08:00 |
|
zhengshuxin
|
c220e156e9
|
format code style of fiber module.
|
2023-04-27 10:39:55 +08:00 |
|
zhengshuxin
|
d8f3bcd4ec
|
test fiber in sharing stack mode.
|
2023-04-26 14:11:40 +08:00 |
|
zhengshuxin
|
152053d343
|
Change the sharing stack's size from 1MB to 10MB.
|
2023-04-25 18:40:24 +08:00 |
|
shuxin zheng
|
30e28278e9
|
Build ok for multiple platforms.
|
2023-04-17 16:28:35 +08:00 |
|
zhengshuxin
|
af706f7143
|
Build fiber's demos sucessfully on cs6 and cs5
|
2023-04-11 15:59:13 +08:00 |
|
zhengshuxin
|
37ee4f42e6
|
test share stack of fiber
|
2023-04-04 19:08:26 +08:00 |
|
zhengshuxin
|
5de8370700
|
Optimize and test sharing stack of fiber.
|
2023-04-04 16:35:31 +08:00 |
|
zhengshuxin
|
4699c2f4c0
|
ETIMEDOUT should be used other than ETIME.
|
2023-03-31 23:18:38 +08:00 |
|
zhengshuxin
|
f4360ba693
|
Redis pipeline module can be used in sharing stack mode of fiber.
|
2023-03-31 21:51:45 +08:00 |
|
zhengshuxin
|
331e4826dc
|
Don't write some error log
|
2023-03-30 16:29:29 +08:00 |
|