Commit Graph

3068 Commits

Author SHA1 Message Date
zhengshuxin
18979c88a5 optimize for closing fd in another fiber from the running fiber 2022-03-02 18:33:09 +08:00
shuxin   zheng
6313725b14 adding new feature that one fiber can close another fiber's fd 2022-03-01 19:04:30 +08:00
zhengshuxin
a60dbd21e1 adding new feature that one fiber can close another fiber's fd 2022-03-01 19:02:05 +08:00
郑树新
396d634e83 set SO_LINGER option for the socketpair's implement on windows. 2022-02-27 17:41:51 +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
shuxin   zheng
ec1d5055e7 release 3.5.3-7 version 2022-02-23 11:30:00 +08:00
zhengshuxin
0fe52cf465 test setting timeout by setsockopt in fiber module 2022-02-20 23:44:30 +08:00
郑树新
c231ca4ad9 test fiber on windows 2022-02-20 16:56:04 +08:00
zhengshuxin
a48c6a9613 optimize the APIs for poll and epoll 2022-02-20 16:26:18 +08:00
zhengshuxin
0a583194c8 test fiber 2022-02-20 13:22:02 +08:00
zhengshuxin
116566ffc0 Do not put the fiber in ready quque if the fiber has been killed by the other fiber. 2022-02-20 13:17:28 +08:00
zhengshuxin
d1a93c1aa6 Do not set no-blocking in fiber_file_open_xxx() 2022-02-20 13:00:25 +08:00
zhengshuxin
f940f2dca3 seperate read/write fiber for reading and writing process 2022-02-20 11:39:46 +08:00
郑树新
6139b0ef2f add httpd_proxy's project into acl_cpp_vc2019.sln 2022-02-17 21:13:40 +08:00
郑树新
3c4b8dab92 fixed compiling libfiber's error on vc2012 2022-02-17 19:26:48 +08:00
zhengshuxin
6f1a1cc2f3 Second is used for timeout unit in default mode when connecting. 2022-02-17 07:54:38 +08:00
zhengshuxin
f93fe96ec1 optimize and test fiber module 2022-02-16 23:01:54 +08:00
zhengshuxin
98c8cc0abe the IO timeout should be ms in acl_vstream_timed_connect() 2022-02-16 23:00:40 +08:00
zhengshuxin
d4a829102f test fiber 2022-02-16 18:16:58 +08:00
shuxin   zheng
56314c1fdf test httpd_proxy 2022-02-16 12:00:12 +08:00
郑树新
3fe4ad1a84 optimize and fixed bugs in fiber module when using IOCP event 2022-02-15 22:34:10 +08:00
shuxin   zheng
75c54ce645 release 3.5.3-7 2022-02-11 10:37:13 +08:00
shuxin   zheng
f32aea02f5 readd doWebsocket() API in HttpServlet class for being compatible with old applications 2022-02-11 10:35:18 +08:00
shuxin   zheng
c968da6825 fixed some bugs in websocket demo 2022-02-10 09:50:00 +08:00
郑树新
2b9418a396 optimize for windows platform by conditional building. 2022-02-04 13:48:04 +08:00
郑树新
15c9eda94a The new thread is joinable default after being created when attr not set 2022-02-02 23:11:19 +08:00
郑树新
8fb78a54e2 test aio on windows 2022-02-02 21:49:47 +08:00
zhengshuxin
0806ba7045 test thread once 2022-02-02 21:05:57 +08:00
zhengshuxin
b9a055eb86 add one demo for test thread once 2022-02-02 20:06:39 +08:00
郑树新
eaa904c5e2 use InitOnceExecuteOnce on Windows platform 2022-02-02 19:54:33 +08:00
root
8584c25de1 use PTHREAD_MUTEX_RECURSIVE on Alpine Linux 2022-01-28 14:57:16 +00:00
zhengshuxin
2caf8aae1d release 3.5.3-6 2022-01-28 23:42:19 +08:00
root
a41327d992 build tests ok on Alpine 2022-01-27 20:47:28 +00: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
root
e29632e52e porting to ALPINE Linux 2022-01-27 18:46:55 +00:00
郑树新
2f63cb52b7 delete debug code 2022-01-26 22:41:17 +08:00
郑树新
e5f73baa0f IOCP in fiber module supports GetQueuedCompletionStatusEx() 2022-01-26 22:34:50 +08:00
郑树新
b1ed096912 test iocp 2022-01-26 18:47:38 +08:00
郑树新
de77ff891c optimize and test iocp 2022-01-26 18:08:55 +08:00
郑树新
bba59a92b9 add vc2019 project for redis_list demo 2022-01-25 21:46:19 +08:00
shuxin   zheng
d7fa5eab36 test httpd_proxy demo 2022-01-24 18:36:08 +08:00
shuxin   zheng
0c6ace92e0 test fiber demo 2022-01-24 09:02:42 +08:00
zhengshuxin
1b010b8fd9 test fiber on linux 2022-01-23 23:56:48 +08:00
zhengshuxin
b2860d6d3d build fiber module on linux 2022-01-23 23:51:29 +08:00
郑树新
566961f9a4 fixed some bugs in iocp mode in fiber module 2022-01-23 23:46:19 +08:00
郑树新
dbdcfb5511 add socket control for connecting server with timeout in non-blocking 2022-01-22 09:44:28 +08:00
郑树新
c003f67d94 acl_timed_connect_ms() should be used in connect_one() in acl_inet_connect.c 2022-01-21 23:40:37 +08:00
shuxin   zheng
a5416395ed test SO_RCVTIMEO in fiber mode 2022-01-21 21:41:28 +08:00