Commit Graph

252 Commits

Author SHA1 Message Date
zhengshuxin
03e2dcd588 add io_uring building condition 2022-10-23 17:36:25 +08:00
zhengshuxin
837e373a4c acl_threads_server can bind unix domain socket when using SO_REUSEPORT. 2022-09-14 14:53:13 +08:00
郑树新
58dceb57d5 optimize vs projects 2022-09-05 20:44:55 +08:00
zhengshuxin
ae39d3ec94 optimize network IO module. 2022-08-29 17:09:02 +08:00
郑树新
026485c21e compile acl on windows ok 2022-08-22 22:32:23 +08:00
zhengshuxin
e664f21494 build acl ok on Cygwin 2022-08-06 20:03:51 +08:00
zhengshuxin
4623e568ac add MASTER_SERVICE=ALONE environment to control service running in alone mode 2022-08-03 15:36:23 +08:00
zhengshuxin
06bb626faa release new version for fixed one bugs in fiber_server.cpp 2022-08-03 10:15:41 +08:00
zhengshuxin
eeb441afcb fixed one bug in fiber_server.cpp when using shared stack mode 2022-08-03 10:09:03 +08:00
zhengshuxin
b1506818eb fiber service template can use SO_REUSEPORT for unix domain socket 2022-08-02 23:21:44 +08:00
郑树新
d96e7f55b8 build acl ok on windows platform. 2022-08-01 22:05:07 +08:00
zhengshuxin
9f839e7363 add wait_group in fiber module 2022-08-01 21:57:07 +08:00
zhengshuxin
785487b466 add wait_group for fiber module like sync.WaitGroup in Golang 2022-08-01 15:48:21 +08:00
zhengshuxin
d5bac0b0b1 optimize acl_master and service templates 2022-07-26 16:08:25 +08:00
zhengshuxin
af97334509 acl-master service framework and fiber service template support SO_REUSEPORT option. 2022-07-25 15:30:41 +08:00
zhengshuxin
42fa722e3f optimize service template 2022-07-19 17:28:03 +08:00
zhengshuxin
14fce1cc1a optimize for making valgrind happy 2022-07-18 11:42:25 +08:00
郑树新
2830be54fa Acl can be built by cmake tools chanins 2022-07-10 20:13:15 +08:00
zhengshuxin
6309cc694f build ok acl by xmake 2022-06-14 15:35:33 +08:00
shuxin   zheng
bf7a09bf2c Add one control if acl_master.log can be generated in alone mode for master service. 2022-06-12 20:32:08 +08:00
shuxin   zheng
de6a5afb3a Don't expose acl_fiber_hook_api() 2022-05-29 13:04:02 +08:00
zhengshuxin
d9f0c8b5da remove some compiling options for MacOS 2022-04-11 19:09:39 +08:00
hailang
5ef96d62fe Merge remote-tracking branch 'origin/master' into dev_mac_support_cross_compilation 2022-04-10 17:29:58 +08:00
hailang
3ddff50476 mac support cross compile 2022-04-10 15:43:29 +08:00
zhengshuxin
12006e2ff1 shared stack mode can be selected by users 2022-04-08 07:32:06 +08:00
zhengshuxin
9c8fc9dba4 master_fiber.cpp can be used in shared stack mode. 2022-04-06 18:21:51 +08:00
zhengshuxin
f4417b313a add more demos for testing shared stack 2022-04-01 17:37:58 +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
郑树新
dbdcfb5511 add socket control for connecting server with timeout in non-blocking 2022-01-22 09:44:28 +08:00
郑树新
6832141597 don't call winapi_hook_once() more than once in multiple threads. 2022-01-13 22:46:52 +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
郑树新
c0719a1b2e optimize vc projects 2021-09-14 18:34:21 +08:00
郑树新
8b50e80af3 optimize DNS of fiber for windows 2021-09-08 00:17:57 +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
zhengshuxin
f2db150306 format code 2021-08-22 23:28:21 +08:00
郑树新
9d3f6d5cfd test API hook for fiber module on Windows platform. 2021-08-22 23:15:38 +08:00
郑树新
2f47091920 test winapi hook in fiber module on Windows platform. 2021-08-19 23:31:12 +08:00
郑树新
04aaede734 optimize fiber module by hooking system API on windows 2021-08-19 21:45:41 +08:00
zhengshuxin
099b658685 optimizing fiber module 2021-08-18 16:32:34 +08:00
郑树新
1f013d27e4 add detours module in fiber 2021-08-18 16:26:06 +08:00
郑树新
266e3c78ff add lost files of fiber module 2021-08-18 16:25:30 +08:00
郑树新
2d04980910 optimizing fiber module 2021-08-18 16:07:35 +08:00
zhengshuxin
23b0f0c5af fixed some compiling warning on windows 2021-02-09 15:04:23 +08:00
zhengshuxin
baaccb37c0 build fiber ok by vc2019 2021-01-11 10:17:50 +08:00
shuxin   zheng
28bc44a8f0 there is one conllision when compiling fiber_server.cpp by vc2019 2021-01-11 09:31:54 +08:00
shuxin   zheng
29d9902ead build ok by Android Studio with ndk12b 2020-12-10 10:29:29 +08:00
shuxin   zheng
5a4ae5b475 don't use _WINDLL for win32/win64 platform 2020-11-05 16:05:47 +08:00
郑树新
3cd10f87a1 build ok by vc 2020-10-19 22:25:35 +08:00
shuxin   zheng
c414f7afab acl fiber can support Android now. 2020-09-27 23:35:04 +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
shuxin   zheng
112dcdbba3 rewrite http service templates in wizard 2020-06-29 14:34:16 +08:00
shuxin   zheng
27c8892cec test http server 2020-06-26 21:45:51 +08:00
shuxin   zheng
9ee5ed7fad rename method name 2020-06-26 15:34:55 +08:00
shuxin   zheng
96b2e94f8a rename methods names 2020-06-26 15:33:31 +08:00
shuxin   zheng
dee4ebeaea http module can response json&xml data 2020-06-26 15:21:13 +08:00
shuxin   zheng
ccce38b52d test demo 2020-06-26 10:33:10 +08:00
shuxin   zheng
e65dbcba3e optimize http server module written by c++11 in libfiber 2020-06-25 11:58:01 +08:00
zhengshuxin
640b7b6e02 test http_server module of fiber on Linux 2020-06-24 17:35:37 +08:00
shuxin   zheng
d30e84f888 add http server module in fiber written by c++11 2020-06-24 16:46:05 +08:00
zhengshuxin
b511572d47 optmize go_fiber 2020-06-23 11:46:53 +08:00
shuxin   zheng
6641dc1cac add lost c++11 header in go_fiber.hpp 2020-06-13 14:49:31 +08:00
shuxin   zheng
83ba45c98a optimize go fiber api for c++11 2020-06-13 14:33:08 +08:00
shuxin   zheng
ff74ac0377 optimize mem checker module 2020-06-13 10:54:34 +08:00
shuxin   zheng
c4ae1840d7 modify CMakeLists files 2020-06-02 16:51:35 +08:00
zhengshuxin
8fb50aa0e6 build ok with different gcc version 2020-05-13 15:42:50 +08:00
shuxin   zheng
95883c415f fixed compiling waring on MacOS 2020-02-15 19:26:41 +08:00
ruki
1c0ff5d208 update xmake.lua: export public includedirs 2019-10-14 09:34:37 +08:00
zhengshuxin
8d4dff9f18 building with xmake 2019-10-08 16:36:16 +08:00
zhengshuxin
b698693b3c build ok for FreeBSD 2016-01-14 14:45:37 +08:00
zsxxsz
2153e5a117 format code. 2019-08-17 22:04:57 +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
郑树新
cff0958e2c
Merge branch 'master' into master 2019-06-26 22:52:56 +08:00
Dep user
84e7b857e5 fix compile error. 2019-06-18 14:02:42 +08:00
zsxxsz
cc202891ec compiling ok on Ubuntu12 32-bits 2019-06-17 22:31:43 +08:00
zsx
242250d5e0 add tcp_keeper module into xcode project 2019-06-11 19:43:24 +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
669f0601e7 add comment in fiber_server.cpp 2019-03-06 13:57:39 +08:00
zsx
154fd0f71d don't connect first in tcp_keeper 2019-01-21 17:42:50 +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
郑树新
6e9691397a build ok for vc 2019-01-14 15:33:51 +08:00
zsx
1edd724a8d fixed one bug in fiber for stopping scheduling automatically 2019-01-14 14:34:14 +08:00
zsx
1cd42a9213 optimize tcp_keeper 2019-01-14 14:34:00 +08:00
zhengshuxin
2081b206c2 set free_obj's default value to true 2019-01-02 11:25:17 +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
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
郑树新
fcd083d307 build on Windows ok 2018-12-14 16:34:28 +08:00
郑树新
efeb4fdabb build for vc 2018-12-12 19:12:42 +08:00
zsx
d0d51ec6d1 build for macos 2018-12-07 13:50:42 +08:00
郑树新
ca7d64f263 vc2013 project for libfiber 2018-12-07 11:08:19 +08:00
zsx
35315809b9 add lost files to vc project 2018-12-06 22:07:24 +08:00