Commit Graph

123 Commits

Author SHA1 Message Date
zhengshuxin
88eb449328 udp server template can be created with joinable mode. 2017-07-10 12:22:09 +08:00
zhengshuxin
99660d0734 add proc_on_bind in master_udp class 2017-07-05 14:31:18 +08:00
zhengshuxin
88d6f6c44f all server templates support SIGHUP callback. 2017-07-04 23:33:28 +08:00
zhengshuxin
d6385832d6 add ACL_ATOMIC_CLOCK object for statics of running status 2017-07-03 14:40:06 +08:00
zhengshuxin
47e38ca99f netdb.h should be included for getaddrinfo. 2017-06-24 22:37:35 +08:00
Zheng Shuxin
3c86372490 modify acl_udp_server.c 2017-06-22 12:21:54 +08:00
郑树新
109b498110 add atomic add 2017-06-22 11:03:07 +08:00
ubuntu14
7ed6180b33 udp server support multi threads mode 2017-06-21 18:31:37 +08:00
郑树新
64afad5c42 master_udp.cpp using acl_udp_server.c in alone mode. 2017-06-21 12:27:41 +08:00
ubuntu14
3a863cc238 add acl_host_addrinfo for resovle domain 2017-06-21 11:10:49 +08:00
ubuntu14
85f1db0b38 acl_udp_sever.c can bind addrs matching some pattern 2017-06-20 14:07:45 +08:00
ubuntu14
dfbb553f01 adding http interface for acl_master 2017-06-15 11:28:01 +08:00
zhengshuxin
aedcf2de10 for new acl-master lib 2017-06-12 23:24:00 +08:00
zhengshuxin
b71b6a99a4 add new files for master 2017-06-12 23:23:07 +08:00
zhengshuxin
0b30d83329 move acl_master to app from lib_acl 2017-06-12 23:19:56 +08:00
zhengshuxin
3612489a81 ACL_TOKEN support acl_foreach 2017-06-05 12:21:02 +08:00
zhengshuxin
6bfdac5843 add acl_token_tree_word_remove in acl_token_tree.c 2017-06-03 23:45:18 +08:00
zhengshuxin
423b9a07c2 add macro ACL_TOKEN_TREE_WORD_MATCH for fast search word in token tree 2017-06-03 18:12:02 +08:00
zhengshuxin
78a7540a76 reorganize all the include headers. 2017-06-02 14:47:24 +08:00
zhengshuxin
a0f4e48d41 fixed one bug in acl_mylog.c/private_vstream.c that freeing memory corrupt. 2017-05-03 11:19:20 +08:00
zhengshuxin
5684b7ef41 rename boolean_t to acl_boolean_t for avoiding collision with xcode's lib 2017-04-21 15:57:51 +08:00
zhengshuxin
5e271bd1b9 acl_pthread_mutex_destroy was lost on windows. 2017-04-17 22:02:34 +08:00
zhengshuxin
fd719a73e3 fixed one bug in acl_pthread_cond.c for double-free one same memory. 2017-04-17 21:56:13 +08:00
zhengshuxin
41b89b7aaa hook getaddrinfo in acl fiber 2017-04-13 21:50:55 +08:00
zhengshuxin
29f3ef3b73 supporting for IPV6 2017-04-11 23:14:39 +08:00
zhengshuxin
b73d188e30 support IPV6. 2017-04-07 20:13:08 +08:00
zhengshuxin
d167d8f85d fixed fiber's errors;
add feature in some modules.
2017-03-31 23:04:16 +08:00
zhengshuxin
768210296c compile error on FreeBSD 2017-03-25 23:34:54 +08:00
zhengshuxin
3cd0864746 supporting ios and can be compiled by xcode. 2017-03-12 14:49:48 +08:00
zhengshuxin
09e4b0d381 migrate to Android platform OK! 2017-02-12 21:39:38 +08:00
zhengshuxin
5e1bd3c5d9 migrating acl to android;
modify fiber id to unsigned int.
2017-01-23 16:59:58 +08:00
zhengshuxin
06fa2499fa fixed bugs in lib_fiber; add features in http module. 2016-12-29 23:58:18 +08:00
zhengshuxin
1b6d166ef6 add acl_fiber_kill for fiber lib;
add listen callback for master template.
2016-12-03 20:09:21 +08:00
ubuntu14
bcb2f1b85c fixed one bug in fiber.c for memory leak
add some samples for lib_liber
2016-11-27 21:03:24 +08:00
zhengshuxin
2b282d9f66 remove setting non-blocking in acl_vstream_fdopen. 2016-11-18 21:45:40 +08:00
zhengshuxin
60f2fc2203 fixed compiling error on centos4.7 by gcc3.x.x 2016-10-28 15:01:42 +08:00
zhengshuxin
be034725b3 rename acl_init to acl_lib_init; fixed one bug in url encoding for '+' 2016-10-25 10:31:33 +08:00
zhengshuxin
be07157761 fixed one bug in acl_json.h for duplicate defined ACL_JSON_T_XXX 2016-10-21 17:22:40 +08:00
zhengshuxin
f30b2b4144 add some websocket samples(upload_server/upload_client); fixed some bugs in acl; 2016-10-21 15:02:50 +08:00
zhengshuxin
8fc6f990f2 add null type for json module when building json obj. 2016-10-10 23:03:05 +08:00
zhengshuxin
3846cda043 add websocket in lib_acl_cpp. 2016-09-20 19:55:38 +08:00
zhengshuxin
6f8105136a fixed bugs in read line functions of acl_vstream.c; add c++11 into fiber. 2016-09-07 19:58:19 +08:00
ubuntu14
271fc96cdf add master web monitor by master_fiber mode; arrange codes; add methods to json module; 2016-07-29 16:43:46 +08:00
ubuntu14
2e5724cbeb add acl_mbox.c for thread communication 2016-06-26 12:17:17 +08:00
ubuntu14
2d14abfec4 rename fiber_schedule.c to fiber.c 2016-06-25 16:05:48 +08:00
ubuntu14
92b0dc124e add lib_fiber 2016-05-30 14:09:38 +08:00
ubuntu14
29d2584744 fixed one bug in acl_sys_file.c for windows; add one no lock quque 2016-05-22 00:08:10 +08:00
ubuntu14
1148788f2b optimize some codes 2016-05-10 21:58:47 +08:00
ubuntu14
69d2ee1118 compile acl on vc2015 successfully 2016-04-30 11:49:41 +08:00
ubuntu14
6590dd07f8 make acl_threads_server.c friendly to valgrind 2016-04-23 20:30:49 +08:00