Commit Graph

328 Commits

Author SHA1 Message Date
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
zsxxsz
46660d49c9 fix bug of using count parameter in redis_command::scan_keys 2015-03-23 20:59:50 +08:00
zsxxsz
972b011c3d fixbug in class http_header's method set_method 2015-03-17 13:07:23 +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
2c6e06381b force the master server run as alone mode in WIN32 2015-02-11 09:28:05 +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
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
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
ea7b3d02a8 redis_pool and redis_manager are all ok now 2015-01-16 01:08:31 -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
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
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
5c1fd648af 修复例子中的 BUG 2014-09-11 20:55:31 +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
188da0e082 完善了对 polarssl 的支持,支持 polarssl 两个分支,写了客户端多线程测试用例 2014-08-21 21:32:57 +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
79e18cc2e9 http_request 类支持 POST 请求方法的重试功能
http_request 类支持 POST 请求方法的重试功能;
http_mime 类兼容了用户误操作时情形;
增加 cgi_upload VC2012 版示例工程
2014-07-24 22:23:06 +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
26e96fcd8c 修改了服务器线程池模板(c++库)中 master_threads2.cpp 中漏内存的BUG,优化了多线程事件引擎
修改了服务器线程池模板(c++库)中 master_threads2.cpp 中漏内存的BUG,优化了多线程事件引擎
2014-03-21 20:54:21 +08:00
zsxxsz
454e1af34a 连接池增加了后台自动检测机制,规整代码 2014-03-14 21:07:28 +08:00
zsxxsz
aa62986272 添加了一些丢失的文件 2014-03-01 20:00:31 +08:00
zsxxsz
8017426b99 针对 gcc 或 vc 编译器,增加了一些编译属性开关 2014-02-06 19:59:59 +08:00
zsxxsz
22f1f139cb 优化了线程池调度算法 2014-01-26 19:19:55 +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
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