郑树新
|
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 |
|
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 |
|
zhengshuxin
|
f5e6255ab2
|
fixed bugs when connecting server with one numric IP addr where the addrinfo not inited.
|
2021-10-27 17:06:01 +08:00 |
|
zhengshuxin
|
cfed77c897
|
optimize some macro for ACL_VSTREAM
|
2021-10-27 15:29:27 +08:00 |
|
郑树新
|
2fac0429ec
|
don't use static variable in acl_vstream.c when acl is used by two or more dll.
|
2021-10-27 15:01:31 +08:00 |
|
zhengshuxin
|
8e023c745a
|
Add new function for getting the length of the sending queue in aio module.
|
2021-10-26 16:48:58 +08:00 |
|
zhengshuxin
|
8a7ca5b338
|
The eventp->timers should be freed in event_timer_free().
|
2021-10-26 16:27:16 +08:00 |
|
moehuster
|
3463e6ecd1
|
Feature: add linux-aarch64 support
|
2021-10-22 11:03:00 +08:00 |
|
zhengshuxin
|
3fff0e896d
|
add some log for acl_udp_server.c
|
2021-10-21 18:29:16 +08:00 |
|
zhengshuxin
|
1a35c94530
|
fixed one corrupt bug occasionally in acl_udp_server.c
|
2021-10-21 17:43:30 +08:00 |
|
shuxin zheng
|
5201a2e8fc
|
optimize name resolving in acl_inet_timed_connect() API.
|
2021-10-19 10:49:15 +08:00 |
|
郑树新
|
ebfa913de8
|
optimize address resolving for acl_inet_connect() API.
|
2021-10-18 17:27:05 +08:00 |
|
shuxin zheng
|
d96c52f6a6
|
optimize acl_inet_timed_connect() that don't resolve address from DNS when the given address is numeric address.
|
2021-10-18 16:59:15 +08:00 |
|
zhengshuxin
|
6a6952c416
|
release 3.5.3-1 version
|
2021-10-14 09:11:58 +08:00 |
|
zhengshuxin
|
0cdb975a26
|
build ...
|
2021-10-12 18:02:36 +08:00 |
|
郑树新
|
72d6b1f0fc
|
optimize and test iocp of fiber module.
|
2021-10-12 18:01:04 +08:00 |
|
zhengshuxin
|
44ff4a5c91
|
add acl_sane_bind()
|
2021-10-12 17:46:00 +08:00 |
|
zhengshuxin
|
b7ecc6b8a9
|
add configure item for if enable monitor netlink in acl_udp_server.c
|
2021-10-12 14:56:07 +08:00 |
|
zhengshuxin
|
667c2f27f0
|
optimize building by ndk-build
|
2021-09-28 15:49:15 +08:00 |
|
shuxin zheng
|
5c96afd9ce
|
optimize code
|
2021-09-24 09:10:14 +08:00 |
|
shuxin zheng
|
d2d376ce73
|
optimize socketpair
|
2021-09-24 08:57:02 +08:00 |
|
郑树新
|
b87c0f43d1
|
optimize socketpair for windows
|
2021-09-23 22:40:09 +08:00 |
|
郑树新
|
cde03a74d4
|
optimize vs projects
|
2021-09-16 19:27:09 +08:00 |
|
郑树新
|
c0719a1b2e
|
optimize vc projects
|
2021-09-14 18:34:21 +08:00 |
|
shuxin zheng
|
e371cba331
|
format code
|
2021-09-11 15:48:21 +08:00 |
|
郑树新
|
a8086534c3
|
optimize and test socketpair for windows
|
2021-09-09 11:23:05 +08:00 |
|
shuxin zheng
|
a1d5eb509a
|
optimize socketpair API for windows
|
2021-09-09 11:07:44 +08:00 |
|
郑树新
|
ce60ce7150
|
fixed bug in acl_atomic.c and atomic.c
|
2021-08-25 16:28:07 +08:00 |
|
郑树新
|
ff71cebfae
|
test fiber on windows
|
2021-08-23 11:21:59 +08:00 |
|
郑树新
|
9d3f6d5cfd
|
test API hook for fiber module on Windows platform.
|
2021-08-22 23:15:38 +08:00 |
|
shuxin zheng
|
8e7a26cc8a
|
upgrade version info
|
2021-08-20 17:28:45 +08:00 |
|
郑树新
|
04aaede734
|
optimize fiber module by hooking system API on windows
|
2021-08-19 21:45:41 +08:00 |
|
郑树新
|
2d04980910
|
optimizing fiber module
|
2021-08-18 16:07:35 +08:00 |
|
zhengshuxin
|
5e18c5a939
|
fixed bug where memory leaking happened that rnd_ should be freed in mbedtls_conf::~mbedtls_conf()
|
2021-08-12 13:38:17 +08:00 |
|
shuxin zheng
|
4c77dbae17
|
pollfd be set should in loop which maybe more safety.
|
2021-08-10 16:51:02 +08:00 |
|
shuxin zheng
|
13fc004f04
|
optimize acl_read_poll_wait() for MacOS with slice timed waiting.
|
2021-08-10 11:16:05 +08:00 |
|
shuxin zheng
|
e6a8935111
|
make acl_msg.c more safety by add va_copy() macro
|
2021-07-16 11:02:11 +08:00 |
|
zhengshuxin
|
8dd1d0a329
|
modify time stamp in acl_init.c
|
2021-07-13 16:18:46 +08:00 |
|
郑树新
|
6a1c34168f
|
build acl by vc2019
|
2021-07-13 15:09:46 +08:00 |
|
shuxin zheng
|
506c63a0fe
|
the connect and read/write timeout can use ms
|
2021-07-09 18:27:11 +08:00 |
|
shuxin zheng
|
cc5619cf18
|
add one warning log when length too large for acl_vstring_memcat
|
2021-07-06 15:11:02 +08:00 |
|
zhengshuxin
|
7e72a9ad95
|
release acl 3.5.3-0 version
|
2021-06-24 16:44:13 +08:00 |
|
shuxin zheng
|
eb074943af
|
correct comments headers
|
2021-06-22 16:07:34 +08:00 |
|
shuxin zheng
|
79b4a260eb
|
format output
|
2021-06-22 09:08:34 +08:00 |
|
shuxin zheng
|
53ca1e811e
|
add comments in header
|
2021-06-21 10:40:02 +08:00 |
|
shuxin zheng
|
fa9724c0c7
|
add acl_cpp_verbose()
|
2021-06-21 09:36:15 +08:00 |
|
zhengshuxin
|
a05c0ec9c2
|
optimize memory pool module
|
2021-06-18 19:05:48 +08:00 |
|
shuxin zheng
|
dd6b6f913a
|
optimize memory module
|
2021-06-18 14:52:21 +08:00 |
|
郑树新
|
58f0fa8798
|
add lost file and fixed one bug in rfc1035
|
2021-06-16 14:40:04 +08:00 |
|
shuxin zheng
|
813445f2c5
|
ignore ACL_EVENT_XCPT when can_read_fn returns ok in can_read_callback.
|
2021-06-03 14:10:10 +08:00 |
|
shuxin zheng
|
724ca3f016
|
don't call READ_IOCP_CLOSE() macro when got ACL_EVENT_XCPT event in can_read_callback, just let 'can_read_fn' to trigger a closing process which is useful for reading ICMP package when found a error by poll.
|
2021-06-02 16:57:49 +08:00 |
|
shuxin zheng
|
2663fc923a
|
add cname in acl_rfc1035_build_reply() in acl_rfc1035.c
|
2021-06-02 16:53:31 +08:00 |
|
shuxin zheng
|
e1fdd70000
|
modify acl_dns_lookup()/acl_dns_lookup2()
|
2021-05-31 10:56:27 +08:00 |
|
shuxin zheng
|
6385c33c81
|
add cname type in acl_rfc1035_build_reply
|
2021-05-26 17:28:57 +08:00 |
|
shuxin zheng
|
285e3aaf29
|
add cname node in dns module
|
2021-05-26 15:52:48 +08:00 |
|
shuxin zheng
|
fb3a64ebf9
|
add timeout when calling acl_sane_socketpair() for Windows platform
|
2021-05-25 15:12:45 +08:00 |
|
shuxin zheng
|
686abe9cf0
|
optimize AAAA resolving
|
2021-05-20 17:16:19 +08:00 |
|
shuxin zheng
|
82eb342d0f
|
acl_dns.c support lookup for AAAA record
|
2021-05-20 15:21:09 +08:00 |
|
shuxin zheng
|
b5acca8789
|
don't warning for null ips in acl_rfc1035_build_reply() of acl_rfc1035.c
|
2021-05-17 16:34:07 +08:00 |
|
zhengshuxin
|
e1a38c09e0
|
don't return NULL if rcode is 3 in acl_rfc1035.c
|
2021-05-17 16:01:41 +08:00 |
|
shuxin zheng
|
6d95d2ef26
|
fixed bug in dns module
|
2021-05-14 14:02:48 +08:00 |
|
shuxin zheng
|
fa6b9ee7ea
|
add one demo to test acl_gethostbyname()
|
2021-05-12 17:08:00 +08:00 |
|
shuxin zheng
|
07b0ac1508
|
AAAA can be resolved when using localDNS
|
2021-05-12 17:05:07 +08:00 |
|
shuxin zheng
|
116ae826ff
|
correct bug in fdmap.c
|
2021-04-27 15:11:06 +08:00 |
|
shuxin zheng
|
46b728c63c
|
don't fatal when fd extend the limits in fdmap
|
2021-04-27 14:48:41 +08:00 |
|
shuxin zheng
|
b3e795a099
|
optimize json module
|
2021-03-28 11:41:11 +08:00 |
|
shuxin zheng
|
9b835c8e8a
|
optimize json module
|
2021-03-28 00:02:43 +08:00 |
|
shuxin zheng
|
c4993fd694
|
fixed one bug in json module.
|
2021-03-27 15:59:42 +08:00 |
|
zsxxsz
|
34c55ccf0e
|
build ok by vc2003
|
2021-03-07 21:26:26 +08:00 |
|
zhengshuxin
|
ed79cc3834
|
build ok on windows platform.
|
2021-02-23 14:30:00 +08:00 |
|
shuxin zheng
|
62554834b7
|
fixed one bug for windows when using WSAPoll
|
2021-02-23 14:00:11 +08:00 |
|
zhengshuxin
|
dbf91ceca8
|
use -Wanalyzer in gcc to check some warning in acl
|
2021-02-13 15:15:14 +08:00 |
|
zhengshuxin
|
4ce5e20917
|
build ok for windows
|
2021-02-10 20:32:36 +08:00 |
|
zhengshuxin
|
f885500cf9
|
optimize codes
|
2021-02-10 19:58:56 +08:00 |
|
zhengshuxin
|
9700eaf8a2
|
format code
|
2021-02-10 19:16:37 +08:00 |
|
zhengshuxin
|
0f079be4a8
|
test event timer
|
2021-02-10 13:57:46 +08:00 |
|
zhengshuxin
|
8b3de764ed
|
test event timer
|
2021-02-10 13:43:33 +08:00 |
|