Commit Graph

108 Commits

Author SHA1 Message Date
zhengshuxin
3f557c576a prepare for the new version 3.6.0 2022-12-01 20:22:33 +08:00
zhengshuxin
44ff4a5c91 add acl_sane_bind() 2021-10-12 17:46:00 +08:00
zhengshuxin
dee7833d1d fixed bugs in hook/epoll.c in fiber module for memory overflow 2020-01-25 17:57:00 +08:00
zhengshuxin
85374450d0 optimize: many optimizing for decrease libs' size for mobile platom;
bugfix: fixed one bug in event_epoll.c of fiber lib.
2019-09-19 10:33:10 +08:00
zsxxsz
2ee35f6434 fixed bugs for restarting fiber IO scheduling. 2019-08-17 22:07:51 +08:00
zhengshuxin
946bc1944e use conditional compiling for hooking system API getimeofday 2019-08-12 14:52:09 +08:00
zhengshuxin
0c4901f531 fixed one bug in hooked API sleep in io.c 2019-08-08 14:33:32 +08:00
zhengshuxin
42d2bd5684 fixed one bug in hooked API gettimeofday for precision. 2019-08-06 10:28:31 +08:00
zhengshuxin
85812e6f1c improvement ring's performance 2019-07-31 22:00:41 +08:00
zhengshuxin
d8d624ee98 use utf8 for text files. 2019-07-30 23:52:48 +08:00
zhengshuxin
b02dfd34c6 speedup gettimeofday() by using some asm codes from DPDK 2019-07-30 23:48:25 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00
zhengshuxin
0ffeedfcd4 fixed bugs in fiber_sem.c/fiber_lock.c 2019-05-16 16:48:48 +08:00
zhengshuxin
8b77b0456a safety & feature: add nocopyable limit for many class to avoid potential problem 2019-05-09 13:57:51 +08:00
zhengshuxin
4760ac19c9 tcp_keeper: add sync parameter to control if connect the given addr directly 2019-04-30 17:54:08 +08:00
zhengshuxin
d62bb45cd6 tcp_keeper: fixed one bug in keeper_conn.cpp;
server_socket: remove one constructur method;
2019-04-28 16:17:17 +08:00
zsx
db2d293a3e tcp_keeper is ok! 2019-01-15 11:57:19 +08:00
zhengshuxin
2081b206c2 set free_obj's default value to true 2019-01-02 11:25:17 +08:00
zsx
ea8462f1ef add tcp_keeper class for tcp connections keepalive 2018-12-28 21:46:01 +08:00
zsx
7ab0b6f5e3 fixed bugs in acl_fiber_cond_wait/acl_fiber_cond_timedwait that detaching fbase must before calling acl_fiber_event_wait 2018-12-27 10:07:14 +08:00
zsx
0004373bcd fixed bugs of acl_fiber_cond_timedwait in acl_fiber_cond.c 2018-12-25 11:32:42 +08:00
zsx
34a8d82734 fiber_server.cpp: service can't exit correctly when some connections is still connected. 2018-12-20 15:45:52 +08:00
zsx
56c8a058f4 fiber_event.c: fixed one bug in acl_fiber_event_notify 2018-11-29 22:44:16 +08:00
zsx
e48753986e fbase_event.c: restart IO when IO process is interrupted by EINTR. 2018-11-29 11:28:48 +08:00
zsx
877e7aa5d4 lib_fiber's changes.txt 2018-11-28 15:53:27 +08:00
zsx
ec495072b1 lib_fiber/c/src/fiber_event.c: fixed one bug for lock conlision 2018-11-28 09:47:04 +08:00
zsx
92ffb2cc9d fixed one bug in fiber_event.c 2018-11-27 14:51:11 +08:00
zsx
2d0cd3ed91 acl::fiber_event using FIBER_FLAG_USE_MUTEX as default 2018-11-26 09:53:32 +08:00
zsx
8064aaab35 fixed one bug in iocp_check of file event_iocp.c 2018-11-26 09:22:55 +08:00
zsx
127f6e0c33 acl_set_core_limit can only be used on UNIX-like OS. 2018-10-31 17:10:06 +08:00
zsx
ea3d71999a limit the core file's size and disable creating core when process is exiting. 2018-10-23 13:29:21 +08:00
zsx
ae8b5cf026 fxied one bug in getaddrinfo.c of lib_fiber 2018-09-20 09:56:15 +08:00
zsx
ac7a0d4c5b fixed bugs in acl_write_wait.c: when POLLHUP and POLLERR returned, don't return -1 2018-05-17 16:45:15 +08:00
zsx
cb1503a067 fiber lib can be used on MacOS 2018-04-24 14:38:48 +08:00
zsx
618592e086 all the fibers memory in dead fibers or aliving status should be freed when acl_fiber_stop been called 2018-04-17 11:33:20 +08:00
zsx
0c93b9a090 gethostbyname should be fiber-safety. 2018-03-05 13:42:39 +08:00
zsx
4f70948a8d fiber on FreeBSD with kqueue is OK! 2018-02-06 19:24:28 +08:00
zsx
3c46adddb3 fiber_server: support setting schedule event type in configure. 2018-02-05 10:16:52 +08:00
郑树新
342f42c38a fiber: support winsock IOCP event. 2018-02-01 18:40:31 +08:00
zsxxsz
2e38ce1365 fiber schedule process can be triggered automaticly. 2018-01-28 12:34:23 +08:00
zsx
21119f88a0 master_guard: add all info for version 2018-01-23 19:48:45 +08:00
zsxxsz
5fcd7a20c3 select/WSAPoll of Windows disable non SOCKETS been set. 2018-01-22 23:45:00 +08:00
zsx
12fe61726a fiber_io.c: IO fiber can exit automatically when no FD and no timer. 2018-01-22 17:31:00 +08:00
zsxxsz
de8be9ca0f fiber's event_poll.c can handle POLLERR | POLLHUP | POLLNVAL 2018-01-21 11:40:34 +08:00
郑树新
d819724c3b fiber performance: improve the messages handling performance in Windows 2018-01-17 14:10:19 +08:00
郑树新
4afcac70a0 improve fiber IO performance when using timedwait read/write. 2018-01-16 18:24:13 +08:00
zsxxsz
768d30a56c fiber for windows OS can use IO read/write with timed waiting by using select/poll;
ACL_VSTREAM's NETWORK IO read/write interface can be hooked by user's IO API.
2018-01-14 22:54:44 +08:00
zsx
05b485b6c4 fiber: add kqueue of FreeBSD, so acl fiber can support FreeBSD 2017-12-28 17:49:33 +08:00
zsx
9638c50179 fiber: fixed one urgent bug in hook_net.c for hooking poll API 2017-12-19 18:56:47 +08:00