Commit Graph

360 Commits

Author SHA1 Message Date
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
zsxxsz
20661b8094 add redis cluster sample for multi-threads in README.md 2015-04-02 23:06:34 +08:00
ubuntu14
b060645f59 modify redis cluster sample in README.md 2015-04-02 07:23:11 -07: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
34bb6a4176 acl 3.1.1 version release 2015-03-29 20:47:46 +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
zsx
9f358e6a98 modify acl_read_wait.c, remove C++ comment format 2015-03-12 15:25:03 +08:00
zsx
db6f622a7a select on WIN32 using has some problem 2015-03-11 09:09:28 +08:00
ubuntu14
fe1431b3c7 modify README.md for redis samples 2015-03-08 07:56:08 -07:00
ubuntu14
2f09ab55dd modify README.md for redis lib 2015-03-08 06:47:21 -07:00
ubuntu14
4c690d3130 modify redis_cluster sample 2015-03-08 06:39:35 -07:00
ubuntu14
6c8f6ed4cd Merge branch 'master' of https://github.com/zhengshuxin/acl
Conflicts:
	lib_acl_cpp/samples/redis/redis_cluster/redis_cluster.cpp
	lib_acl_cpp/src/redis/redis_command.cpp
2015-03-08 06:38:52 -07:00
ubuntu14
4909a6bd6f modify some projects and samples 2015-03-08 06:34:00 -07:00
zsx
358a73d07e modify redis_cluster sample 2015-03-02 09:56:01 +08: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
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
ubuntu14
6b72eab5d6 modify some Makefile 2015-02-07 08:18:29 -08:00
ubuntu14
641de72839 acl 3.1.0 version release 2015-02-07 07:44:41 -08:00
ubuntu14
96f6b34b2c acl 3.1.0 version release now 2015-02-07 06:55:24 -08:00
ubuntu14
b8c8cae6ed prepare for acl new version 2015-02-04 06:26:20 -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
054dbea2a0 redis_zset test ok 2015-01-30 07:05:12 -08:00
ubuntu14
843f3a53c5 redis_zset test ok 2015-01-30 06:58:13 -08:00
ubuntu14
8ff45a9b25 optimize redis client 2015-01-28 08:38:29 -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
zsx
96abd859ac complete pubsub command for redis 2015-01-23 17:23:04 +08:00
zsx
78a639a4c2 modify some redis samples 2015-01-23 11:00:14 +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
0266740b98 delete exec file 2015-01-15 09:15:57 -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
7b89629f9b 修改 Makefile 文件 2015-01-06 23:24:02 +08:00
zsx
3ad53235d1 modify Makefile for MACOS 2015-01-05 17:25:09 +08:00
zsxxsz
9a7e7b07dd 整理工程,优化代码,添加阿里云 OSS 客户端接口 2015-01-04 22:51:01 +08:00
zsxxsz
89b5fbc932 acl 3.0.22 版本发布 2014-12-14 23:27:32 +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
037422b1e7 polarssl 库升级,一些 BUG 修复 2014-10-24 21:17:01 +08:00
zsxxsz
5c1fd648af 修复例子中的 BUG 2014-09-11 20:55:31 +08:00
zsxxsz
d8ec1e924d 线程池服务器模板支持 accept 回调处理过程在子线程中进行
可以通过配置项(ioctl_thread_accpet=1)将 accept 的回调处理过程交由线程池中的子线程处理,这样可以在 accept
回调过程处理一些比较花费时间的处理过程而不会阻塞主线程
2014-09-10 00:08:43 +08:00
zsxxsz
65ab0a7659 整理 lib_acl 库中的头文件 2014-09-06 23:08:25 +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
d29f8dde54 正式发布 acl 3.0.20 版本
该版本的主要改进为:修复了对 freebsd 不兼容的问题;比较完整地支持 polarssl 库,从而可以支持 ssl 通信
2014-08-26 12:53:37 +08:00
zsxxsz
b974f8d343 ssl 客户端测试例子完善 2014-08-23 16:52:13 +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
b344a1f2ad cgi_upload 例子中有个变量未用,会引起编译器警告 2014-07-23 22:38:40 +08:00
zsxxsz
9ac520578a cgi_upload 例子中有个变量未用,会引起编译器警告 2014-07-23 22:36:24 +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
9b5ab75ca9 Delete aa.html 2014-06-27 22:32:56 +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
b8360008e5 修复 了 events_iocp.c 在 WIN XP 下关闭完成端口的问题
iocp 完成端口在关闭时,需在关闭套接口之前调用HasOverlappedIoCompleted 获得重叠 IO 的状态
2014-02-22 19:44:26 +08:00
zsxxsz
9a016e24b1 修复了线程池中BUG;修复了iocp及win32消息事件引擎的BUG 2014-02-21 23:01:57 +08:00
zsxxsz
8017426b99 针对 gcc 或 vc 编译器,增加了一些编译属性开关 2014-02-06 19:59:59 +08:00
zsxxsz
5f0a551610 去掉了一些没有用的临时文件 2014-01-26 20:00:11 +08:00
zsxxsz
22f1f139cb 优化了线程池调度算法 2014-01-26 19:19:55 +08:00
zsxxsz
a3b2e1f6d1 优化了线程池的性能
通过给线程池中的每一个线程一个独立的线程条件变量(之前是用同一个),大大减少了线程池在任务调度时的竞争问题
2014-01-19 23:59:13 +08:00
zsxxsz
99f2645bda 工程整理 2014-01-18 13:26:28 +08:00
zsxxsz
faf1d67372 将 aio 例子归类 2014-01-18 13:20:58 +08:00
zsxxsz
fc6ecf6a4b 工程文件整理
添加了lib_protocol_vc2008.vcproj;修改了 lib_rpc 的工程文件
2014-01-13 21:27:38 +08:00
zsxxsz
fc3cae0a35 支持VC2008编译器
acl 重新支持VC2008编译器;在高版本VC编译器上,acl库尽量使用编译器建议安全的系统 API
2014-01-12 15:36:49 +08:00
zsxxsz
9527c34565 提高了 ipc 通信安全性,修复了新的线程池服务器模版的初始化问题
ipc 通信时进行了安全校验,防止外来连接攻击;新的线程池服务器模版调整了初始化调用顺序,便于在设定定时器时可以取得事件引擎句柄
2014-01-06 21:08:57 +08:00
zsxxsz
153101288b json 编码器需要兼容旧的标志位
json 编码器需要兼容旧的标志位
2014-01-03 20:04:28 +08:00
zsxxsz
3c856acfd3 修复 了 json 解析器的一些 bug,使之更为规范化
修复 了 json 解析器的一些 bug,使之更为规范化
2013-12-31 22:52:11 +08:00
zsxxsz
def86af3be 完善了 json 解析器
按 json 文档规范,完善了 json 解析器的相关模块
2013-12-29 21:09:36 +08:00
zsxxsz
d6f858c8ce delete unused json sample
delete unused json sample
2013-12-27 22:42:02 +08:00
zsxxsz
72dbadd863 move all json samples to json path
move json samples to json path
2013-12-27 22:40:51 +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
7095d29ea1 sample mysql2 bugfix
sample mysql2 bugfix for compile
2013-10-20 21:38:03 +08:00
zsxxsz
b45404497d add some lost files
add some samples
2013-10-20 18:59:57 +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
3711f472a1 fixed Makefile 2013-08-27 22:15:43 +08:00
zsxxsz
cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00