Commit Graph

252 Commits

Author SHA1 Message Date
shuxin   zheng
7e89735ac1 dns module has been ready! 2020-10-21 15:48:40 +08:00
shuxin   zheng
72bb6b909d restore fiber 2020-10-08 17:17:21 +08:00
shuxin   zheng
a1383bf620 test fiber 2020-10-08 15:15:33 +08:00
shuxin   zheng
17adcd823e add fiber demo for IOS 2020-09-26 23:14:11 +08:00
shuxin   zheng
24124b87e7 format code, replace "\n" with "\r\n" for all source files. 2020-08-21 14:55:03 +08:00
zhengshuxin
d800ca468e use MD compiling options for all vc projects 2020-08-06 15:42:37 +08:00
郑树新
a6976962cd fixed compiling error by vc2012 2020-07-26 16:28:16 +08:00
shuxin   zheng
6e7ddc42d3 add "acl_" prefix for some ".c" files to avoid compiling warning for same files collision. 2020-07-22 17:50:56 +08:00
zhengshuxin
8995284180 test redis pipeline 2020-07-20 22:41:40 +08:00
zhengshuxin
88c756a462 fixed compiling error for samples with ssl 2020-07-16 09:12:39 +08:00
shuxin   zheng
41ef6fef8f use remote_addr@local_addr replacing the old format: local_addr@remote_addr 2020-06-27 14:01:13 +08:00
shuxin   zheng
27c8892cec test http server 2020-06-26 21:45:51 +08:00
shuxin   zheng
83ba45c98a optimize go fiber api for c++11 2020-06-13 14:33:08 +08:00
shuxin   zheng
4e2ddf3aa1 test demo of fiber for resolving dns 2020-05-05 00:29:38 +08:00
shuxin   zheng
a8e7eabe05 modify readme for fiber module 2020-03-26 11:56:57 +08:00
shuxin   zheng
15ba8bf57e test http_thread 2020-03-23 22:33:34 +08:00
shuxin   zheng
d87b1c4e64 add test sample http_request_manager for testing fiber and connect_manager. 2020-03-14 20:52:16 +08:00
shuxin   zheng
95883c415f fixed compiling waring on MacOS 2020-02-15 19:26:41 +08:00
zhengshuxin
cf6aab9e9b test fiber in reactor way 2020-02-09 21:50:37 +08:00
shuxin   zheng
f4c063ebc3 test fiber in reactor way 2020-02-09 20:45:17 +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
4321cfc6c2 add one fiber demo 2020-01-25 14:45:24 +08:00
shuxin   zheng
4a7dce51ba acl::mbedtls_conf can load three mbedtls dynamic libs 2020-01-06 15:29:03 +08:00
shuxin   zheng
1222309a1d test fiber demos with ssl 2020-01-05 20:23:34 +08:00
zsxxsz
51b1789300 optimize WinEchod sample 2019-08-18 13:10:26 +08:00
zsxxsz
2ee35f6434 fixed bugs for restarting fiber IO scheduling. 2019-08-17 22:07:51 +08:00
root
72a5287da5 add memory using debug info. 2019-08-16 18:17:11 +08:00
zhengshuxin
946bc1944e use conditional compiling for hooking system API getimeofday 2019-08-12 14:52:09 +08:00
zhengshuxin
0ee5867c9d add one sample for testging gettimeofday 2019-07-31 16:31:36 +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
郑树新
649b94dc41 format source code's charset 2019-07-26 17:27:39 +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
zhengshuxin
82110b5dbd modify samples 2019-03-18 17:03:23 +08:00
zsx
b926d78534 optimize tcp_keeper 2019-01-17 14:10:59 +08:00
zsx
db2d293a3e tcp_keeper is ok! 2019-01-15 11:57:19 +08:00
zsx
03e2cf0a31 optimize tcp_keeper 2018-12-31 22:02:21 +08:00
zsx
5bb7daf807 tcp_keeper: add ttl controling for connection and connections pools;
http_request/http_client add controling parameters
2018-12-29 15:42:03 +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
e2fbff2b9b add fiber_tbox sample 2018-12-27 10:02:04 +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
50be7b26a6 fiber_cond.c: fixed one bug in acl_fiber_cond_timedwait when timeout happened 2018-12-24 17:12:10 +08:00
zsx
bd6375fe2a connect_manager: support fiber running in threads 2018-12-16 16:47:51 +08:00
郑树新
fcd083d307 build on Windows ok 2018-12-14 16:34:28 +08:00
zsx
a1636cb371 fixed sample's bug 2018-12-14 11:47:17 +08:00
zsx
04dd410821 add samples: thread_cond/thread_tbox 2018-11-30 18:26:25 +08:00
zsx
fb271fd104 format to DOS style. 2018-11-30 14:38:22 +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
zhengshuxin
f7af753d9e add one flag when creating fiber_event 2018-11-24 11:49:18 +08:00
郑树新
e6cead0a67 fixed one problem in getaddrinfo of lib_fiber; 2018-09-19 18:36:05 +08:00
zsx
f403d09da6 delete unused files. 2018-09-17 14:31:12 +08:00
zsx
4e393625c0 delete unused files. 2018-09-17 14:26:46 +08:00
zsx
f15c17ae29 build ok for Mac 2018-09-17 14:20:45 +08:00
zsx
46f12d39ca using libfiber.h for C and libfiber.hpp for C++ 2018-08-19 23:03:39 +08:00
zhengshuxin
e5b554930b some samples of fiber should be compiled by c++11 compiler. 2018-08-10 21:02:14 +08:00
zsx
d64d78eb16 libfiber can be used on MacOS 2018-04-24 14:29:35 +08:00
zhengshuxin
7647c210b7 acl build without ACL_PREPARE_COMPILE defined 2018-04-17 16:42:26 +08:00
zsx
902a76e55b build on windows 2018-03-05 11:11:55 +08:00
zsx
63f9ac04f8 merge from libfiber 2018-03-05 11:05:05 +08:00
zhengshuxin
4614c7e118 fiber event: fixed possible bug in events 2017-09-22 22:11:51 +08:00
zhengshuxin
7670fca314 compiling for FreeBSD ok 2017-09-22 19:22:26 +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
郑树新
2af5a9307f fiber: adding iocp event 2018-01-31 19:01:04 +08:00
zsxxsz
580fdc4f72 fiber event: adding iocp for winsock 2018-01-30 23:45:34 +08:00
zsx
7329f830e9 server_socket supports SO_REUSEPORT on Linux3.x 2018-01-29 23:33:49 +08:00
zsx
a6f74434c6 fiber sample server2: testing schedule automticaly 2018-01-28 17:11:57 +08:00
zsxxsz
2e38ce1365 fiber schedule process can be triggered automaticly. 2018-01-28 12:34:23 +08:00
zsx
52ac1f747b acl_fiber_schedule_stop needn't be called when all IO fibers were finished. 2018-01-22 23:46:58 +08:00
zsxxsz
66c05c16cb fiber for windows: client2 and server2 run very well:) 2018-01-22 22:01:12 +08:00
郑树新
49a92e9348 fiber io can also stop automaticly when no IO and no timers been set. 2018-01-22 18:38:50 +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
588c871124 fiber client2 sample can run on Windows. 2018-01-21 15:41:19 +08:00
zsxxsz
3b2d58ed59 fiber server2 can run on windows. 2018-01-21 11:39:19 +08:00
zsxxsz
400904dccf add error handling in acl_vstream.c & poll.c when operation timeout;
in fiber_win.c when calling CreateFiberEx, using size as the parameter
dwStackReserveSize;
2018-01-20 21:57:39 +08:00
zsx
e799a55b9f fiber sample: server5 2018-01-19 19:22:06 +08:00
zsx
7af7f753fb add one fiber sample 2018-01-18 16:07:20 +08:00
zsx
602128784f fiber sample: add http_request sample 2018-01-17 15:55:10 +08:00
郑树新
d819724c3b fiber performance: improve the messages handling performance in Windows 2018-01-17 14:10:19 +08:00
zsxxsz
a2b795a7fe fiber_io fiber can be restarted. 2018-01-16 22:37:23 +08:00
郑树新
4afcac70a0 improve fiber IO performance when using timedwait read/write. 2018-01-16 18:24:13 +08:00
郑树新
0e12675b7b WinEchod use UNICODE charset 2018-01-15 12:22:04 +08:00
郑树新
a19555d3c2 WinEchodDl's vc2013 project 2018-01-15 12:15:51 +08:00
郑树新
fd1cd5df2e add vc2013 project for demo WinEchod of acl fiber. 2018-01-15 11:32:59 +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
zsxxsz
c2a2d1b579 building fiber lib and samples are all ok by vc2012 and vc2013 2018-01-13 23:24:45 +08:00
zsxxsz
ebf0361142 fiber event optimize 2018-01-13 09:37:57 +08:00
zsx
f58d187421 compiling fiber on Linux 2018-01-12 22:29:21 +08:00
郑树新
bc24d1e75a fiber based on win32 gui message 2018-01-12 19:15:08 +08:00
zsxxsz
d108b3750a for win32 gui fiber 2018-01-12 00:28:30 +08:00
郑树新
5a45a0d886 win32 message fiber event 2018-01-11 19:13:31 +08:00
郑树新
4843851cbf add FiberSleep class for demo 2018-01-11 18:30:06 +08:00
郑树新
e55a183e1e WinEchod: rename class files' name;
win32 message is OK;
2018-01-11 14:19:09 +08:00
zsxxsz
63c9decbbd acl fiber can be used on win32 GUI messsage 2018-01-11 00:11:15 +08:00
郑树新
7f35e9236f acl fiber can now support win32 gui message engine 2018-01-10 17:48:45 +08:00
郑树新
038dcc9a43 add listener fiber and client fiber 2018-01-10 17:48:22 +08:00
郑树新
e64945edd7 win32 gui fiber sample 2018-01-09 19:02:10 +08:00
zsxxsz
c6c268a9f3 add demo 2018-01-09 00:05:28 +08:00