Commit Graph

99 Commits

Author SHA1 Message Date
zhengshuxin
12006e2ff1 shared stack mode can be selected by users 2022-04-08 07:32:06 +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
郑树新
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
郑树新
e0601e582f test some fiber module on windows 2021-08-23 18:41:23 +08:00
郑树新
2f47091920 test winapi hook in fiber module on Windows platform. 2021-08-19 23:31:12 +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
24124b87e7 format code, replace "\n" with "\r\n" for all source files. 2020-08-21 14:55:03 +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
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
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
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
zhengshuxin
2081b206c2 set free_obj's default value to true 2019-01-02 11:25:17 +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
郑树新
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
zsx
66a560e37f fixed bugs in client_wakeup of acl_threads_server.c;
acl::fiber_tbox and acl::fiber_cond are ok.
2018-12-06 15:50:13 +08:00
zsx
ecdb9df01f add ACL_FIBER_COND in fiber_cond.hpp 2018-12-01 12:04:36 +08:00
zsx
4db127ec9f optimize fiber_cond and fiber 2018-11-30 18:26:46 +08:00
zsx
f75eebde9f add fiber_tbox.hpp 2018-11-30 17:20:45 +08:00
zsx
9445201f43 add lost file 2018-11-30 15:00:28 +08:00
zsx
fb271fd104 format to DOS style. 2018-11-30 14:38:22 +08:00
zsx
f570318eb6 modify fiber_cond 2018-11-30 14:36:15 +08:00
zsx
159a0e2760 add fiber_cond into libfiber 2018-11-30 14:35:58 +08:00
zsx
12c78277c8 add fiber_cond in cpp lib 2018-11-30 14:35:08 +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
4e5f45068e add one parameter for fiber_event class 2018-11-28 16:14:05 +08:00
zsx
2d0cd3ed91 acl::fiber_event using FIBER_FLAG_USE_MUTEX as default 2018-11-26 09:53:32 +08:00
zhengshuxin
f7af753d9e add one flag when creating fiber_event 2018-11-24 11:49:18 +08:00