Commit Graph

1001 Commits

Author SHA1 Message Date
shuxin   zheng
bec6da83d9 Fixed bugs in acl_transfer_fd.c for MacOS. 2024-02-02 09:30:26 +08:00
zhengshuxin
82beb735a6 Optimize event module for handling the stream's read_ready for system IO. 2024-01-31 11:55:59 +08:00
zhengshuxin
90e4031112 Fixed one bug in aio serivce template when getting fd from dispatch server. 2024-01-31 10:54:26 +08:00
shuxin   zheng
dd03e76f65 modify readme 2024-01-30 09:52:26 +08:00
zhengshuxin
ae87f9e3c7 Make acl_fiber_kill() more safety. 2024-01-26 18:34:42 +08:00
shuxin   zheng
72feade14a Test coder demo. 2023-12-26 11:26:33 +08:00
郑树新
1331b420b3 Load OpenSSL dll successfully on Windows platforms. 2023-12-15 16:20:21 +08:00
shuxin   zheng
bd3e8fb8a7 Fixed one problem in event.c 2023-12-07 19:15:08 +08:00
zhengshuxin
6fc26c6c0f Using avl more safety. 2023-11-29 15:01:16 +08:00
zhengshuxin
26721e203d Don't sleep in the process of thread pool's destroy process. 2023-11-29 11:45:40 +08:00
zhengshuxin
cd3d0072dd Fixed one crash when close DNS handle in acl_dns.c which in aio mode. 2023-11-29 11:44:41 +08:00
zhengshuxin
4ee1036c41 Change the cmake required from 3.2.0 to 2.8.0. 2023-11-22 14:57:39 +08:00
shuxin   zheng
599c839342 Add flags for connecting process. 2023-11-22 11:05:30 +08:00
zhengshuxin
0e6385db08 Build for windows. 2023-11-20 17:39:36 +08:00
shuxin   zheng
c2e10d51da Add conditional comiling for handling the error when binding local address. 2023-11-18 15:11:53 +08:00
shuxin   zheng
88f215e41c Optimize and test bind local network interface when connecting the remote server. 2023-11-18 14:53:25 +08:00
shuxin   zheng
0b8dd11dca Client socket can bind local interface when connecting to the remote server. 2023-11-17 18:49:11 +08:00
zhengshuxin
cf4747a89c Test blocking socket for threads service. 2023-11-11 22:44:39 +08:00
郑树新
83d5e4bba9 Fixed the bug in threads service on windows platform. 2023-11-11 22:27:23 +08:00
zhengshuxin
81e8d32bdc Release 3.6.1-6 version. 2023-10-20 18:02:47 +08:00
zhengshuxin
943714a932 Add prefix for avl_xxx to avoid libs conlition with the others including the same avl lib. 2023-10-13 15:23:52 +08:00
zhengshuxin
d90a1aad60 Fixed one compiling warning by gcc13.x 2023-10-07 11:50:53 +08:00
zhengshuxin
217dc1aa65 Add multicast in master udp service. 2023-09-20 18:23:03 +08:00
zhengshuxin
264ec4f36f Add and test multicase socket. 2023-09-20 17:21:27 +08:00
shuxin   zheng
fff2bed41b Adding multicast ... 2023-09-20 15:15:11 +08:00
zhengshuxin
e5938c9f87 Add conditional compiling for including <libproc.h> on MacOS. 2023-09-18 14:39:05 +08:00
shuxin   zheng
f50da19dbb Using proc_pidpath() API to get the path of the running process, thanks to wfeii1980. 2023-09-15 15:58:23 +08:00
zhengshuxin
e47725fc1f Rename demo base64 to coder. 2023-09-11 16:10:39 +08:00
shuxin   zheng
171fb80b82 Add demo in acl_cache2.h 2023-09-05 10:51:39 +08:00
shuxin   zheng
95c4fd926b Rename base64 demo to coder. 2023-09-05 10:35:22 +08:00
zhengshuxin
fe6080522f Add lock API for ACL_HTABLE. 2023-09-03 17:22:37 +08:00
shuxin   zheng
dcf6ae2c51 test acl memdb module. 2023-08-24 11:29:17 +08:00
shuxin   zheng
1705f9b56e Decreate http read buff's size for shared stack fiber mode. 2023-08-23 10:46:16 +08:00
shuxin   zheng
267e017340 Add acl_htable_enter_r2() in lib_acl. 2023-08-22 10:09:41 +08:00
zhengshuxin
6a4619f2ed Remove debug info. 2023-08-21 18:39:09 +08:00
zhengshuxin
a8f80c1e48 Release 3.6.1-5 version. 2023-08-16 17:15:07 +08:00
shuxin   zheng
5742161e26 compiling ok on MacOS. 2023-07-11 17:35:20 +08:00
zhengshuxin
3227944489 Delete unused codes. 2023-07-07 21:38:40 +08:00
luwei
58ef820caf Build sucessfully by clang with higher version. 2023-07-07 21:14:39 +08:00
zhengshuxin
49d73b733e Build sucessfully by clang with higher version. 2023-07-06 22:20:33 +08:00
zhengshuxin
9df7c8d7b1 Optimize fiber event for supporting read/write on the same socket. 2023-06-26 12:04:27 +08:00
zhengshuxin
2563625613 fixed one compiling warning in fiber_hook.h 2023-06-25 09:49:49 +08:00
郑树新
56995f709c Fixed bug in acl_get_ifaddrs on windows. 2023-06-07 23:26:37 +08:00
zhengshuxin
10c1655765 Release acl-3.6.1-3. 2023-06-06 11:21:11 +08:00
zhengshuxin
ab148987ce service templates in the mode of fiber or thread can bind wildcad addresses. 2023-05-25 19:00:22 +08:00
shuxin   zheng
30e28278e9 Build ok for multiple platforms. 2023-04-17 16:28:35 +08:00
郑树新
9c5e5662f6 The AF_UNSPEC should be treated as AF_INET on Windows so the udp service can run correctly. 2023-04-08 20:55:35 +08:00
zhengshuxin
4699c2f4c0 ETIMEDOUT should be used other than ETIME. 2023-03-31 23:18:38 +08:00
zhengshuxin
8d371b0a17 Use ETIME other ETIMEDOUT on Unix-like OS. 2023-03-29 22:57:44 +08:00
zhengshuxin
66551ff234 build ok by cmake 2023-03-27 20:48:27 +08:00
zhengshuxin
2ac3eef044 Optimize htable module 2023-03-22 17:20:21 +08:00
zhengshuxin
3b4c518ab9 release 3.6.1.1 version 2023-03-21 10:47:46 +08:00
zhengshuxin
62107801c1 optimize codes. 2023-03-20 17:01:23 +08:00
zhengshuxin
16bc2151a6 test clock_gettime vs gettimeofday 2023-03-19 20:51:23 +08:00
zhengshuxin
257b0bcbb9 Release acl 3.6.1-0 version 2023-03-08 11:51:17 +08:00
zhengshuxin
b9ba574128 add one demo for testing split 2023-02-26 21:29:22 +08:00
zhengshuxin
d501547ca9 format code style 2023-02-26 21:29:04 +08:00
zhengshuxin
76ee710b6c Optimize memory usage in acl. 2023-01-29 17:59:40 +08:00
zhengshuxin
ced1d28906 Release 3.6.0-4 version. 2023-01-19 15:23:50 +08:00
zhengshuxin
e43f7e2410 make macro safety 2023-01-16 20:28:52 +08:00
zhengshuxin
057852cb72 Test if SO_REUSEPORT should be set before bind the socket fd. 2023-01-13 16:38:33 +08:00
shuxin   zheng
7a43fbf597 Release acl3.6.0-3 2022-12-30 10:36:26 +08:00
zhengshuxin
2e9da19b6a prepare for releasing new version acl-3.6.0-3 2022-12-29 17:36:16 +08:00
zhengshuxin
10b0676d9e Modify acl version date. 2022-12-28 17:09:59 +08:00
zhengshuxin
150ef70ca9 optimize unitest module 2022-12-28 15:46:00 +08:00
zhengshuxin
18897d8f70 modify acl build date 2022-12-27 09:39:11 +08:00
zhengshuxin
6173212d7c modify acl modify date 2022-12-25 17:05:19 +08:00
zhengshuxin
92d5fdc284 release 3.6.0-2 for compatibility for calling gettid() on Linux. 2022-12-16 14:53:04 +08:00
zhengshuxin
3b2019c4ba release 3.6.0-1 version 2022-12-16 13:05:05 +08:00
zhengshuxin
3f557c576a prepare for the new version 3.6.0 2022-12-01 20:22:33 +08:00
zhengshuxin
ea42500c68 optimize and test redis client pipeline mode with the new fiber_tbox with less eventfd. 2022-11-21 22:58:52 +08:00
zhengshuxin
8353981a96 optimize all box classes and redis_client_pipeline can create box by virtual create function. 2022-11-21 20:27:09 +08:00
郑树新
5ef61a9f15 delete unused branch 2022-11-17 14:28:31 +08:00
shuxin   zheng
fca99933f0 build ok by xcode 2022-11-17 12:10:33 +08:00
zhengshuxin
49b617f2e3 use different context for read/write operations in io_uring module 2022-11-02 06:57:18 -04:00
zhengshuxin
a87aadb291 add io_uring in master service template. 2022-10-26 11:21:28 -04:00
zhengshuxin
9286a008c5 test 2022-10-26 07:03:34 -04:00
zhengshuxin
1ed47abeb1 optimize and test io_uring... 2022-10-08 15:15:21 -04:00
shuxin   zheng
3279c71465 release 3.5.3-53 to avoid stack crash for win64 2022-09-19 11:09:17 +08:00
shuxin   zheng
36e42b8f70 limit recursive to 1 of aio IO for windows 2022-09-19 10:45:38 +08:00
shuxin   zheng
5577a381a7 limit the minimal stack size for each thread on windows to avoid stack crash for win-x64. 2022-09-19 10:38:25 +08:00
郑树新
f52536bd5a build dynamic DLL ok on windows 2022-09-14 16:24:54 +08:00
zhengshuxin
837e373a4c acl_threads_server can bind unix domain socket when using SO_REUSEPORT. 2022-09-14 14:53:13 +08:00
郑树新
a6a2b45c6a optimize socket write on windows 2022-09-06 17:15:12 +08:00
郑树新
d2c73a1d75 disable SDL checking for x64 on windows 2022-09-06 09:59:52 +08:00
zhengshuxin
fbd053268f restore socket IO process templely 2022-09-01 11:26:01 +08:00
zhengshuxin
b62a3138b2 release new acl and master 2022-08-31 15:35:38 +08:00
zhengshuxin
97028886a8 test openssl in fiber mode. 2022-08-29 18:40:15 +08:00
zhengshuxin
ae39d3ec94 optimize network IO module. 2022-08-29 17:09:02 +08:00
zhengshuxin
43c454a93d Don't close aio socket if there is some data waiting to be written in aio buffer. 2022-08-25 23:08:05 +08:00
郑树新
026485c21e compile acl on windows ok 2022-08-22 22:32:23 +08:00
zhengshuxin
56548cdb8b release new version for one bug fixed in fiber module. 2022-08-15 15:15:27 +08:00
shuxin   zheng
211b62d2ef add acl_localtime.c from redis to replace localtime_r() 2022-08-10 14:31:26 +08:00
zhengshuxin
97f66b265e compile demos on Cygwin 2022-08-06 23:32:00 +08:00
郑树新
1ebb4554b6 compile on windows 2022-08-06 22:09:12 +08:00
zhengshuxin
680ce7fba3 build ok 2022-08-06 20:20:17 +08:00
zhengshuxin
e664f21494 build acl ok on Cygwin 2022-08-06 20:03:51 +08:00
zhengshuxin
13691baaa9 use configure name directly in service template. 2022-08-06 12:33:11 +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