Commit Graph

361 Commits

Author SHA1 Message Date
zhengshuxin
ee47b25cd3 format c code style. 2019-07-05 16:23:47 +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
zhengshuxin
cecaee548e format c++ code style. 2019-06-16 20:10:40 +08:00
zhengshuxin
d764f984b7 fixed compiling problem for some samples. 2019-06-14 18:32:12 +08:00
zhengshuxin
24bc9c085f optimize sample http_aclient_ssl 2019-06-13 22:05:25 +08:00
zhengshuxin
55e29c55b3 aio_istream/aio_ostream can be created with socket fd. 2019-06-11 23:16:03 +08:00
zhengshuxin
2faca3ca82 modify http_aio_ssl sample 2019-06-11 09:37:23 +08:00
zhengshuxin
d51743d80b load libpolarssl.so in sample 2019-06-11 09:11:14 +08:00
zhengshuxin
8ab1c2fb6a http_aclient supports unzipping compressed data from server's response. 2019-06-10 16:08:21 +08:00
zhengshuxin
7ae938030e test websocket samples 2019-06-10 13:00:25 +08:00
zhengshuxin
7d252c27ad format c++ code style. 2019-06-09 12:03:10 +08:00
zhengshuxin
bf538f0eba redis ssl sample 2019-06-08 14:18:15 +08:00
zhengshuxin
d1afa2a2ed add sample redis_ssl for testing SSL communication with redis server. 2019-06-08 14:04:56 +08:00
zhengshuxin
624f828575 optimize http_aclient 2019-06-06 13:46:23 +08:00
zhengshuxin
3ffb819cd7 add one sample for testing http_aclient which support ssl in aio mode. 2019-06-05 17:45:12 +08:00
zhengshuxin
288986fdac optimize http module for http request 2019-06-04 14:51:21 +08:00
zhengshuxin
3a5d971336 acl_dbuf_pool.c: reserve another memory node for improving performance. 2019-06-02 23:18:08 +08:00
zhengshuxin
2f18ea1176 test dbuf_guard's bug 2019-05-31 19:17:12 +08:00
郑树新
9b4d238793 compiling ok on vc 2019-05-09 14:30:45 +08:00
zhengshuxin
8b77b0456a safety & feature: add nocopyable limit for many class to avoid potential problem 2019-05-09 13:57:51 +08:00
zhengshuxin
d62bb45cd6 tcp_keeper: fixed one bug in keeper_conn.cpp;
server_socket: remove one constructur method;
2019-04-28 16:17:17 +08:00
zhengshuxin
1f2fa117a2 add speed checking for wiredtiger sample 2019-04-24 16:32:54 +08:00
zhengshuxin
fb629f93bc modify sample's link lib 2019-04-17 11:42:37 +08:00
zhengshuxin
85a8557eba add benchmark for roccksdb and wiredtiger. 2019-04-04 13:23:22 +08:00
zhengshuxin
1771db6726 add sqlite benchmark testing case. 2019-04-01 15:20:19 +08:00
zsx
c0437bb1de add sample box which can use acl::mbox, acl::tbox and acl::tbox_array 2019-03-14 10:17:36 +08:00
zsx
0dfd2d45c7 add tbox_array.hpp and tbox sample. 2019-03-13 10:28:51 +08:00
zsx
c6743aaa7f acl_scan_dir.c: the current dir's attribute can be got in scanning process 2019-02-13 11:22:31 +08:00
zsx
22ab5bc69d add sample for scan&remove empty directory 2019-02-01 18:45:37 +08:00
zsx
64d1c2458b thread::start: add sync start thread way 2019-01-30 16:43:02 +08:00
zsx
e82b63b025 format code style 2018-12-12 11:16:12 +08:00
zsx
b3540ab5df sample 2018-12-06 17:04:08 +08:00
zsx
87ba2d6bbe WebSocketServlet sample 2018-12-06 16:29:54 +08:00
zsx
66a560e37f fixed bugs in client_wakeup of acl_threads_server.c;
acl::fiber_tbox and acl::fiber_cond are ok.
2018-12-06 15:50:13 +08:00
zhengshuxin
ff5bc053b9 redis_stream benchmark testing 2018-12-02 20:15:27 +08:00
zhengshuxin
7fbcd4d56b testing acl::redis_stream ok! 2018-12-02 14:58:41 +08:00
zhengshuxin
82f6c8cbee testging redis_stream 2018-12-01 18:58:04 +08:00
zhengshuxin
fafce8ce67 testing acl::redis_stream 2018-11-25 23:16:25 +08:00
zhengshuxin
f7af753d9e add one flag when creating fiber_event 2018-11-24 11:49:18 +08:00
zsx
5641fc8e3f fixed one compiling problem of scan_dir sample 2018-11-16 11:20:06 +08:00
zhengshuxin
29b6fa01b5 check add json demo ok! 2018-11-15 23:05:00 +08:00
zhengshuxin
7b343621e0 after the connection with redis-server is created, the dbnum can be selected in acl::redis_client, acl::redis_client_pool. 2018-10-20 22:20:57 +08:00
zhengshuxin
f4ed8742fb fixed bugs in websocket::read_frame_data and WebSocketServlet.cpp. 2018-10-20 00:30:02 +08:00
zhengshuxin
b46fea21d4 add end_with in acl::string 2018-10-07 21:35:46 +08:00
zsxxsz
cb218497b6 add new flag to control if disable SO_REUSEADDR when binding the local
listening addr.
2018-09-22 09:40:33 +08:00
zsx
4969d4bed9 using if_nametoindex in acl_inet_pton 2018-09-17 13:11:47 +08:00
zsx
f27af8b424 acl support IPV6 is OK now! 2018-09-16 21:49:58 +08:00
zsx
f1737e7a92 fixed bugs in string::begih_with 2018-09-08 21:33:44 +08:00
zsx
ac3bcf1f98 fixed bugs in acl::string::begin_with API 2018-09-08 13:58:49 +08:00
zsx
2cd040b856 improvment the performance of acl::token_tree class;
add benchmark for token_tree.
2018-08-20 22:28:27 +08:00
zsx
92615556b4 there's some comments error in token_tree 2018-08-20 11:07:20 +08:00
zsx
03480089bc fixed some comiling errors. 2018-08-19 15:55:54 +08:00
zsx
6f18301ac8 add token_tree class for 256-fork matching tree;
format the files with DOS format.
2018-08-19 15:31:26 +08:00
zsx
a90ebcf86e there are some changes in the interfaces's meaning of thread_cond::wait, server_socket::accept. 2018-08-17 16:50:30 +08:00
郑树新
6176ef4b37 add on_connected/on_refused/on_timeout callbacks in connect_monitor 2018-06-04 18:00:32 +08:00
zsx
b501d19e1e sqlite lib upgrade to 3.23.1 version 2018-05-31 17:10:27 +08:00
zsx
485a13d722 add diff algorithm test sample 2018-04-19 15:25:03 +08:00
zhengshuxin
b1721868d6 sample 2018-03-26 08:56:37 +08:00
zsx
69b8095e48 add copy overriding in atomic_long 2018-03-20 11:54:58 +08:00
zsxxsz
919aabfa9c add redis_sentinel class in redis module 2018-03-18 23:43:31 +08:00
SorataKasugano
d06cfbdb8d
添加host头域
这个样例不太严谨,没有正确添加host头域到header中,sina返回状态码必然是400。
set_url函数里面没有关于相对路径的host头域处理,可能是疏忽了?
2018-02-12 18:52:51 +08:00
zsxxsz
6d9add27bd bugfix in lib_acl: POLLHUP | POLLERR should not be set as input parameters. 2018-02-03 21:27:21 +08:00
郑树新
fa7a71f2fb fiber: add iocp event 2018-01-30 19:57:51 +08:00
zsx
57892d3ed0 compile caharset sample error on macos 2017-12-25 13:57:23 +08:00
zsx
10a3f25932 remove one 4.eml file of mime testing because someone thinks it has virus 2017-12-21 18:59:49 +08:00
zsx
fa113a12e7 acl stream and servers support UNIX domain socket in UDP packet mode 2017-12-10 22:23:37 +08:00
zhengshuxin
1050d4e45f event_mutex: add event_mutex sample in fiber mode; testing event_mutex ok in threads & fibers running modes. 2017-10-08 00:06:12 +08:00
zhengshuxin
03c4161e6b add samples event_mutex to test event_mutex in lib_acl_cpp 2017-10-06 23:07:39 +08:00
zsxxsz
27fefa695c fixed compiling error of demos on windows by vc2008 2017-09-04 23:22:35 +08:00
zsxxsz
4afb237dd9 fixed compiling error by vc 2017-09-02 09:42:11 +08:00
zhengshuxin
5291cd0c7a test only 2017-09-01 18:59:42 +08:00
zhengshuxin
59a7899fa3 add acl::thread_cond testing in sample thread 2017-08-22 15:27:37 +08:00
zhengshuxin
8f58d773b4 add atomic operation and modify vc projects for adding atomic class. 2017-08-18 22:55:31 +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
ff985ba347 add samples in tcp_pool path for testing the tcp_pool module 2017-08-09 10:11:22 +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
40a571f0fb fixed compiling error on windows. 2017-07-25 22:24: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
c0a5c23084 fixed one memory leak bug in http_request's reset() method. 2017-06-24 12:16:18 +08:00
zhengshuxin
78a7540a76 reorganize all the include headers. 2017-06-02 14:47:24 +08:00
fuwangqin
4f61be3181 fix make error 2017-05-31 14:57:05 +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
fuwangqin
9541f337b5 add websocketServlet sample 2017-05-20 11:37:15 +08:00
zhengshuxin
1a6af8a6be add unix-domain support in pgsql 2017-05-08 09:49:30 +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
b73d188e30 support IPV6. 2017-04-07 20:13:08 +08:00