Commit Graph

233 Commits

Author SHA1 Message Date
root
171655fa1e improve performance of acl_udp_server.c 2017-05-25 00:59:25 +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
a0f4e48d41 fixed one bug in acl_mylog.c/private_vstream.c that freeing memory corrupt. 2017-05-03 11:19:20 +08:00
zhengshuxin
47c07e2f56 add inet_ntop/inet_pton for vc2003 2017-04-23 20:27:54 +08:00
zhengshuxin
fd719a73e3 fixed one bug in acl_pthread_cond.c for double-free one same memory. 2017-04-17 21:56:13 +08:00
zhengshuxin
41b89b7aaa hook getaddrinfo in acl fiber 2017-04-13 21:50:55 +08:00
zhengshuxin
29f3ef3b73 supporting for IPV6 2017-04-11 23:14:39 +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
3cd0864746 supporting ios and can be compiled by xcode. 2017-03-12 14:49:48 +08:00
zhengshuxin
09e4b0d381 migrate to Android platform OK! 2017-02-12 21:39:38 +08:00
zhengshuxin
06fa2499fa fixed bugs in lib_fiber; add features in http module. 2016-12-29 23:58:18 +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
60f2fc2203 fixed compiling error on centos4.7 by gcc3.x.x 2016-10-28 15:01:42 +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
f0e5a302b3 fixed one bug in acl_json_build/acl_json_buiding bug when building a json object. 2016-10-11 20:58:37 +08:00
zhengshuxin
8fc6f990f2 add null type for json module when building json obj. 2016-10-10 23:03:05 +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
96bde3d3ca improvement the events_epoll_thr.c's performance by decreating calling times of epoll_ctl. 2016-08-15 14:53:43 +08:00
ubuntu14
bea788c59c fixed one bug in events module that read_ready flag maybe be clear. 2016-08-15 11:04:12 +08:00
ubuntu14
46b36692a6 fixed one import bug in acl_vstream_writen() of acl_vstream.c 2016-08-14 00:25:15 +08:00
ubuntu14
d7218d0228 add acl_ypipe/acl_ypush into vc2015 project. 2016-08-11 13:57:57 +08:00
ubuntu14
0c54b8c0d5 fixed one bug in events_enable_read of events_epoll_thr.c; add some samples for lib_fiber; 2016-08-11 13:36:20 +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
36585efdf6 epoll has been hooked now 2016-07-15 21:04:01 +08:00
ubuntu14
1db0998bad fixed compiling warning by gcc6.1 2016-07-10 19:12:54 +08:00
ubuntu14
2e5724cbeb add acl_mbox.c for thread communication 2016-06-26 12:17:17 +08:00
ubuntu14
f9ff6f0a73 fixed some bugs in lib_fiber; add master_fiber for master framework 2016-06-23 13:34:54 +08:00
ubuntu14
29d2584744 fixed one bug in acl_sys_file.c for windows; add one no lock quque 2016-05-22 00:08:10 +08:00
ubuntu14
1148788f2b optimize some codes 2016-05-10 21:58:47 +08:00
ubuntu14
6590dd07f8 make acl_threads_server.c friendly to valgrind 2016-04-23 20:30:49 +08:00
ubuntu14
0898b7ec6f fixed bugs in acl.3.1.5 2016-04-16 17:58:56 +08:00
ubuntu14
a6f78cc0b0 add quote split string 2016-04-14 22:39:11 +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
ba42c843c5 redis_builder can builder and operation redis cluster with password 2016-03-13 20:01:41 +08:00
ubuntu14
02b0fec5e5 fixed one problem of compiling dll on vc2012 2016-03-03 17:07:53 +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
67e6bd0470 fixed one urgent bug in acl_read_wait 2015-12-21 23:53:55 +08:00
ubuntu14
1fff44057a fixed bugs in events and master_sig.c 2015-12-21 13:25:30 +08:00
ubuntu14
9de2c19ca3 improving peformance for event process 2015-12-19 23:27:55 -08:00
ubuntu14
e716980ae4 fixed bugs in acl_aio_write and acl_socket_read 2015-12-19 06:21:39 -08:00
ubuntu14
fe60dbf219 fixed bugs in events 2015-12-18 16:36:24 +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
3315a5a9b2 fixed one bugs in function event_prepare of event.s for check fdp->stream->sys_read_ready 2015-12-04 10:08:57 +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
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
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
7c6afc95dd add some methods to http and log module 2015-08-13 06:38:59 -07: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
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
cbdce56059 fixed one bug in acl_vstring.c; modify http module 2015-06-24 06:38:28 -07:00
ubuntu14
26ede3c85a add some comments in wizard's source; add reset function for acl_dbuf_pool.c 2015-06-22 02:32:33 -07:00
zsx
062d87cea6 improve json parsing speed 2015-06-19 16:08:17 +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
zsxxsz
e74ac017f9 完善了连接池管理功能模块 2015-04-04 15:25:29 +08:00
zsx
db6f622a7a select on WIN32 using has some problem 2015-03-11 09:09:28 +08:00
ubuntu14
4909a6bd6f modify some projects and samples 2015-03-08 06:34:00 -07:00
zsx
dfe63fc844 redis client lib support redis3.0 cluster 2015-02-27 13:33:00 +08:00
ubuntu14
ac4a0f2314 fixed bug in acl_trace.c 2015-02-13 09:04:37 -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
4323441df7 bugfix for acl_dbuf_pool.c of lib_acl lib 2015-01-26 09:11:04 -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
7e97baaf36 增加了套接字选项的设置及获取的方法 2014-10-25 20:33:21 +08:00
zsxxsz
037422b1e7 polarssl 库升级,一些 BUG 修复 2014-10-24 21:17:01 +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
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
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
7fdacc15f1 acl.3.0..18 版本发布
acl.3.0..18 版本发布
2014-04-07 17:27:03 +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
aa62986272 添加了一些丢失的文件 2014-03-01 20:00:31 +08:00
zsxxsz
ecc0992eb1 性能优化 2014-02-26 22:57:09 +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
b20e0b6c53 acl 3.0.16 版本发布!
该版本主要优化了线程池调度的性能,同时优化了多线程事件引擎的效率
2014-02-20 22:57:48 +08:00
zsxxsz
5796debda4 优化了多线程事件引擎的效率,优化了线程池的任务处理能力,调整了部分代码的格式 2014-02-15 16:01:56 +08:00
zsxxsz
8017426b99 针对 gcc 或 vc 编译器,增加了一些编译属性开关 2014-02-06 19:59:59 +08:00
zsxxsz
335280e068 3.0.15 版本发布 2014-01-26 19:24:02 +08:00
zsxxsz
22f1f139cb 优化了线程池调度算法 2014-01-26 19:19:55 +08:00
zsxxsz
a3b2e1f6d1 优化了线程池的性能
通过给线程池中的每一个线程一个独立的线程条件变量(之前是用同一个),大大减少了线程池在任务调度时的竞争问题
2014-01-19 23:59:13 +08:00
zsxxsz
fc3cae0a35 支持VC2008编译器
acl 重新支持VC2008编译器;在高版本VC编译器上,acl库尽量使用编译器建议安全的系统 API
2014-01-12 15:36:49 +08:00
zsxxsz
ec45296f32 新线程池服务模板当应用崩溃时不能生成 core 文件的问题修复;acl_fifo 中注释有误 2014-01-07 22:52:23 +08:00
zsxxsz
9527c34565 提高了 ipc 通信安全性,修复了新的线程池服务器模版的初始化问题
ipc 通信时进行了安全校验,防止外来连接攻击;新的线程池服务器模版调整了初始化调用顺序,便于在设定定时器时可以取得事件引擎句柄
2014-01-06 21:08:57 +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
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
253a4630c5 compile: acl_aio_app_main.c 2013-10-20 14:30:12 +08:00
zsxxsz
ef9e6de684 add some feature for udp
support udp; modify event interface
2013-09-28 09:00:07 +08:00
zsxxsz
4b6dd0e34b fixed some bugs 2013-08-27 22:09:27 +08:00
zsxxsz
cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00