Commit Graph

576 Commits

Author SHA1 Message Date
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