Commit Graph

459 Commits

Author SHA1 Message Date
zhengshuxin
7ba1dd499f support Linux abstract unix domain socket 2019-12-11 10:46:22 +08:00
郑树新
92265d2abf fixed bugs for windows 2019-11-28 16:02:17 +08:00
zhengshuxin
756d6ebb07 compile warn for code charset 2019-11-28 10:31:08 +08:00
shuxin   zheng
1e9a0f1721 build acl for ndk-r9d for Android 2019-11-22 17:37:20 +08:00
shuxin   zheng
93f9d6eb83 build for ndk9d ok by using *.mk for Android 2019-11-22 16:14:20 +08:00
shuxin   zheng
c3373e8b61 remove ACL_CLIENT_ONLY compiling condition in acl_aio.c 2019-11-09 23:02:02 +08:00
shuxin   zheng
74d9f5aabb format code. 2019-11-09 23:00:28 +08:00
shuxin   zheng
4f700a849f fd limits set to a large value for Android other the fixed value 1024 2019-11-05 13:21:20 +08:00
shuxin   zheng
ebbc9a1ac3 fixed bugs for Android ndk r16b when using atomic in acl_atomic.c 2019-11-01 18:01:38 +08:00
shuxin   zheng
d7978bcae5 optimize acl project 2019-10-04 11:31:08 +08:00
shuxin   zheng
e9acc88c68 fixe one compiling warning 2019-09-13 17:13:02 +08:00
shuxin   zheng
152415550b upgrade xcode projects of acl 2019-09-13 17:06:46 +08:00
zhengshuxin
970620ac85 add more log info for event 2019-09-08 21:17:46 +08:00
郑树新
8f4fd32fc0 add on_ns_failed() callback for http_aclient when nslookup failed. 2019-08-21 17:42:07 +08:00
zhengshuxin
de5454ed58 add range when walking through fds in events to avoid costing much time. 2019-08-19 15:42:30 +08:00
zhengshuxin
bd4ea69bcd unlock first before lock in fork_prepare() in acl_mylog.c 2019-08-19 15:35:55 +08:00
root
72a5287da5 add memory using debug info. 2019-08-16 18:17:11 +08:00
zhengshuxin
e774daeab4 SO_REUSEADDR can used in inet_connect_one() for client connection. 2019-08-16 11:13:09 +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
e53326af9d DNS searching function acl_dns_lookup() in acl_dns.c can send query to multiple DNS and use the first reached result. 2019-08-12 21:49:43 +08:00
shuxin   zheng
922784168d fixed one bug in events_kqueue.h for time interval computing 2019-08-09 11:26:51 +08:00
zhengshuxin
0957cb2fd5 acl_mylog.c: fork_in_child() using thread_mutex_unlock other than init_log_mutex 2019-08-06 14:52:31 +08:00
zhengshuxin
8360da2485 fixed one bug in acl_mylog.c 2019-08-06 14:09:30 +08:00
郑树新
78a1600b90 fixed bug in init_log_mutex() of acl_mylog.c;
fixed bug in atomic_long  which can't be used in windows.
2019-08-02 19:21:24 +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
郑树新
e521847d3f optimize Jencode APP 2019-07-26 16:09:45 +08:00
郑树新
55002badee fixed bug in acl_vstream_clean_close_handle() where dead loop will happen. 2019-07-26 16:09:08 +08:00
zsxxsz
6525ffd92f fixed bug in acl_vstream_read_peek3 when double reading data 2019-07-10 21:36:00 +08:00
zsxxsz
a2c7889455 fixed bugs in acl_atomic_int64_fetch_add/acl_atomic_int64_add_fetch in acl_atomic.c 2019-07-09 23:13:42 +08:00
zhengshuxin
0ffd933de4 acl_vstream_read_peek3 can read data to userspace buffer to decrease the data copying times. 2019-07-09 10:25:22 +08:00
zsxxsz
8117eb885e fixed compiling warning on Windows. 2019-07-08 22:28:47 +08:00
zhengshuxin
8280209e71 add acl_vstream_read_peek3 2019-07-08 22:08:26 +08:00
zhengshuxin
fa7178af12 format c code style. 2019-07-08 17:48:41 +08:00
zhengshuxin
ee47b25cd3 format c code style. 2019-07-05 16:23:47 +08:00
zsxxsz
cc202891ec compiling ok on Ubuntu12 32-bits 2019-06-17 22:31:43 +08:00
zhengshuxin
832d236f27 merge request for fixing bug in get_buf() of acl_mylog.c 2019-06-13 09:39:51 +08:00
moehuster
ccc33a1317 Missing line breaks when log msg's length less than 1024 2019-06-11 15:36:05 +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
292287dd77 acl_aio_read_peek/acl_aio_readn_peek using count to save the data's length in each reading. 2019-06-05 16:18:45 +08:00
zhengshuxin
3a5d971336 acl_dbuf_pool.c: reserve another memory node for improving performance. 2019-06-02 23:18:08 +08:00
zhengshuxin
f7fc953fe0 fixed compiling error on windows 2019-05-28 11:49:43 +08:00
zhengshuxin
0f8e4b8a61 acl_aio_connect.c: retry connecting multiple addrs is ok 2019-05-27 11:15:45 +08:00
zhengshuxin
2881e8dff4 acl_aio_connect.c: support try to connect multiple IPs resolved until one was connected successfully. 2019-05-26 23:55:02 +08:00
zhengshuxin
1a88d6155c add http client for request async. 2019-05-24 18:12:08 +08:00
zhengshuxin
ec6462f3e6 aio connect support resolving domain name async. 2019-05-24 16:59:47 +08:00
zhengshuxin
b71b8840bf replace assert with abort 2019-05-18 22:03:53 +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
81ee32453f acl_vstream.c: fixed bug in acl_vstream_fflush() where wbuf_dlen should be set 0 2019-05-06 09:37:46 +08:00