Commit Graph

311 Commits

Author SHA1 Message Date
zhengshuxin
c4509a539b test shared stack 2022-04-01 19:06:54 +08:00
zhengshuxin
f4417b313a add more demos for testing shared stack 2022-04-01 17:37:58 +08:00
zhengshuxin
2d0dd07155 test fiber 2022-03-31 21:44:43 +08:00
zhengshuxin
300de6b7e4 poll.c can support shared stack 2022-03-31 18:35:14 +08:00
zhengshuxin
e9ab8794c1 test shared stack of fiber module 2022-03-31 07:37:20 +08:00
zhengshuxin
49d4f2d5ce The fiber module has supported shared stack mode to decrease memory usage for many cocurrent clients. 2022-03-30 19:11:25 +08:00
zhengshuxin
9ace98a715 test fiber event 2022-03-26 14:18:31 +08:00
zhengshuxin
4da53a2d6d optimize epoll.c for hooking system API in fiber module. 2022-03-23 16:00:31 +08:00
zhengshuxin
e1c6f218de add one test demo 2022-03-23 10:07:10 +08:00
zhengshuxin
48a57a5abe optimize the process that closing one fd from another fiber 2022-03-03 12:42:01 +08:00
郑树新
1801603682 add project for demo fiber_tbox on windows 2022-02-24 23:05:43 +08:00
郑树新
1921afab07 test fiber_tbox on windows 2022-02-24 23:03:10 +08:00
zhengshuxin
0fe52cf465 test setting timeout by setsockopt in fiber module 2022-02-20 23:44:30 +08:00
zhengshuxin
d4a829102f test fiber 2022-02-16 18:16:58 +08:00
zhengshuxin
8d7cf5cdfc build samples ok on WSL ubuntu 2022-01-28 12:28:21 +08:00
root
edf0b72aa3 porting to Alpine Linux ok 2022-01-27 19:37:10 +00:00
郑树新
de77ff891c optimize and test iocp 2022-01-26 18:08:55 +08:00
shuxin   zheng
a5416395ed test SO_RCVTIMEO in fiber mode 2022-01-21 21:41:28 +08:00
zhengshuxin
b8ab3c87bb test 2022-01-21 18:30:13 +08:00
zhengshuxin
16b2a60d20 fixed bugs that the connecting timeout process isn't available in fiber mode 2022-01-21 17:31:50 +08:00
zhengshuxin
e516804b78 fixed one bug in acl_fiber_delay() that the event loops too quickly for the event waiting timeout been set 0. 2021-11-23 17:40:37 +08:00
郑树新
310a87f844 optimize vs projects for windows platform 2021-09-17 00:11:06 +08:00
郑树新
cde03a74d4 optimize vs projects 2021-09-16 19:27:09 +08:00
郑树新
e9ea53d74b the thread fiber should be checked when stopping fiber schedule 2021-09-06 22:44:20 +08:00
郑树新
a4fb983866 test fiber for Win GUI 2021-09-06 16:50:23 +08:00
郑树新
a6f2e61d8c test fiber_tbox for win GUI ok 2021-09-05 23:29:29 +08:00
郑树新
e0601e582f test some fiber module on windows 2021-08-23 18:41:23 +08:00
郑树新
ff71cebfae test fiber on windows 2021-08-23 11:21:59 +08:00
郑树新
9d3f6d5cfd test API hook for fiber module on Windows platform. 2021-08-22 23:15:38 +08:00
郑树新
227a958fd8 add lost project files 2021-08-19 23:40:20 +08:00
郑树新
04aaede734 optimize fiber module by hooking system API on windows 2021-08-19 21:45:41 +08:00
郑树新
2d04980910 optimizing fiber module 2021-08-18 16:07:35 +08:00
zhengshuxin
d0b031f3b6 test keep-alive of http module 2021-07-13 16:17:28 +08:00
zhengshuxin
165d327357 fixed some compiling warning when some modules were disabled. 2021-02-07 09:54:45 +08:00
zhengshuxin
a3db7f9466 add one sample for testing fiber 2021-02-05 23:39:02 +08:00
zhengshuxin
96c35cabb3 test fiber demo 2021-02-02 16:45:16 +08:00
zhengshuxin
b63287774d support read/write timeout by setsockopt in libfiber 2021-01-30 09:11:39 +08:00
zhengshuxin
6b7ae7b883 the socket of one fiber can be closed of another fiber 2021-01-29 13:34:57 +08:00
zhengshuxin
f927b4d736 fiber sem & lock can also be killed by another fiber 2021-01-28 14:58:48 +08:00
zhengshuxin
28feaf3c28 add demos for testing close operation in the other fiber 2021-01-28 14:14:29 +08:00
zhengshuxin
684e1e445e test redis_pipeline 2021-01-09 10:48:53 +08:00
shuxin   zheng
f746ee9b6d acl redis_pipeline module is ok 2021-01-08 14:35:25 +08:00
shuxin   zheng
ab2d78efaf optimize redis_pipeline 2021-01-07 16:35:12 +08:00
zhengshuxin
d811990ade optimize redis_pipeline 2021-01-06 10:07:31 +08:00
zhengshuxin
ebc4adb376 optimize and test redis_pipeline module 2021-01-05 15:42:25 +08:00
zhengshuxin
52181516f3 test redis_pipeline mode 2021-01-03 23:00:24 +08:00
zhengshuxin
d284f41e66 modify redis sample 2021-01-03 18:58:26 +08:00
zhengshuxin
4454e974f0 modify sample for testing redis in fiber mode 2021-01-03 18:03:58 +08:00
zhengshuxin
6554585b29 optimize redis_pipeline 2021-01-02 20:48:36 +08:00
zhengshuxin
f15e6718f0 add one sample for testing redis_pipeline in fiber mode 2021-01-01 21:41:55 +08:00
shuxin   zheng
ea531338d6 format code style 2020-11-05 15:16:35 +08:00
shuxin   zheng
9c853ab7f8 fixed bug in one test demo for testing fiber dns module. 2020-11-01 20:21:21 +08:00
shuxin   zheng
d2ed2e8b29 test building reply package by rfc1035 module 2020-10-24 14:28:15 +08:00
zhengshuxin
c21cc6c733 test dns module 2020-10-24 10:59:00 +08:00
zhengshuxin
845338db4a test dns module 2020-10-23 17:47:50 +08:00
shuxin   zheng
0dd378e35d add dns test benchmark 2020-10-23 15:26:11 +08:00
zhengshuxin
752f5b6de3 fixed bug in demo 2020-10-22 16:00:28 +08:00
zhengshuxin
ce7c7c093a fixed bug in fiber dns module 2020-10-22 15:02:58 +08:00
shuxin   zheng
593fb7693d test fiber and dns 2020-10-22 10:59:12 +08:00
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