Commit Graph

201 Commits

Author SHA1 Message Date
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
zsx
f53fcb5ab3 bugfix: acl_ifconf_search in acl_ifconf.c can't handle some addr pattern 2018-09-19 15:52:59 +08:00
zsx
bf184fbfea add some useful methods in acl_cache2.cpp 2018-09-18 15:04:23 +08:00
zsx
de4805a6c8 fixed one bug in acl_ifconf.c for checking the UNIX path for matching. 2018-09-17 18:44:27 +08:00
zhengshuxin
b4bb083bdd build ok by gcc7.1.0 2018-09-17 13:33:34 +08:00
zsx
4969d4bed9 using if_nametoindex in acl_inet_pton 2018-09-17 13:11:47 +08:00
zsx
f27af8b424 acl support IPV6 is OK now! 2018-09-16 21:49:58 +08:00
zsx
afa223c6b3 fixed Linux's bug in acl_inet_pton of IPV6 addrs that using getaddrinfo other than inet_pton 2018-09-14 23:33:23 +08:00
zsx
4a3ec4a288 supporting IPV6 2018-09-13 18:38:03 +08:00
zsx
9986105018 supporting IPV6 2018-09-12 17:43:46 +08:00
zsx
9498838177 supporting IPV6 2018-09-11 19:07:43 +08:00
zsx
cbf202d1b1 supporting IPV6 2018-09-10 18:30:54 +08:00
zsxxsz
c9e5e010a7 fixed compiling warning on VC 2018-08-19 23:11:36 +08:00