Commit Graph

652 Commits

Author SHA1 Message Date
shuxin   zheng
1e9faa3676 fixed bugs in rfc1035MessageDestroy of rfc1035.c for double free memory. 2019-12-30 09:58:52 +08:00
zhengshuxin
b8bea4c9ae fixed one compiling error in acl_vstream_net.c 2019-12-18 21:48:28 +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
a83fe47217 abstract unix domain socket is ok for Linux 2019-12-11 14:07:09 +08:00
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
83f6022f7c use ndk-build to build for Android ndk 2019-11-22 17:03:05 +08:00
shuxin   zheng
93f9d6eb83 build for ndk9d ok by using *.mk for Android 2019-11-22 16:14:20 +08:00
shuxin   zheng
03c4c9de7c add -flto=thin for xcode 2019-11-19 11:38:04 +08:00
shuxin   zheng
262c025505 optimize libs' size for ios 2019-11-12 18:10:26 +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
fcefb9a217 add -g when builing by cmake 2019-11-01 11:09:20 +08:00
shuxin   zheng
a67ad8cf1a build for xcode 2019-10-28 18:20:36 +08:00
shuxin   zheng
98a1e650b6 optimize size for ios 2019-10-25 16:11:15 +08:00
shuxin   zheng
bfdf0e600c optimize size for IOS 2019-10-25 15:21:42 +08:00
shuxin   zheng
2998681abc build shared acl can be set from cmake args 2019-10-17 16:58:44 +08:00
郑树新
6aeeb6dc8c optimize cmake for Android Studio that can use c++_shared and gnustl_shared 2019-10-17 16:39:52 +08:00
shuxin   zheng
d3ab857d3b optimize projects for xmake and cmake 2019-10-15 16:52:02 +08:00
ruki
1c0ff5d208 update xmake.lua: export public includedirs 2019-10-14 09:34:37 +08:00
zhengshuxin
8d4dff9f18 building with xmake 2019-10-08 16:36:16 +08:00
shuxin   zheng
a26e39e27b Merge https://github.com/acl-dev/acl into HEAD 2019-10-04 11:32:40 +08:00
shuxin   zheng
d7978bcae5 optimize acl project 2019-10-04 11:31:08 +08:00
zhengshuxin
f2745be77d cmake ok for Linux 2019-10-01 16:39:00 +08:00
shuxin   zheng
fbc9ee585e optimize libs size building by xcode 2019-10-01 16:08:38 +08:00
shuxin   zheng
60f98235cd optimize libs size 2019-09-30 14:59:26 +08:00
shuxin   zheng
63181608f4 optimize libs size for MacO 2019-09-30 14:19:27 +08:00
shuxin   zheng
7a411a53dd optimize libs size for IOS/Macos 2019-09-30 11:46:56 +08:00
zhengshuxin
518e2ad896 format CMakeLists 2019-09-24 15:01:27 +08:00
shuxin   zheng
2179f6880a just add '-fvisibility=hidden' for android in order to decrease lib's size 2019-09-24 11:21:36 +08:00
zhengshuxin
2c78c1961b compiling flag "-fvisibility=hidden" should not be used! 2019-09-24 09:33:11 +08:00
shuxin   zheng
28015b043f add lost files for xcode project 2019-09-20 22:59:26 +08:00
shuxin   zheng
09d7897e8a optimize libs' size 2019-09-19 09:00:59 +08:00
zhengshuxin
17de548adb optmize cmake files to decrease lib's size 2019-09-18 17:10:49 +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
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
zhengshuxin
a3ce17dcc1 modify CMakeLists for building release version 2019-09-06 11:27:36 +08:00
郑树新
e28e64c422 build ok by Android studio. 2019-08-27 15:18:31 +08:00
郑树新
8f4fd32fc0 add on_ns_failed() callback for http_aclient when nslookup failed. 2019-08-21 17:42:07 +08:00
郑树新
112e319476 support building static lib on Android studio. 2019-08-21 17:35:56 +08:00
zhengshuxin
12fe436211 change CMakeLists 2019-08-21 10:56:43 +08:00
zhengshuxin
7ef4374a46 change CMakeLists to build for Android 2019-08-21 10:15:08 +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
zhengshuxin
3be918e8c1 add one sample for testing connect with same port in one machine. 2019-08-14 10:56:27 +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
zhengshuxin
25aee77809 taskq sample is ok 2019-08-11 15:49:11 +08:00
shuxin   zheng
639501690a some samples can't run on MacOS 2019-08-11 15:22:10 +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
bb736a7d7a format code. 2019-08-01 11:17:30 +08:00
zhengshuxin
d8d624ee98 use utf8 for text files. 2019-07-30 23:52:48 +08:00
zhengshuxin
f634862921 add benchmark for task queue, taskq is from TDEngine. 2019-07-30 18:15:11 +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
郑树新
649b94dc41 format source code's charset 2019-07-26 17:27:39 +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
zhengshuxin
926b0f2c71 modify json sample 2019-07-21 20:08:51 +08:00
zhengshuxin
cb92a8ccf2 modify one json sample 2019-07-21 11:47:59 +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
郑树新
71980ea862 optimize builing for Android 2019-06-28 16:36:00 +08:00
zhengshuxin
382d69ab04 optimize conditional compiling 2019-06-28 10:54:27 +08:00
zhengshuxin
123328c1af remove unused comments 2019-06-24 13:06:06 +08:00
zhengshuxin
1fb167d560 remove some useless comments 2019-06-24 11:58:19 +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
88b60dfa8a http_aclient ok! 2019-06-05 17:48:52 +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
56004197a3 add one aio connect sample 2019-05-24 16:59:26 +08:00
郑树新
32c8564bbb optimize compiling size of package for Android 2019-05-20 11:09:05 +08:00
zhengshuxin
b71b8840bf replace assert with abort 2019-05-18 22:03:53 +08:00