Commit Graph

213 Commits

Author SHA1 Message Date
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
zhengshuxin
7ba1dd499f support Linux abstract unix domain socket 2019-12-11 10:46:22 +08:00
shuxin   zheng
6d278d53b1 fixed parameters comments in headers found by xcode 2019-09-13 19:50:34 +08:00
shuxin   zheng
d1fb7e888a fixed parameters comments warning in headers found by xcode 2019-09-13 19:47:23 +08:00
郑树新
8f4fd32fc0 add on_ns_failed() callback for http_aclient when nslookup failed. 2019-08-21 17:42:07 +08:00
zsxxsz
46b4bcd63c add some functions for DNS operations 2019-08-13 21:55:34 +08:00
zhengshuxin
a53b9d36ff dns resolving and aio connect are ok when using multiple DNS server. 2019-08-13 18:29:40 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00
zhengshuxin
8280209e71 add acl_vstream_read_peek3 2019-07-08 22:08:26 +08:00
zhengshuxin
7d85364bc6 add http_aclient for getting http response from webserver in aio mode. 2019-06-05 17:36:47 +08:00
zhengshuxin
ec6462f3e6 aio connect support resolving domain name async. 2019-05-24 16:59:47 +08:00
zsxxsz
53583d8a9d add compiling macro option ACL_CLIENT_ONLY to decrease the library's size for
client software.
2019-05-18 21:19:21 +08:00
zhengshuxin
c5c2659eb3 rename chunk_chain.cpp.cpp to chunk_chain.cpp 2019-03-20 13:55:17 +08:00
郑树新
59ea283a86 Build ok for vc 2019-03-08 11:17:32 +08:00
zsx
c6743aaa7f acl_scan_dir.c: the current dir's attribute can be got in scanning process 2019-02-13 11:22:31 +08:00
zsx
74369b46dc scan_dir: empty directory can be removed when scanning directories 2019-02-01 18:47:19 +08:00
zsx
9665f1a883 add udp_fatal_on_bind_error configure for acl_udp_server.c 2018-11-28 18:58:21 +08:00
zsx
efdb56b579 add ACL_EMFILE errno for UNIX/Windows. 2018-11-15 15:48:13 +08:00
zsx
86b45b99f2 udp server is more stable. 2018-10-23 21:29:55 +08:00
zsx
ea3d71999a limit the core file's size and disable creating core when process is exiting. 2018-10-23 13:29:21 +08:00
zsx
16c402fe42 release 3.4.1-27 2018-10-11 11:02:30 +08:00
zsx
c949a3be7a add proc_on_unbind in master_udp 2018-10-08 16:32:44 +08:00
zsx
44e0948aec bugfix: ssize_t redefined to long to avoid error on vc in x64 2018-10-04 22:53:44 +08:00
郑树新
c0c1b22e69 add acl_socket_alive for checking if the given socket is aliving. 2018-09-29 11:03:35 +08:00
zsx
97fddf37a2 bugfix: acl_inet_connect_ex of acl_inet_connect.c should support domain:port format 2018-09-28 17:52:18 +08:00
zsxxsz
cb218497b6 add new flag to control if disable SO_REUSEADDR when binding the local
listening addr.
2018-09-22 09:40:33 +08:00