Commit Graph

239 Commits

Author SHA1 Message Date
郑树新
2b9418a396 optimize for windows platform by conditional building. 2022-02-04 13:48:04 +08:00
郑树新
eaa904c5e2 use InitOnceExecuteOnce on Windows platform 2022-02-02 19:54:33 +08:00
root
e29632e52e porting to ALPINE Linux 2022-01-27 18:46:55 +00: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
d6c554a463 build all 2021-11-16 14:45:06 +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
cfed77c897 optimize some macro for ACL_VSTREAM 2021-10-27 15:29:27 +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
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
郑树新
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
郑树新
04aaede734 optimize fiber module by hooking system API on windows 2021-08-19 21:45:41 +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
506c63a0fe the connect and read/write timeout can use ms 2021-07-09 18:27:11 +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
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
82eb342d0f acl_dns.c support lookup for AAAA record 2021-05-20 15:21:09 +08:00
shuxin   zheng
07b0ac1508 AAAA can be resolved when using localDNS 2021-05-12 17:05:07 +08:00
zhengshuxin
dbf91ceca8 use -Wanalyzer in gcc to check some warning in acl 2021-02-13 15:15:14 +08:00
zhengshuxin
f885500cf9 optimize codes 2021-02-10 19:58:56 +08:00
zhengshuxin
b16ca343dc don't use mutex when sendback result in redis_pipeline 2021-01-10 13:51:49 +08:00
zhengshuxin
9508843d96 use another gettimeofday for windows platform. 2020-12-29 16:30:12 +08:00
shuxin   zheng
bcdd1ff51a optimize json module's performance by using dbuf as the memory allocator. 2020-11-06 14:30:00 +08:00
shuxin   zheng
5a4ae5b475 don't use _WINDLL for win32/win64 platform 2020-11-05 16:05:47 +08:00
zhengshuxin
c21cc6c733 test dns module 2020-10-24 10:59:00 +08:00
shuxin   zheng
0dd378e35d add dns test benchmark 2020-10-23 15:26:11 +08:00
shuxin   zheng
4f6c47c68a make rfc1035 as a open API of acl 2020-10-19 13:34:18 +08:00
zhengshuxin
33456cc3af support inet6 in DNS module 2020-10-18 18:23:24 +08:00
unknown
206de9bb25 use 64bits first for ssize_t on windows platform. 2020-09-22 21:39:41 +08:00
unknown
9e68b56c10 fixed bug for defining ssize_t on windows x64 platform. 2020-09-22 21:17:58 +08:00
zhengshuxin
1c13d28c92 remove errbuf from ACL_VSTREAM to decrease its size 2020-09-05 13:24:47 +08:00
zhengshuxin
0ee5ee6620 fixed bug when closing DNS client and using aio but the aio has been freed. 2020-09-01 16:25:39 +08:00
zhengshuxin
1fcd4d59b0 add cname in dns module 2020-08-24 12:05:52 +08:00
shuxin   zheng
6e7ddc42d3 add "acl_" prefix for some ".c" files to avoid compiling warning for same files collision. 2020-07-22 17:50:56 +08:00
shuxin   zheng
050f756d43 fixed bug in acl_dns.c for crashing when socket was closed. 2020-07-01 15:57:57 +08:00
shuxin   zheng
41ef6fef8f use remote_addr@local_addr replacing the old format: local_addr@remote_addr 2020-06-27 14:01:13 +08:00
shuxin   zheng
99c94a9366 comiling acl workaround 2020-04-30 18:26:25 +08:00
shuxin   zheng
1f1321d0d1 add context object in ACL_CACHE2 2020-03-25 20:55:12 +08:00
zhengshuxin
642fa6b875 optimize acl_cache2 2020-02-24 17:19:09 +08:00
shuxin   zheng
59955b5b23 test acl using mbedtls ok! 2020-01-02 23:29:06 +08:00
shuxin   zheng
2d1ac25684 changes acl_pthread_cond_t for compiling with other library 2019-12-17 13:20:55 +08:00
shuxin   zheng
994a27c7e9 add more safety protection for dns module 2019-12-16 10:43:50 +08:00