Commit Graph

354 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
c67a7e40c5 HttpServletRequest add getJson&getXml methods 2015-07-25 00:31:30 +08:00
zsxxsz
f7f34a9474 class dbuf_pool's destructor be set as private function that the dbuf_pool's object must be created dynamiclly 2015-07-22 15:59:11 +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
zsx
ec3978400d add double/float supporting for query class of db module 2015-07-21 15:26:53 +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
b5525ad021 add some functions in class string, HttpServletResponse 2015-07-05 22:51:31 +08:00
zsxxsz
8410e85b0c fixed some compiling error 2015-07-05 09:44:36 +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
ubuntu14
2a35f4992d all samples can be built by vc2012 in x64 mode 2015-06-29 02:33:11 -07: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
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
3274df3b13 fixed some compile error on MACOSX 2015-06-14 02:47:59 +08:00
zsxxsz
fdd8ac2517 add session_string's buffers in redis_session for caching result of get_buf 2015-06-03 22:41:24 +08: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
zsx
3724809b41 improving some disque samples 2015-05-07 14:51:46 +08: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
68c9606b85 delete unused src code in redis module 2015-05-03 05:08:37 -07:00
ubuntu14
e72a468ecd add some useful function to redis_builder tool 2015-04-25 09:11:10 -07:00
ubuntu14
0140b69dd1 add a redis tool for redis cluster 2015-04-19 07:15:30 -07:00
zsxxsz
6ec47401fc add comments for redis_set 2015-04-15 22:56:48 +08:00
zsxxsz
0354fce20a add some comments for redis client lib 2015-04-14 22:03:56 +08:00
zsx
ea23a87fe6 add some comments for redis client lib 2015-04-14 17:34:24 +08: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
zsxxsz
d563681684 project arrangement 2015-03-29 19:27:41 +08:00
zsx
c28744324c Ôö¼ÓÁË redis ¿ͻ§¶ËеÄÀ࣬¸ÃÀà¼̳ÐÁËÆäËüËùÓеÄ redis ¿ͻ§¶ËÀà 2015-03-27 17:05:12 +08:00
zsxxsz
be60e809c1 增加了 mime 邮件解析的几个方法;修改 lib_acl_cpp/Makefile.db 2015-03-22 17:25:48 +08:00
zsxxsz
4e7cf40430 add English comments for some redis class 2015-03-15 17:38:50 +08:00
ubuntu14
4909a6bd6f modify some projects and samples 2015-03-08 06:34:00 -07:00
ubuntu14
9b50d1dc50 complete the redis cluster lib 2015-03-01 07:50:53 -08:00
zsx
dfe63fc844 redis client lib support redis3.0 cluster 2015-02-27 13:33:00 +08:00
ubuntu14
b238e84e50 support redis cluster mode and add redis_cluster sample 2015-02-13 09:01:29 -08:00
ubuntu14
8bc89f7dbc rewrite redis modules in order to support redis3.0 cluster in future 2015-02-13 06:52:43 -08:00
ubuntu14
be6e546eae modify redis_key::scan, redis_hash::hscan, redis_hash::zscan, redis_hash::sscan 2015-02-11 07:21:10 -08:00
zsx
d22029bfb9 fixed acl_master framework bug; add some functions to redis_command; modify some Makefile 2015-02-10 17:23:24 +08:00
ubuntu14
96f6b34b2c acl 3.1.0 version release now 2015-02-07 06:55:24 -08:00
ubuntu14
68ce4a101b the new redis client can be compiled by vc2003 2015-02-02 07:52:11 -08:00
zsx
d4e5726585 modify some redis samples 2015-02-02 16:50:06 +08:00
ubuntu14
d17ac74d27 test redis_hyperloglog, redis_connection, redis_transaction ok 2015-02-01 08:13:26 -08:00
ubuntu14
843f3a53c5 redis_zset test ok 2015-01-30 06:58:13 -08:00
ubuntu14
247ace5409 optimize redis client 2015-01-28 08:40:01 -08:00
ubuntu14
87a2693893 Merge branch 'master' of https://github.com/zhengshuxin/acl
Conflicts:
	lib_acl_cpp/include/acl_cpp/redis/redis_list.hpp
2015-01-28 08:39:32 -08:00
ubuntu14
8ff45a9b25 optimize redis client 2015-01-28 08:38:29 -08:00
zsx
13bcb6aefb add comment for redis client API 2015-01-28 17:28:45 +08:00
ubuntu14
2a373c4e71 optimize redis client 2015-01-27 07:37:33 -08:00
ubuntu14
730ff1c3fb optimize redis client 2015-01-27 01:52:50 -08:00
ubuntu14
4323441df7 bugfix for acl_dbuf_pool.c of lib_acl lib 2015-01-26 09:11:04 -08:00
ubuntu14
ea760d5e3a optimize redis client lib 2015-01-26 03:58:02 -08:00
ubuntu14
bfd4e601c5 complete the redis script client command 2015-01-25 05:03:20 -08:00
zsx
96abd859ac complete pubsub command for redis 2015-01-23 17:23:04 +08:00
zsx
ad009bb467 fix bugs in master_threads2.cpp which lost some fd and memory; continue complete redis client lib 2015-01-23 10:04:25 +08:00
ubuntu14
d7b3d92ca8 complate redis_zset, redis_script; add redis_pubsub sample 2015-01-21 07:39:02 -08:00
ubuntu14
1d09396c8c rewrite some redis interface; fix bug for mysql lib on win32 2015-01-19 08:10:17 -08:00
ubuntu14
b6bbade6e1 complete redis client command: list/transaction/connection/pubsub; add redis_pool/redis_manger samples 2015-01-18 08:03:30 -08:00
ubuntu14
5e81e4bd4d compile dll on vc2010/vc2008 2015-01-16 01:42:12 -08:00
ubuntu14
ea7b3d02a8 redis_pool and redis_manager are all ok now 2015-01-16 01:08:31 -08:00
ubuntu14
27c3bfb562 delete unused redis_response.hpp 2015-01-15 17:48:54 -08:00
ubuntu14
e143998522 test redis_key, redis_string, redis_hash ok 2015-01-15 09:12:41 -08:00
ubuntu14
a674a864ab add redis client lib 2015-01-14 07:35:23 -08:00
zsxxsz
9a7e7b07dd 整理工程,优化代码,添加阿里云 OSS 客户端接口 2015-01-04 22:51:01 +08:00
zsxxsz
7282491c1a acl 3.0.22 版本发布 2014-12-14 23:36:23 +08:00
zsxxsz
f0249e0ca1 完善TCP连接派发器,从而更便于集群管理;其它功能模块的完善 2014-12-14 18:26:52 +08:00
zsxxsz
d8fd96aee8 整理工程,优化代码 2014-12-07 23:48:11 +08:00
zsxxsz
cf2528eb7c 完善了非阻塞IO的SSL功能;将 samples 移到 lib_acl 目录下
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
2014-11-30 21:15:35 +08:00
zsxxsz
7ad26a48a5 线程池服务模板功能改进及 protobuf 包更新 2014-11-25 19:44:37 +08:00
zsxxsz
bafd2218a4 整理了一些文件格式 2014-11-19 00:25:21 +08:00
zsxxsz
550b1095de Revert "修复了使用 _vsnprintf_s 的BUG和 stream 类中打开文件流时的BUG"
This reverts commit dff6771da7.
2014-11-19 00:06:40 +08:00
zsxxsz
dff6771da7 修复了使用 _vsnprintf_s 的BUG和 stream 类中打开文件流时的BUG 2014-11-18 23:08:34 +08:00
zsxxsz
7b6eccb4c5 3.0.21 版本发布 2014-10-30 21:42:52 +08:00
zsxxsz
7834cfb1eb 提供了新的防 SQL 注入的DB查询构造器类 2014-10-29 23:15:51 +08:00
zsxxsz
7e97baaf36 增加了套接字选项的设置及获取的方法 2014-10-25 20:33:21 +08:00
zsxxsz
037422b1e7 polarssl 库升级,一些 BUG 修复 2014-10-24 21:17:01 +08:00
zsxxsz
9cc16bb28c 代码优化,当 delete 对象时去掉了判空过程
因为C++编译器当 delete 对象时会首先判断对象指针是否非空,所以当 delete 对象时不必显示地判断对象指针是否为 NULL;当使用
VC 编译时消除了一些编译错误
2014-09-06 21:39:54 +08:00
zsxxsz
3f9e8cfbee 优化针对 polarssl 的支持 2014-09-02 10:43:58 +08:00
zsxxsz
d381b0117d 完善了针对 Polarssl 的支持
升级 polarssl 至1.3.8版本;支持服务端模式的 ssl 通信方式;增加了 SSL 的服务端测试用例
2014-08-20 22:31:35 +08:00
zsxxsz
16e44295cc 整个 acl 工程在 FreeBSD9.2(64) 上编译通过 2014-08-01 00:51:32 +08:00
zsxxsz
54aa697c22 完善接口功能,添加网络示例 2014-07-29 21:48:23 +08:00
zsxxsz
9ce5d0d2c2 修复代码问题和VC工程
整理VC工程文件;修改了MIME解析中的问题
2014-07-21 22:32:11 +08:00
zsxxsz
97eb97fd67 添加示例,完善库函数
增加了 dircmp 示例;修改了 string 类;修改了 acl_set_eugid, acl_set_ugid 函数
2014-07-16 19:59:58 +08:00
zsxxsz
8e5ae88b1d acl.3.0.19 版本发布 2014-06-23 20:19:05 +08:00
zsxxsz
2a75ab0cd0 代码优化 2014-06-22 19:42:08 +08:00
zsxxsz
e864adeb9c 常规性BUG修复及类功能增加
修复了新加类 scan_dir 的一些问题;
string 增加按行读数据功能;
http_client/http_request 增加按行读数据功能
2014-05-28 21:26:03 +08:00
zsxxsz
1c565c875b 修复了C++库中连接池及HTTP模块中的BUG
C++库中连接池管理存在BUG;C++库的 HTTP 模块存在BUG;C库中的 master 服务器框架允许以非 ROOT
身份启动;C++库中增加了目录扫描类:scan_dir
2014-05-22 21:33:41 +08:00
zsxxsz
ad62afa90b BUG修复及功能完善
修改了一些已知问题,完善了服务器生成向导程序,增加了目录拷贝程序dircopy
2014-05-16 21:08:52 +08:00
zsxxsz
929ebc13be 服务器框架支持客户端连接平均分配的功能
增加了 master_dispatch 服务模板,由其接收外来客户端连接,同时将连接平均分配给后端的服务子进程
2014-03-27 23:55:38 +08:00
zsxxsz
454e1af34a 连接池增加了后台自动检测机制,规整代码 2014-03-14 21:07:28 +08:00
zsxxsz
ecc0992eb1 性能优化 2014-02-26 22:57:09 +08:00
zsxxsz
8017426b99 针对 gcc 或 vc 编译器,增加了一些编译属性开关 2014-02-06 19:59:59 +08:00
zsxxsz
fc3cae0a35 支持VC2008编译器
acl 重新支持VC2008编译器;在高版本VC编译器上,acl库尽量使用编译器建议安全的系统 API
2014-01-12 15:36:49 +08:00
zsxxsz
33599d963e http_request 类增加了网络超时接口 2014-01-08 20:14:24 +08:00
zsxxsz
9527c34565 提高了 ipc 通信安全性,修复了新的线程池服务器模版的初始化问题
ipc 通信时进行了安全校验,防止外来连接攻击;新的线程池服务器模版调整了初始化调用顺序,便于在设定定时器时可以取得事件引擎句柄
2014-01-06 21:08:57 +08:00
zsxxsz
def86af3be 完善了 json 解析器
按 json 文档规范,完善了 json 解析器的相关模块
2013-12-29 21:09:36 +08:00
zsxxsz
95993e39be add feature for json lib and add some json samples
add feature for json lib and add some json samples
2013-12-27 22:38:17 +08:00
zsxxsz
5a859613d8 add new master service template
add new master service template
2013-12-20 21:03:12 +08:00
zsxxsz
4a219509b9 acl.3.0.14 release
some new features, and some bug fixed
2013-12-07 20:31:59 +08:00
zsxxsz
415de6f5c6 acl.3.0.13 release
acl.3.0.13 release
2013-11-05 22:23:23 +08:00
zsxxsz
ff2495f962 add some lost files 2013-10-20 18:12:47 +08:00
zsxxsz
dcdebd5f9c add thread, thread_pool for lib_acl_cpp
add thread, thread_pool for lib_acl_cpp, and other bugfix
2013-10-19 23:13:19 +08:00
zsxxsz
ef9e6de684 add some feature for udp
support udp; modify event interface
2013-09-28 09:00:07 +08:00
zsxxsz
c73164ebed fixed some bugs 2013-08-27 22:04:32 +08:00
zsxxsz
cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00