Commit Graph

524 Commits

Author SHA1 Message Date
zsxxsz
27fefa695c fixed compiling error of demos on windows by vc2008 2017-09-04 23:22:35 +08:00
zhengshuxin
8582d02d2e remove debug line in istream.cpp 2017-09-03 18:05:08 +08:00
zhengshuxin
dd9eed4698 compiling acl ok on FreeBSD 2015-12-13 10:15:00 +08:00
zhengshuxin
7dadf786df add test code in mbox.hpp 2017-09-02 17:59:32 +08:00
zhengshuxin
4ade4ff521 add mbox_free in mbox.cpp 2017-09-02 10:10:17 +08:00
zhengshuxin
3465037c6b acl::mbox, acl::atomic can be compiled ok on Linux & Windows. 2017-09-02 09:46:03 +08:00
zsxxsz
4afb237dd9 fixed compiling error by vc 2017-09-02 09:42:11 +08:00
zhengshuxin
2af766fb6e make acl::mbox generic with c++ template method. 2017-09-01 23:14:20 +08:00
zhengshuxin
5291cd0c7a test only 2017-09-01 18:59:42 +08:00
郑树新
424a543a71 add test in atomic 2017-08-31 17:52:18 +08:00
zsx
4bebc24c7e add bitmap class into xcode's project. 2017-07-17 17:21:49 +08:00
zhengshuxin
85b55d4e4e acl_mbox_read's timeout use millisecond precision 2017-08-29 11:32:07 +08:00
zhengshuxin
3554fd6b25 add lost files 2017-08-24 09:09:05 +08:00
zsxxsz
6c7fa88358 modify bitmap.hpp 2017-08-23 22:35:24 +08:00
zhengshuxin
5b0cdc1fc9 add bitmap class for bit operation 2017-08-23 15:14:40 +08:00
zsxxsz
28f805981e lpop and rpop's comments are invalid in acl::redis_list 2017-08-22 22:37:54 +08:00
zsx
6b0c6b5070 add atomic, thread_mutex and thread_cond class into xcode project. 2017-07-17 17:17:02 +08:00
zhengshuxin
88a7194064 add thread_cond & thread_mutex class into different vc projects 2017-08-22 15:35:01 +08:00
zhengshuxin
b637f0bb74 modify c++ style of locker class 2017-08-22 15:28:12 +08:00
zhengshuxin
59a7899fa3 add acl::thread_cond testing in sample thread 2017-08-22 15:27:37 +08:00
zhengshuxin
cdd3684407 add thread_cond.hpp & thread_mutex.hpp into lib_acl.hpp 2017-08-22 15:21:23 +08:00
zhengshuxin
5723a4369f add thread_cond c++ class 2017-08-22 15:21:07 +08:00
zhengshuxin
f1fa41e523 add thread_mutex c++ class. 2017-08-22 15:20:28 +08:00
zhengshuxin
8f58d773b4 add atomic operation and modify vc projects for adding atomic class. 2017-08-18 22:55:31 +08:00
zhengshuxin
d154cc292e avoid some gcc compiling warning. 2017-08-16 10:55:14 +08:00
zhengshuxin
1915852bd9 SO_REUSEPORT can be used in master server framework by setting configure item 2017-08-10 11:35:52 +08:00
zhengshuxin
ae5ea084dd add method that can get socket_stream from tcp_reader & tcp_sender. 2017-08-09 19:05:38 +08:00
郑树新
08d61b31f6 utf-8 without BOM will be warned by vc. 2017-08-09 16:15:01 +08:00
zhengshuxin
dcaec58d47 add sample tcp_server & tcp_client in lib_fiber. 2017-08-09 16:04:54 +08:00
zhengshuxin
d74d97e3b7 add tcp_pool's samples in Makefile 2017-08-09 11:59:11 +08:00
zhengshuxin
e981079948 tcp_client sample compiling error. 2017-08-09 11:51:53 +08:00
zhengshuxin
368b530f7e getopt.h should be included. 2017-08-09 11:43:32 +08:00
zhengshuxin
c54aef5ba1 g++'s version will be checked automally in Makefile 2017-08-09 11:28:31 +08:00
zhengshuxin
8b22280a25 add the lost item tcp_reader.hpp 2017-08-09 10:12:51 +08:00
zhengshuxin
ff985ba347 add samples in tcp_pool path for testing the tcp_pool module 2017-08-09 10:11:22 +08:00
zhengshuxin
ffcfd87d26 add send method in tcp_pool class. 2017-08-08 23:27:37 +08:00
zsx
2e7167bfd7 add tcp module for xcode. 2017-07-17 17:01:50 +08:00
zhengshuxin
9d08227118 fixed one compiling error. 2017-08-08 18:54:13 +08:00
zhengshuxin
7bca9425a9 add tcp communication connections pool. 2017-08-08 18:43:25 +08:00
zhengshuxin
b48627f168 add -ldl in some Makefile.in 2017-08-07 12:04:56 +08:00
zhengshuxin
53d19b391e acl::polarssl_conf should be created after acl::polarssl_conf::load(); 2017-08-04 23:13:12 +08:00
zhengshuxin
cedd5b0c18 all ssl samples can load libpolarssl.so dynamic. 2017-08-04 22:37:00 +08:00
郑树新
710c7f61d7 build ok by vc2012. 2017-08-04 15:45:17 +08:00
zhengshuxin
27b42d5c30 polarssl_conf & polarssl_io support loading polarssl lib dynamic. 2017-08-04 15:13:40 +08:00
zsxxsz
e75487ed1f modify polarssl_conf class for use polarssl with dynamic lib 2017-08-04 00:09:33 +08:00
zhengshuxin
5daa1b7acf add comments in master_threads.hpp 2017-07-31 20:38:42 +08:00
zhengshuxin
df1b49d215 add some functions for HMSET commands in redis_hash class. 2017-07-27 13:35:47 +08:00
zsxxsz
40a571f0fb fixed compiling error on windows. 2017-07-25 22:24:50 +08:00
zhengshuxin
93b3250ca5 add methods that get configure path 2017-07-22 21:32:21 +08:00
郑树新
e397581179 fixed compiling warning for Android Studio 2017-07-21 16:05:45 +08:00
zhengshuxin
93f0ebf307 fixed compile warning for clang++ -Wunused-private-field 2017-07-20 11:08:33 +08:00
郑树新
5b406b6115 building for Android studio 2.3.3 2017-07-20 10:59:28 +08:00
zsx
29ede19711 thread_self on MACOSX should be handled specially. 2017-07-17 15:26:30 +08:00
zsx
b1dfd6bdd3 fixed some compiling error&warning on xcode. 2017-07-17 15:06:02 +08:00
zhengshuxin
75095f5227 fixed some building error in FreeBSD with cmake 2017-07-11 15:18:41 +08:00
zhengshuxin
660f15554f disable ACL_PRINTF when gcc's version < 4.4 2017-07-11 09:04:20 +08:00
zhengshuxin
3709d8c88b can be build on gcc4.1 or gcc7.1 2017-07-10 19:20:50 +08:00
zhengshuxin
9ac697ecbe build acl project successfully by gcc7.1.0 2017-07-10 15:26:12 +08:00
郑树新
24df82f84c fixed one compiling error in redis_cluster sample 2017-07-06 09:57:23 +08:00
zhengshuxin
99660d0734 add proc_on_bind in master_udp class 2017-07-05 14:31:18 +08:00
zhengshuxin
98d11361bb test sighup callback ok for all server template. 2017-07-05 10:27:33 +08:00
zhengshuxin
88d6f6c44f all server templates support SIGHUP callback. 2017-07-04 23:33:28 +08:00
Zheng shuxin
4c41bcb72a feature: add transaction support in db_sqlite class by lindawei 2017-06-28 12:25:29 +08:00
Zheng Shuxin
4d98c83183 add udp_mode in socket_stream::open 2017-06-26 18:10:47 +08:00
zhengshuxin
c0a5c23084 fixed one memory leak bug in http_request's reset() method. 2017-06-24 12:16:18 +08:00
Zheng Shuxin
f5c499cc1a there is one bug in master_udp when running in multi-threads daemon mode. 2017-06-23 12:15:21 +08:00
Zheng Shuxin
33966ab441 master_udp class can run in threads mode 2017-06-23 11:55:07 +08:00
ubuntu14
7ed6180b33 udp server support multi threads mode 2017-06-21 18:31:37 +08:00
ubuntu14
dc2a42c0e6 valgrind can also check master_udp's samples in alone running mode. 2017-06-21 12:43:53 +08:00
郑树新
64afad5c42 master_udp.cpp using acl_udp_server.c in alone mode. 2017-06-21 12:27:41 +08:00
fuwangqin
98ca58e293 fix gson_helper.hpp delete obj error 2017-06-16 12:01:46 +08:00
fuwangqin
63c500749c fix gson error 2017-06-14 22:01:06 +08:00
fuwangqin
f1ac0703ef add set support in Gson. and fix potemtial bug in gson_helper.ipp 2017-06-14 13:55:05 +08:00
zhengshuxin
6bfdac5843 add acl_token_tree_word_remove in acl_token_tree.c 2017-06-03 23:45:18 +08:00
ubuntu14
a2398dfd22 modify lib_acl.hpp 2017-06-02 15:48:38 +08:00
ubuntu14
8650854c43 modify lib_acl.hpp 2017-06-02 15:38:27 +08:00
zhengshuxin
78a7540a76 reorganize all the include headers. 2017-06-02 14:47:24 +08:00
fuwangqin
88317e8341 fix gson_helper.ipp gcc compile error 2017-06-01 16:02:51 +08:00
fuwangqin
d29109956c add std::set for gson_helper ,and add acl.props for vs2015 2017-06-01 15:55:48 +08:00
fuwangqin
4f61be3181 fix make error 2017-05-31 14:57:05 +08:00
root
0707afa35f add WebSocketServlet by "fuwangqin" <niukey@qq.com> 2017-05-31 14:43:18 +08:00
root
d91b82abfb merge 2017-05-31 12:55:36 +08:00
root
7d3de8e346 delete unused files. 2017-05-31 12:51:17 +08:00
root
d230265d3d Merge branch 'master' of https://github.com/acl-dev/acl 2017-05-31 12:48:59 +08:00
root
0bf7f8ec2b add udp sample with c++ 2017-05-31 12:46:59 +08:00
ubuntu14
98b4488e87 add udp samples 2017-05-31 09:15:54 +08:00
root
b9440151d6 Merge branch 'master' of https://github.com/acl-dev/acl 2017-05-31 09:02:04 +08:00
zhengshuxin
183c0a6a3a add samples for recvmmsg/sendmmsg 2017-05-29 11:47:52 +08:00
zhengshuxin
67e2a99eee fixed one bug in websocket::make_frame_header for one memory overflow problem;
fixed one bug in connect_manager::remove
2017-05-27 10:03:58 +08:00
zhengshuxin
3c19f24ede calling setuid in acl_master to help services written by golang to change running privilege. 2017-05-22 17:52:05 +08:00
fuwangqin
8b738d89b9 add WebsocketServlet 2017-05-20 11:39:14 +08:00
fuwangqin
9541f337b5 add websocketServlet sample 2017-05-20 11:37:15 +08:00
zhengshuxin
8b0c600fac fixed bugs in gson_helper.ipp for object's pointer copy 2017-05-14 00:16:42 +08:00
zhengshuxin
1a6af8a6be add unix-domain support in pgsql 2017-05-08 09:49:30 +08:00
zhengshuxin
fc745e530c fixed some compile error on xcode 2017-05-03 14:38:22 +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
14fb7b5f36 add postgresql client example. 2017-05-01 11:51:04 +08:00
zhengshuxin
9b12875d17 support postgresql. 2017-04-27 21:46:28 +08:00
zhengshuxin
10284115f1 add explicit in string constructor 2017-04-22 17:44:17 +08:00
zhengshuxin
5d19443275 support vc2013 2017-04-21 14:59:29 +08:00