Commit Graph

949 Commits

Author SHA1 Message Date
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
郑树新
ba7bb5f03f add !defined(MINGW) for supporting MSYS2 in acl_mbox.c 2022-08-02 23:34:45 +08:00
郑树新
d96e7f55b8 build acl ok on windows platform. 2022-08-01 22:05:07 +08:00
shuxin   zheng
4374153f00 add wait_group.cpp in xcode project of acl 2022-08-01 16:02:21 +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
72d9cc9402 delete unused codes 2022-07-22 09:57:27 +08:00
zhengshuxin
6da6a1dbd1 optimize size of the ACL_VSTRING object 2022-07-21 18:29:28 +08:00
zhengshuxin
f77a73575f Just release 3.5.3-16 for CentOS8.x 2022-07-13 17:01:26 +08:00
郑树新
2830be54fa Acl can be built by cmake tools chanins 2022-07-10 20:13:15 +08:00
zhengshuxin
1898cb086a fixed one bug in redis_command::run() if request_buf_ is NULL. 2022-07-09 17:46:38 +08:00
zhengshuxin
6393243b17 add debug info for acl_vstream_popen() when waiting timeout for the child to exit. 2022-06-15 18:45:55 +08:00
zhengshuxin
d1b317e0a6 fixed one bug in redis_client_pipeline.cpp about handling redirect message. 2022-06-15 15:03:03 +08:00
zhengshuxin
471ef22202 Add timeout for waiting for the child to exit. 2022-06-14 18:12:32 +08:00
郑树新
78dfda9b79 build ok on windows 2022-06-13 23:12:23 +08:00
shuxin   zheng
f496ab0202 add offset on mapping for acl_vstring for win32 platform. 2022-06-13 10:13:54 +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
6df3228b6f add mapping offset for string 2022-06-12 18:02:35 +08:00
zhengshuxin
6607698f44 release new version for one urgent bug fixed in redis_client_pipeline.hpp. 2022-06-07 20:38:11 +08:00
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