Commit Graph

832 Commits

Author SHA1 Message Date
zhengshuxin
d85fe06582 Using local address for peer when bind unix domain path for dgram mode 2022-06-02 15:29:40 +08:00
shuxin   zheng
9cf7281054 release new version for acl_libs and acl_master 2022-06-01 20:24:53 +08:00
zhengshuxin
95d385cbbe add readable API for socket fd 2022-06-01 12:49:49 +08:00
zhengshuxin
bfe5e94bd2 format code to avoid compiling error with -Werror=misleading-indentation. 2022-05-31 15:28:25 +08:00
shuxin   zheng
2669546783 optimize dns-gate 2022-05-29 17:41:21 +08:00
郑树新
a0ea450ba2 test net_tools 2022-05-19 23:57:35 +08:00
shuxin   zheng
ce0655e938 modify comments for ring structure 2022-05-11 18:42:08 +08:00
shuxin   zheng
2dbba96b97 fixed one bugs in rfc1035.cpp and add one demo dns-gate for transfering DNS protocol. 2022-04-30 14:56:38 +08:00
zhengshuxin
5d3a33350f fixed one bug for reopen mysql db in lib_acl 2022-04-19 14:36:34 +08:00
郑树新
7c39974639 test thread mutex in recursive mode 2022-04-13 21:11:05 +08:00
郑树新
54738f48d9 build ok on windows 2022-04-13 20:50:14 +08:00
zhengshuxin
0553c027ec release acl 3.5.3-10 version 2022-04-13 15:51:15 +08:00
zhengshuxin
2c7c9ce42e Fixed one dead lock bug in timer_callback() in master_base.cpp, where acl_event_request_timer() will be blocked by the mutex locked by the same thread, and the timer_callback() was called in event_timer_trigger() in events_timer.c in the mutex locking status. Just make the lock be a recursive lock. 2022-04-13 15:34:34 +08:00
zhengshuxin
653e05f786 prepare for releasing 3.5.3-9 version 2022-04-11 22:19:58 +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
郑树新
a9b4053454 test httpd_proxy 2022-04-03 00:16:05 +08:00
zhengshuxin
1ced194a2b optimize the API epoll's hooking in fiber module 2022-03-22 15:55:58 +08:00
zhengshuxin
73638af469 release 3.5.3-8 for the optimizing of the fiber module 2022-03-08 20:36:14 +08:00
郑树新
396d634e83 set SO_LINGER option for the socketpair's implement on windows. 2022-02-27 17:41:51 +08:00
shuxin   zheng
ec1d5055e7 release 3.5.3-7 version 2022-02-23 11:30:00 +08:00
zhengshuxin
6f1a1cc2f3 Second is used for timeout unit in default mode when connecting. 2022-02-17 07:54:38 +08:00
zhengshuxin
98c8cc0abe the IO timeout should be ms in acl_vstream_timed_connect() 2022-02-16 23:00:40 +08:00
shuxin   zheng
75c54ce645 release 3.5.3-7 2022-02-11 10:37:13 +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
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
郑树新
de77ff891c optimize and test iocp 2022-01-26 18:08:55 +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
zhengshuxin
ae61a9d432 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2022-01-21 17:33:44 +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
郑树新
cf9f39bba5 add precision for double type when building json 2022-01-10 22:41:07 +08:00
zhengshuxin
a27557a902 optimize aio closing process in weak network env. 2021-12-13 16:30:15 +08:00
zhengshuxin
abadd44f47 format aio module's code style 2021-12-13 15:50:37 +08:00
shuxin   zheng
1d85b6161a use '|" replace ':' as the seperator in the address 2021-11-23 15:46:21 +08:00
zhengshuxin
d6c554a463 build all 2021-11-16 14:45:06 +08:00
zhengshuxin
d00500d668 release 3.5.3-4 version for one crash bug been fixed in http_aclient.cpp 2021-11-15 14:57:32 +08:00
zhengshuxin
9782fab652 It maybe reasonable that the read_ready flag was cleared before the real read API called. 2021-11-12 17:24:11 +08:00
郑树新
105fdb8656 build on windows 2021-11-09 22:10:27 +08:00
zhengshuxin
0b76431269 rename the old function acl_getsocktype to acl_getsockfamily and add the new acl_getsocktype 2021-11-09 22:00:57 +08:00
zhengshuxin
3001daf1b5 reserve enough memory space for acl_aio_readn() 2021-11-01 11:12:56 +08:00
zhengshuxin
07b4daf906 release 3.5.3-3 for one crashed bug fixed. 2021-10-27 17:09:46 +08:00