Commit Graph

360 Commits

Author SHA1 Message Date
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
zhengshuxin
d167d8f85d fixed fiber's errors;
add feature in some modules.
2017-03-31 23:04:16 +08:00
zhengshuxin
57f8afc403 modify acl Makefiles to renaming lib names. 2017-03-25 23:05:44 +08:00
zhengshuxin
d2128e6f70 add iconv app for files charset convert. 2017-03-13 22:57:46 +08:00
zhengshuxin
e5f7aa1b54 compile acl on MSYS. 2017-02-21 22:35:31 +08:00
zhengshuxin
09e4b0d381 migrate to Android platform OK! 2017-02-12 21:39:38 +08:00
zhengshuxin
2eb4403b88 add one sample for gson object serialization. 2017-01-03 10:46:31 +08:00
zhengshuxin
fc6ddc3970 fixed one bug in redis_pubsub::get_message which can't support psubscribe;
add one sample -- hook_close for test.
2016-12-15 13:39:26 +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
zhengshuxin
53dd737565 delete unused master_threads2 class 2016-11-04 22:26:38 +08:00
zhengshuxin
ee968f72ae rename acl_init to acl_lib_init. 2016-10-27 21:25:14 +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
4b7499d955 mv websocket into websocket path 2016-10-20 09:08:27 +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
ubuntu14
bff9069d59 decrease rss memory using 2016-08-17 15:17:07 +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
1a22bba2ce fixed one bug in event operation for lib_fiber 2016-07-20 21:09:46 +08:00
ubuntu14
8ef7853f19 add semaphore for lib_fiber 2016-07-09 21:58:21 +08:00
ubuntu14
76f3b9fc04 add acl prefix for eash function and struct in lib_fiber 2016-07-05 15:19:05 +08:00
ubuntu14
69d2ee1118 compile acl on vc2015 successfully 2016-04-30 11:49:41 +08:00
ubuntu14
1e72b67c38 prepare for acl 3.1.5 2016-04-12 21:04:47 +08:00
ubuntu14
1618216f61 make redis_builder more powerful; replace polarssl with new version 2016-04-12 20:11:15 +08:00
ubuntu14
41a32d774d add functions to redis_builder 2016-04-01 09:36:18 +08:00
ubuntu14
dcf7d25171 fixed one bug in redis_client_cluster for set_password; add feature in mime class 2016-03-17 14:42:58 +08:00
ubuntu14
ba42c843c5 redis_builder can builder and operation redis cluster with password 2016-03-13 20:01:41 +08:00
ubuntu14
af1d5bd90e improving performance and fixed some bugs 2016-02-05 10:10:24 +08:00
ubuntu14
54d00a0cdb fixed one compile error of one sample 2016-01-17 20:36:40 +08:00
ubuntu14
3f74c26a14 modify redis interface; make socket more safty 2016-01-17 13:35:12 +08:00
ubuntu14
c700540fd2 fixed some bugs, add some samples, and release 3.1.4.3 2015-12-29 11:33:32 +08:00
ubuntu14
9de2c19ca3 improving peformance for event process 2015-12-19 23:27:55 -08:00
ubuntu14
fb2eff61f8 prepare for release acl3.1.4 2015-12-18 20:08:14 -08:00
ubuntu14
ac4757adc7 add connection guard for releasing connection safely 2015-12-15 18:10:03 -08:00
ubuntu14
2b6ac5c3b9 acl3.1.4.rc1 release 2015-12-12 07:00:03 -08:00
ubuntu14
be3062a505 update polarssl to 1.2.18; prepare for releasing new acl version 2015-12-08 06:28:10 -08:00
ubuntu14
984ad1e206 add aio ssl samples 2015-12-06 00:56:21 -08:00
ubuntu14
379c50cba9 fixed bugs in acl_vstream.c and polarssl_io.cpp; add xml2, xml3 for parsing xml data 2015-12-03 17:00:07 +08:00
ubuntu14
7056fb952d delete dummy files 2015-11-27 07:11:18 -08:00
ubuntu14
a816bc5762 fixed bugs in dbuf and add a new xml parser 2015-11-27 07:07:43 -08:00
ubuntu14
e37d58557b complete dbuf module and using it in many other modules 2015-11-20 07:29:10 -08:00
ubuntu14
8b4d5f8da8 add template function create in dbuf_guard class which make creating object derived from dbuf_obj more easily 2015-11-16 04:00:44 -08:00
ubuntu14
4edafbda32 add some functions in class dbuf_guard for convinence and safty 2015-11-14 06:15:22 -08:00
ubuntu14
9aad31fade make connections pool module supporting different network envirenment 2015-11-13 08:32:27 -08:00
ubuntu14
e8548986f6 add some functions in connection pool moudle 2015-11-13 00:26:30 -08:00
ubuntu14
40f6ebb275 fixed one bug in dbuf; add dbuf samples 2015-11-12 06:24:05 -08:00
ubuntu14
ed2e304caf fixed one bug in mail_message class for build one message 2015-11-12 00:33:53 -08:00
ubuntu14
a9101ebf0c modify Makefile for MACOSX and FreeBSD 2015-11-09 06:11:21 -08:00
zsxxsz
e24d2ced28 fix one bug in db_mysql class for using charset to reconnect the mysql server;
reconsture db module
2015-10-25 14:15:07 +08:00
ubuntu14
21e0796f45 modify some codes 2015-10-20 06:07:23 -07:00
ubuntu14
b319c8742a add mail builder class and sample; optimize http module; add some json samples for test 2015-09-27 05:59:21 -07:00
ubuntu14
a631725ba5 add smtp client class in lib_acl_cpp 2015-09-16 06:03:02 -07:00
ubuntu14
4031cd00ff delete unused Makefile.in 2015-09-08 05:32:12 -07:00
ubuntu14
4882d65c35 add mail builder into vc2003 2015-09-08 05:22:37 -07:00
zsx
eeb5ae39ae fixed some bugs in redis and disque; add mail compose and smtp client module 2015-09-08 17:21:04 +08:00
ubuntu14
2fb84c4056 optimize some codes 2015-08-26 05:45:40 -07:00
ubuntu14
bfebe1b5d3 fixed bug for redis scan in class redis_command/redis_key/redis_hash/redis_set/redis_zset 2015-08-24 07:12:15 -07:00
ubuntu14
bc119e8199 modify db module 2015-08-22 03:05:46 -07:00
ubuntu14
8bd31016de add transaction API in db_handle and db_mysql 2015-08-19 05:10:52 -07:00
ubuntu14
d1fe09687b http module in acl has supported gzip transfer in client and server mode. 2015-08-18 05:58:56 -07:00
ubuntu14
772ff217e9 changed the file's format to DOS format 2015-08-15 19:45:01 -07:00
ubuntu14
e7f83a889c fixed some compiling error on vc2008, vc2010 2015-08-15 19:33:26 -07:00
ubuntu14
45f44e3f74 fixed one bug in class redis_string for handling INCR/INCRBY/DECR/DECRBY commands 2015-08-15 05:57:12 -07:00
zsx
09bff5b7d6 change count's type from in to size_t in connections relative classes 2015-08-14 17:28:30 +08:00
ubuntu14
7c6afc95dd add some methods to http and log module 2015-08-13 06:38:59 -07:00
ubuntu14
369d54179f add mysql cluster manager 2015-08-12 01:48:24 -07:00
ubuntu14
70f0c6b720 make two db samples be built on FreeBSD 2015-08-10 09:10:57 -07:00
zsxxsz
942bdc4a1f fixed bug in redis_zset::zrange_get_with_scores; dynamicly loading mysql
client lib in default mode
2015-08-09 22:42:51 +08:00
ubuntu14
a37ba6ed36 modify db module(including mysql, sqlite) for using db more conviniently; add mysql_pool sample 2015-08-02 03:21:24 -07:00
zsxxsz
5a2848356c modify README.md in redis and disque samples. 2015-07-30 23:27:22 +08:00
zsxxsz
800b8e749e modify README.md in redis and disque samples. 2015-07-30 23:24:24 +08:00
zsxxsz
3e79879e40 modify README.md of redis module 2015-07-24 21:02:13 +08:00
zsxxsz
909af119de class dbuf_pool's destructor be set as private function that the dbuf_pool's
object must be created dynamiclly
2015-07-22 15:39:34 +08:00
zsxxsz
33de35bfff improvement dbuf pool's performance; add dbuf_pool sample 2015-07-22 00:41:11 +08:00
zsx
79269106c8 add double/float supporting for query class of db module 2015-07-21 17:16:53 +08:00
zsxxsz
38ade41d2b modify redis_geo sample 2015-07-13 21:40:29 +08:00
zsx
000555df9e add redis_geo class and sample; add https_proxy sample, add dgate sample. 2015-07-13 16:28:09 +08:00
ubuntu14
2a35f4992d all samples can be built by vc2012 in x64 mode 2015-06-29 02:33:11 -07:00
ubuntu14
8dc9188d4b fixed some bugs in using iterator 2015-06-27 07:46:54 -07:00
zsx
4866e55c49 add thread queue sample: samples/thread_queue 2015-06-18 14:54:58 +08:00
zsx
3274df3b13 fixed some compile error on MACOSX 2015-06-14 02:47:59 +08:00
ubuntu14
ba5e2b801a modify http_servlet.cpp sample 2015-06-03 07:59:21 -07:00
zsx
883b0681f5 use redis cluster to store session for http module 2015-06-03 11:19:13 +08:00
ubuntu14
9337889af3 The project can be built on MINGW32 2015-05-21 06:49:35 -07:00
ubuntu14
96d26cc7d3 fixed bugs in redis module, add aio sample 2015-05-18 05:05:22 -07:00
ubuntu14
ab5ec2e6e4 acl 3.1.2 version released 2015-05-09 08:38:33 -07:00
zsxxsz
dd45047dee Merge branch 'master' of https://github.com/zhengshuxin/acl 2015-05-09 21:28:05 +08:00
zsxxsz
c559fd73e1 delete unused an old sample named redis_cluster2 2015-05-09 21:27:17 +08:00
zsx
3724809b41 improving some disque samples 2015-05-07 14:51:46 +08:00
ubuntu14
0efff4dbe5 add disque_cluster sample 2015-05-06 08:30:18 -07:00
ubuntu14
c81f144938 add disque_cluster sample 2015-05-06 06:37:11 -07:00
ubuntu14
cae0d21d60 add disque's client library into lib_acl_cpp 2015-05-06 05:19:24 -07:00
ubuntu14
21aeea7f43 add disque's client library into lib_acl_cpp 2015-05-06 02:22:55 -07:00
ubuntu14
8b49be69a5 add disque's client library into lib_acl_cpp 2015-05-06 02:16:10 -07:00
ubuntu14
eb69a33320 modify README.md for redis module 2015-04-25 09:41:48 -07:00
ubuntu14
e72a468ecd add some useful function to redis_builder tool 2015-04-25 09:11:10 -07:00
ubuntu14
82fb1f34ad fix some compile bugs 2015-04-16 18:42:28 -07:00
zsx
2de88dcb2b modify README.md for redis module 2015-04-08 10:34:33 +08:00
ubuntu14
2d6cfb27ff fixed some bugs in redis module, and improve some redis functions 2015-04-07 08:31:31 -07:00
zsxxsz
e74ac017f9 完善了连接池管理功能模块 2015-04-04 15:25:29 +08:00
zsxxsz
ffd971ceb8 add redis cluster sample for multi-threads in README.md 2015-04-02 23:13:46 +08:00