Commit Graph

414 Commits

Author SHA1 Message Date
Zheng Shuxin
b2c2cd4a1c acl_udp_server.c is OK! 2017-06-22 12:40:57 +08:00
郑树新
ce8d5cda9c acl_udp_server.c can be compiled on vc 2017-06-22 12:26:14 +08:00
Zheng Shuxin
3c86372490 modify acl_udp_server.c 2017-06-22 12:21:54 +08:00
郑树新
109b498110 add atomic add 2017-06-22 11:03:07 +08:00
zhengshuxin
3442778120 add acl_sane_bind.c into xcode project. 2017-06-21 22:41:50 +08:00
ubuntu14
7ed6180b33 udp server support multi threads mode 2017-06-21 18:31:37 +08:00
ubuntu14
dc2a42c0e6 valgrind can also check master_udp's samples in alone running mode. 2017-06-21 12:43:53 +08:00
郑树新
64afad5c42 master_udp.cpp using acl_udp_server.c in alone mode. 2017-06-21 12:27:41 +08:00
ubuntu14
3a863cc238 add acl_host_addrinfo for resovle domain 2017-06-21 11:10:49 +08:00
ubuntu14
85f1db0b38 acl_udp_sever.c can bind addrs matching some pattern 2017-06-20 14:07:45 +08:00
ubuntu14
dfbb553f01 adding http interface for acl_master 2017-06-15 11:28:01 +08:00
郑树新
f676d1d861 move acl_master from lib_acl for xcode project 2017-06-14 11:13:59 +08:00
郑树新
050e37c071 modify vc project 2017-06-13 18:06:17 +08:00
zhengshuxin
311ceb0cf8 remove acl_master's module from lib_acl's vc projects. 2017-06-13 16:20:45 +08:00
zhengshuxin
7f684658da modify fiber module's header included. 2017-06-13 12:14:28 +08:00
zhengshuxin
aedcf2de10 for new acl-master lib 2017-06-12 23:24:00 +08:00
zhengshuxin
b71b6a99a4 add new files for master 2017-06-12 23:23:07 +08:00
zhengshuxin
0b30d83329 move acl_master to app from lib_acl 2017-06-12 23:19:56 +08:00
zhengshuxin
4a26f2a830 toto.txt 2017-06-11 19:39:00 +08:00
zhengshuxin
a6ac74a445 move "setting ACL_MASTER_FLAG_STOPPING" to acl_master_service_stop 2017-06-11 17:53:22 +08:00
zhengshuxin
f824d9b28f fixed one bug that acl_master will crached when stopping a service which is configured master_prefork > 0. 2017-06-11 17:26:17 +08:00
Zheng Shuxin
1663d24904 add one in todo.txt 2017-06-08 17:52:24 +08:00
Zheng Shuxin
7cad599b6e fixed one master's bug 2017-06-08 15:54:29 +08:00
root
7817e3ac14 acl_master can start without any service. 2017-06-08 14:37:55 +08:00
zhengshuxin
3612489a81 ACL_TOKEN support acl_foreach 2017-06-05 12:21:02 +08:00
zhengshuxin
6bfdac5843 add acl_token_tree_word_remove in acl_token_tree.c 2017-06-03 23:45:18 +08:00
zhengshuxin
423b9a07c2 add macro ACL_TOKEN_TREE_WORD_MATCH for fast search word in token tree 2017-06-03 18:12:02 +08:00
root
40954a1558 acl_master support SO_REUSEPORT in UDP mode. 2017-06-02 18:02:36 +08:00
zhengshuxin
78a7540a76 reorganize all the include headers. 2017-06-02 14:47:24 +08:00
root
5922aaaec9 delete unused files. 2017-05-31 14:58:30 +08:00
ubuntu14
98b4488e87 add udp samples 2017-05-31 09:15:54 +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
root
171655fa1e improve performance of acl_udp_server.c 2017-05-25 00:59:25 +08:00
ubuntu14
d49075033b in acl_udp_server.c, should not notify acl_master which will lead low performance 2017-05-23 17:53:52 +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
1a6af8a6be add unix-domain support in pgsql 2017-05-08 09:49:30 +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
0d0bfa47e7 acl_3.3.0 released! 2017-04-22 19:39:13 +08:00
zhengshuxin
5684b7ef41 rename boolean_t to acl_boolean_t for avoiding collision with xcode's lib 2017-04-21 15:57:51 +08:00
zhengshuxin
5d19443275 support vc2013 2017-04-21 14:59:29 +08:00
zhengshuxin
d91b6f4272 acl_vstream_probe_status maybe be blocked in fiber mode 2017-04-20 19:39:03 +08:00
zhengshuxin
5e271bd1b9 acl_pthread_mutex_destroy was lost on windows. 2017-04-17 22:02:34 +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
7787109b88 fixed compiling error on xcode. 2017-04-12 13:29:43 +08:00
zhengshuxin
29f3ef3b73 supporting for IPV6 2017-04-11 23:14:39 +08:00
zhengshuxin
b6b7fb6573 fixed compiling error on vc2003 2017-04-09 08:26:21 +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
768210296c compile error on FreeBSD 2017-03-25 23:34:54 +08:00
zhengshuxin
57f8afc403 modify acl Makefiles to renaming lib names. 2017-03-25 23:05:44 +08:00
zhengshuxin
d2128e6f70 add iconv app for files charset convert. 2017-03-13 22:57:46 +08:00
zhengshuxin
e2ec8096f5 delete unused cmake files. 2017-03-12 16:25:36 +08:00
zhengshuxin
782adab2a2 compiling option of __FreeBSD__ can be auto added. 2017-03-12 16:16:13 +08:00
zhengshuxin
3cd0864746 supporting ios and can be compiled by xcode. 2017-03-12 14:49:48 +08:00
zhengshuxin
e5f7aa1b54 compile acl on MSYS. 2017-02-21 22:35:31 +08:00
zhengshuxin
193ac62bf2 Chinese comment charset was corrupted by Android studio, now fixed it. 2017-02-15 15:57:34 +08:00
zhengshuxin
09e4b0d381 migrate to Android platform OK! 2017-02-12 21:39:38 +08:00
zhengshuxin
5e1bd3c5d9 migrating acl to android;
modify fiber id to unsigned int.
2017-01-23 16:59:58 +08:00
zhengshuxin
e2bb0ad167 support cmake. 2017-01-18 08:51:28 +08:00
zhengshuxin
c9db9bc30a delete unused files. 2017-01-03 10:28:26 +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
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
4bc27a685f remove pread64/pwrite64. 2016-11-08 10:09:06 +08:00
zhengshuxin
3bf64fa72d fixed bugs in db pool for setting charset. 2016-11-03 11:19:11 +08:00
zhengshuxin
6265718c20 acl 3.2.2 released! 2016-11-01 20:53:39 +08:00
zhengshuxin
c98290445b add fiber test examples. 2016-10-30 21:24:51 +08:00
zhengshuxin
dd0bcc2c07 pread64/pwrite64 can be used by gcc3.x.x 2016-10-28 15:22:34 +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
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
52a8209d6d acl.3.2.0 released! 2016-08-27 20:01:26 +08:00
zhengshuxin
11e451f5ba acl 3.2.0 released! 2016-08-27 18:34:02 +08:00
zhengshuxin
6897e3dc54 fixed bugs in json module. 2016-08-23 13:20:33 +08:00
ubuntu14
8c3a44218a fixed some compiling warning. 2016-08-19 22:31:05 +08:00
ubuntu14
b911542df8 improvement event's performance 2016-08-15 16:10:18 +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
841f92d0a2 improve the fiber's performance 2016-07-22 16:54:38 +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
5cf6d7ba0f make lib_fiber more available! 2016-06-30 22:20:30 +08:00
ubuntu14
2e5724cbeb add acl_mbox.c for thread communication 2016-06-26 12:17:17 +08:00
ubuntu14
2d14abfec4 rename fiber_schedule.c to fiber.c 2016-06-25 16:05:48 +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
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
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
69d2ee1118 compile acl on vc2015 successfully 2016-04-30 11:49:41 +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
e5b5cc58d8 prepare for acl3.1.5 2016-04-14 23:39:09 +08:00
ubuntu14
a6f78cc0b0 add quote split string 2016-04-14 22:39:11 +08:00
ubuntu14
1e72b67c38 prepare for acl 3.1.5 2016-04-12 21:04:47 +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
e9196dbba1 acl 3.1.4.4 release, fixed some urgent bugs 2016-01-17 17:11:53 +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
835e3a215f fixed some urgent bugx 2015-12-21 20:47:44 +08:00
ubuntu14
3c43a91235 fixed bugs in IO proccess of master_sig.c/master_status.c 2015-12-21 17:25:02 +08:00
ubuntu14
0dc19ab4f2 fixed one compiling error for windows 2015-12-21 14:18:16 +08:00
ubuntu14
16c10a88a6 timeout from int32 to int64 2015-12-21 13:46:44 +08:00
ubuntu14
1fff44057a fixed bugs in events and master_sig.c 2015-12-21 13:25:30 +08:00
ubuntu14
d2ff5d2565 acl3.1.4 release 2015-12-20 01:48:33 -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
fb2eff61f8 prepare for release acl3.1.4 2015-12-18 20:08:14 -08:00
ubuntu14
fe60dbf219 fixed bugs in events 2015-12-18 16:36:24 +08:00
ubuntu14
1dce4a51b5 disable SPIN LOCK on linux default 2015-12-14 06:42:30 -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
7056fb952d delete dummy files 2015-11-27 07:11:18 -08:00
ubuntu14
a816bc5762 fixed bugs in dbuf and add a new xml parser 2015-11-27 07:07:43 -08:00
ubuntu14
c9acc2e321 remove old xml samples 2015-11-27 07:05:56 -08:00
ubuntu14
e37d58557b complete dbuf module and using it in many other modules 2015-11-20 07:29:10 -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
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
75cb070932 acl 3.1.3 version release! 2015-08-26 06:05:52 -07:00
ubuntu14
2fb84c4056 optimize some codes 2015-08-26 05:45:40 -07:00
ubuntu14
bc119e8199 modify db module 2015-08-22 03:05:46 -07:00
ubuntu14
772ff217e9 changed the file's format to DOS format 2015-08-15 19:45:01 -07:00
ubuntu14
588f89d583 fixed some error on MACOS 2015-08-14 06:18:00 -07:00
ubuntu14
7c6afc95dd add some methods to http and log module 2015-08-13 06:38:59 -07:00
zsx
d8a4f017c9 fixed compiling error in linux32 2015-08-10 15:10:44 +08: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
zsxxsz
33de35bfff improvement dbuf pool's performance; add dbuf_pool sample 2015-07-22 00:41:11 +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
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
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
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
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
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
ab5ec2e6e4 acl 3.1.2 version released 2015-05-09 08:38:33 -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
zsxxsz
fb5ccddc4e acl 3.1.1 version release 2015-03-29 20:32:07 +08:00
zsx
c28744324c Ôö¼ÓÁË redis ¿ͻ§¶ËеÄÀ࣬¸ÃÀà¼̳ÐÁËÆäËüËùÓеÄ redis ¿ͻ§¶ËÀà 2015-03-27 17:05:12 +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
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
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
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
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
4323441df7 bugfix for acl_dbuf_pool.c of lib_acl lib 2015-01-26 09:11:04 -08:00
ubuntu14
d7b3d92ca8 complate redis_zset, redis_script; add redis_pubsub sample 2015-01-21 07:39:02 -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
zsx
5551c5dfae delete old zdb_test 2015-01-05 17:23:14 +08:00
zsxxsz
9a7e7b07dd 整理工程,优化代码,添加阿里云 OSS 客户端接口 2015-01-04 22:51:01 +08:00
zsxxsz
9077ac9790 整理目录 2014-12-14 18:29:34 +08:00
zsxxsz
f0249e0ca1 完善TCP连接派发器,从而更便于集群管理;其它功能模块的完善 2014-12-14 18:26:52 +08:00
zsxxsz
d8fd96aee8 整理工程,优化代码 2014-12-07 23:48:11 +08:00