Commit Graph

316 Commits

Author SHA1 Message Date
zsx
ea896f9aed redis: fixed bugs when objs were binary data 2017-12-05 12:01:24 +08:00
ubuntu14
42c1eb8b2d polarssl_conf: fixed one bug when loading polarssl library 2017-12-03 14:54:47 +08:00
zhengshuxin
781b0a048a add acl::tbox class for transfering messages between multi-threads. 2017-11-14 10:52:44 +08:00
zhengshuxin
859ac18cab string: fixed one bug in operator < and > 2017-11-07 22:58:41 +08:00
zhengshuxin
284a672677 redis: fixed one bug in redis_hash::hmset 2017-10-27 00:05:28 +08:00
zhengshuxin
e150f36373 modify changes.txt 2017-10-06 23:24:14 +08:00
zhengshuxin
563ce8a395 feature: thread_mutex supports recursive parameter;
feature: fiber_mutex supports thread_mutex;
2017-09-29 17:35:17 +08:00
zhengshuxin
83724d3e8a valgrind: free global objects when process exiting to avoid valgrind reporting error. 2017-09-28 12:29:20 +08:00
zhengshuxin
c57beda5df method name in bitmap class maybe collision with some macro on some platfom 2017-09-21 16:18:15 +08:00
zhengshuxin
08e241acb8 add trigger.hpp for trigger events by time. 2017-09-18 18:59:59 +08:00
zhengshuxin
2af766fb6e make acl::mbox generic with c++ template method. 2017-09-01 23:14:20 +08:00
zhengshuxin
5b0cdc1fc9 add bitmap class for bit operation 2017-08-23 15:14:40 +08:00
zhengshuxin
8f58d773b4 add atomic operation and modify vc projects for adding atomic class. 2017-08-18 22:55:31 +08:00
zhengshuxin
7bca9425a9 add tcp communication connections pool. 2017-08-08 18:43:25 +08:00
zhengshuxin
27b42d5c30 polarssl_conf & polarssl_io support loading polarssl lib dynamic. 2017-08-04 15:13:40 +08:00
zhengshuxin
df1b49d215 add some functions for HMSET commands in redis_hash class. 2017-07-27 13:35:47 +08:00
zhengshuxin
93b3250ca5 add methods that get configure path 2017-07-22 21:32:21 +08:00
zhengshuxin
93f0ebf307 fixed compile warning for clang++ -Wunused-private-field 2017-07-20 11:08: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
zhengshuxin
c0a5c23084 fixed one memory leak bug in http_request's reset() method. 2017-06-24 12:16:18 +08:00
ubuntu14
dc2a42c0e6 valgrind can also check master_udp's samples in alone running mode. 2017-06-21 12:43:53 +08:00
root
0707afa35f add WebSocketServlet by "fuwangqin" <niukey@qq.com> 2017-05-31 14:43:18 +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
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
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
3cd0864746 supporting ios and can be compiled by xcode. 2017-03-12 14:49:48 +08:00
zhengshuxin
a176d4a290 fixed one bug in redis_command::run when connection is lost. 2017-02-24 12:51:04 +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
03d36523e0 add acl_fiber_signal in lib_fiber. 2016-12-31 13:52:34 +08:00
zhengshuxin
06fa2499fa fixed bugs in lib_fiber; add features in http module. 2016-12-29 23:58:18 +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
6d8cd37190 fixed bugs in redis module. 2016-12-14 21:15:48 +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
4aef130a1f fixed one bug in redis_command::run, connection should be put back when n >= redirect_max_. 2016-11-08 20:55:26 +08:00
zhengshuxin
1077d2b142 fixed on bug in redis_result::argv_to_string() 2016-11-07 22:14:23 +08:00
zhengshuxin
3bf64fa72d fixed bugs in db pool for setting charset. 2016-11-03 11:19:11 +08:00
zhengshuxin
0d88117427 fxied urgent bug in class db_mysql for init charset_ 2016-11-02 10:38:07 +08:00
zhengshuxin
758319beb3 fixed bugs in redis_string::incrbyfloat and redis_hash::hincrbyfloat 2016-10-31 21:41:36 +08:00
zhengshuxin
ee968f72ae rename acl_init to acl_lib_init. 2016-10-27 21:25:14 +08:00
zhengshuxin
f69eb3dedb fixed one bug for charset setting in db_pool 2016-10-24 11:44:12 +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
dep
b0090e4ce1 C++ serialization module gson can support non C++11. 2016-10-14 15:11:13 +08:00
zhengshuxin
fee1610ac4 gson support struct members' initialization, fixed one bug in json_node::get_text. 2016-10-13 16:15:38 +08:00
zhengshuxin
8fc6f990f2 add null type for json module when building json obj. 2016-10-10 23:03:05 +08:00
zhengshuxin
fcf36bf477 add json serializing module -- gson. 2016-10-08 22:11:25 +08:00
zhengshuxin
535494a264 fixed one bug in json class; add fiber_chat for chatting application. 2016-10-07 20:01:57 +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
zhengshuxin
6852d39ed2 fixed one bug in acl_urlcode.c, add c++11 in fiber, and add sha1 2016-09-01 20:00:58 +08:00
zhengshuxin
6897e3dc54 fixed bugs in json module. 2016-08-23 13:20:33 +08:00
ubuntu14
314076aefb polarssl will be compiled into acl by typing make build_one polarssl=on 2016-08-14 20:48:30 +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
8ef7853f19 add semaphore for lib_fiber 2016-07-09 21:58:21 +08:00
ubuntu14
0ec7e951eb improvement the lib_fiber's performance 2016-06-11 23:18:06 +08:00
ubuntu14
92b0dc124e add lib_fiber 2016-05-30 14:09:38 +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
efb7774473 fixed one bug in thread class for memory collision 2016-04-19 14:24:02 +08:00
ubuntu14
0898b7ec6f fixed bugs in acl.3.1.5 2016-04-16 17:58:56 +08:00
ubuntu14
21bae2f016 add quoted string splitting method 2016-04-15 09:45:07 +08:00
ubuntu14
a6f78cc0b0 add quote split string 2016-04-14 22:39:11 +08:00
ubuntu14
1618216f61 make redis_builder more powerful; replace polarssl with new version 2016-04-12 20:11:15 +08:00
ubuntu14
4672034ef5 add another info() method to class redis_server; make redis_builder more power! 2016-04-02 11:55:00 +08:00
ubuntu14
700c8dc870 add more functions into redis_builder 2016-04-01 23:08:26 +08:00
ubuntu14
41a32d774d add functions to redis_builder 2016-04-01 09:36:18 +08:00
ubuntu14
dea69a055a make master_threads more safety for avoiding socket_stream exception 2016-03-24 14:44:18 +08:00
ubuntu14
7bad3a7cab fixed one bug in json parser for reset 2016-03-19 22:05:46 +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
59f563a591 fixed one bug in acl_threads_server.c 2016-03-01 20:20:52 +08:00
ubuntu14
162f645c53 acl_threads_server.c can be used for windows; fixed some bugs 2016-02-28 17:48:17 +08:00
ubuntu14
e3e9bc77fa improving compiling speed by add precompile way 2016-02-25 19:57:02 +08:00
ubuntu14
af1d5bd90e improving performance and fixed some bugs 2016-02-05 10:10:24 +08:00
ubuntu14
3f74c26a14 modify redis interface; make socket more safty 2016-01-17 13:35:12 +08:00
ubuntu14
3501052247 fixed one bug in redis_key::type which lost HASH type 2015-12-29 12:40:42 +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
256d4cf6e2 rename sys_read_ready to read_ready 2015-12-22 10:37:01 +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
3b76cccb18 fixed bugs in xml parser 2015-12-14 06:37:46 -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
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
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
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
45f44e3f74 fixed one bug in class redis_string for handling INCR/INCRBY/DECR/DECRBY commands 2015-08-15 05:57:12 -07:00
ubuntu14
7c6afc95dd add some methods to http and log module 2015-08-13 06:38:59 -07:00
ubuntu14
635ef743d4 mysql_manager supports set idle ttl for each mysql connection 2015-08-12 02:22:52 -07:00
ubuntu14
369d54179f add mysql cluster manager 2015-08-12 01:48:24 -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
6864ba0bf5 fix bug in redis_command::redirect() which has a NULL refering 2015-07-30 22:38:24 +08:00
zsxxsz
c67a7e40c5 HttpServletRequest add getJson&getXml methods 2015-07-25 00:31:30 +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
ec3978400d add double/float supporting for query class of db module 2015-07-21 15:26:53 +08:00
zsxxsz
33125fe158 fixed bug in redis_command::run where existing a invlid conn's refering 2015-07-19 10:30:27 +08:00
zsxxsz
70387f948e fixed bug in redis_command::run(): when peek_conn returns NULL, the function should return. 2015-07-16 20:49:06 +08:00
zsx
458f6089e9 fixed bugs in redis_scripts.cpp for computing keys's size 2015-07-15 10:00:30 +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
zsxxsz
1c469fea3b http module support range download; add http download example 2015-07-05 01:29:35 +08:00
zsxxsz
1c43c88be1 fixed bugs in http_hdr.c and redis_hash.cpp; add som http head operation functions 2015-07-02 10:35:12 +08:00
zsxxsz
fc22796257 lib_acl, lib_protocol, lib_acl_cpp can be built by VC2012 in x64 mode 2015-06-28 20:27:51 +08:00
ubuntu14
8dc9188d4b fixed some bugs in using iterator 2015-06-27 07:46:54 -07:00
ubuntu14
1156716a32 add dbuf_reset in class dbuf_pool for performance improvement 2015-06-22 05:41:56 -07:00
zsx
4866e55c49 add thread queue sample: samples/thread_queue 2015-06-18 14:54:58 +08:00
zsx
9bf32aa6d6 fixed bug in randmkey function of redis_key class 2015-06-15 17:04:46 +08:00
zsx
3274df3b13 fixed some compile error on MACOSX 2015-06-14 02:47:59 +08:00
zsx
883b0681f5 use redis cluster to store session for http module 2015-06-03 11:19:13 +08:00
ubuntu14
96d26cc7d3 fixed bugs in redis module, add aio sample 2015-05-18 05:05:22 -07:00
ubuntu14
c81f144938 add disque_cluster sample 2015-05-06 06:37:11 -07:00
ubuntu14
8b49be69a5 add disque's client library into lib_acl_cpp 2015-05-06 02:16:10 -07:00
ubuntu14
e72a468ecd add some useful function to redis_builder tool 2015-04-25 09:11:10 -07:00
ubuntu14
91dd70f286 fix bug when result is a empty string from redis-server 2015-04-20 22:22:53 -07:00
ubuntu14
0140b69dd1 add a redis tool for redis cluster 2015-04-19 07:15:30 -07:00
ubuntu14
cd4802771d add some comments for redis module 2015-04-12 06:37:17 -07:00
ubuntu14
d6933c5694 add some comments for redis module 2015-04-08 08:17:16 -07: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
ubuntu14
27a5f76285 add support for CLUSTER commands, rename old redis_cluster to redis_client_cluster, redis_pool to redis_client_pool 2015-04-02 07:19:57 -07:00
zsx
1ce0ed3627 fix bugs in redis_command.cpp, the last three get_strings have some problem 2015-03-30 14:50:56 +08:00
zsx
c28744324c Ôö¼ÓÁË redis ¿ͻ§¶ËеÄÀ࣬¸ÃÀà¼̳ÐÁËÆäËüËùÓеÄ redis ¿ͻ§¶ËÀà 2015-03-27 17:05:12 +08:00