Commit Graph

327 Commits

Author SHA1 Message Date
Zheng Shuxin
f5c499cc1a there is one bug in master_udp when running in multi-threads daemon mode. 2017-06-23 12:15:21 +08:00
ubuntu14
7ed6180b33 udp server support multi threads mode 2017-06-21 18:31:37 +08:00
fuwangqin
98ca58e293 fix gson_helper.hpp delete obj error 2017-06-16 12:01:46 +08:00
fuwangqin
63c500749c fix gson error 2017-06-14 22:01:06 +08:00
fuwangqin
f1ac0703ef add set support in Gson. and fix potemtial bug in gson_helper.ipp 2017-06-14 13:55:05 +08:00
ubuntu14
a2398dfd22 modify lib_acl.hpp 2017-06-02 15:48:38 +08:00
ubuntu14
8650854c43 modify lib_acl.hpp 2017-06-02 15:38:27 +08:00
zhengshuxin
78a7540a76 reorganize all the include headers. 2017-06-02 14:47:24 +08:00
fuwangqin
88317e8341 fix gson_helper.ipp gcc compile error 2017-06-01 16:02:51 +08:00
fuwangqin
d29109956c add std::set for gson_helper ,and add acl.props for vs2015 2017-06-01 15:55:48 +08:00
root
0707afa35f add WebSocketServlet by "fuwangqin" <niukey@qq.com> 2017-05-31 14:43:18 +08:00
root
d91b82abfb merge 2017-05-31 12:55:36 +08:00
root
b9440151d6 Merge branch 'master' of https://github.com/acl-dev/acl 2017-05-31 09:02:04 +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
fuwangqin
8b738d89b9 add WebsocketServlet 2017-05-20 11:39:14 +08:00
zhengshuxin
8b0c600fac fixed bugs in gson_helper.ipp for object's pointer copy 2017-05-14 00:16:42 +08:00
zhengshuxin
1a6af8a6be add unix-domain support in pgsql 2017-05-08 09:49:30 +08:00
zhengshuxin
9b12875d17 support postgresql. 2017-04-27 21:46:28 +08:00
zhengshuxin
10284115f1 add explicit in string constructor 2017-04-22 17:44:17 +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
9e7ad2af39 make fiber module more safety 2017-04-14 21:04:33 +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
57f8afc403 modify acl Makefiles to renaming lib names. 2017-03-25 23:05:44 +08:00
fuwangqin
c303a3505c add query& set_parameter(const char* name, const std::string &value) for query class 2017-03-17 09:14:56 +08:00
fuwangqin
6db8b204e8 gson add using namespace supported 2017-03-15 16:17:58 +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
5e1bd3c5d9 migrating acl to android;
modify fiber id to unsigned int.
2017-01-23 16:59:58 +08:00
fuwangqin
abe75b495a add codes 2017-01-04 16:03:08 +08:00
fuwangqin
9a73031b22 add codes 2016-12-30 18:15:45 +08:00
fuwangqin
a5feef884b add member function supoort 2016-12-30 18:12:31 +08:00
fuwangqin
bfa1c6eb07 add Gson@skip Gson@rename 2016-12-30 17:42:46 +08:00
郑树新
1e05dfb6c6 Merge pull request #52 from acl-dev/master
merge to acl
2016-12-30 17:22:20 +08:00
fuwangqin
40b29939ae fix std::map<std::string,std::string> gen gson error 2016-12-30 17:08:18 +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
19f2c0b0d2 fiber lock can be killed. 2016-12-08 13:13:30 +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
1077d2b142 fixed on bug in redis_result::argv_to_string() 2016-11-07 22:14:23 +08:00
zhengshuxin
70c467f1e8 delete unused master_threads2 class. 2016-11-04 22:05:28 +08:00
zhengshuxin
3bf64fa72d fixed bugs in db pool for setting charset. 2016-11-03 11:19:11 +08:00
zhengshuxin
ee968f72ae rename acl_init to acl_lib_init. 2016-10-27 21:25:14 +08:00
zhengshuxin
f69eb3dedb fixed one bug for charset setting in db_pool 2016-10-24 11:44:12 +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
akzi
9dec28ece4 add pointor = null,if no value exist 2016-10-17 22:32:23 +08:00
akzi
576a1f6e44 add codes for add_item processing std::string acl::string char * 2016-10-17 16:02:31 +02:00
zhengshuxin
4e25961a56 add gson into vc2003, 2008, 2010, 2012 2016-10-15 00:07:33 +08:00
zhengshuxin
568a5402e6 let gson look like a good C+= style. 2016-10-14 22:48:32 +08:00
dep
b0090e4ce1 C++ serialization module gson can support non C++11. 2016-10-14 15:11:13 +08:00
fuwangqin
e6da6177c5 remove c++11 codes 2016-10-14 11:46:09 +08:00
akzi
dfd64f144f fix gson error 2016-10-13 17:38:45 +08:00
zhengshuxin
e1d747f6c1 move gson module into serialize directory. 2016-10-12 22:00:14 +08:00
zhengshuxin
7095f8a640 fixed bugs in gson_helper.ipp. 2016-10-11 22:04:45 +08:00
akzi
39ebbd5f8d add null for nullptr 2016-10-11 18:03:26 +08:00
zhengshuxin
8fc6f990f2 add null type for json module when building json obj. 2016-10-10 23:03:05 +08:00
zhengshuxin
0a711b0049 add comment in header file. 2016-10-09 22:05:41 +08:00
akzi
0d47c22e9d add struct construct InitializeList support 2016-10-09 14:28:08 +08:00
zhengshuxin
88481f7314 modify gson_helper.ipp for build 2016-10-09 00:10:05 +08:00
zhengshuxin
fcf36bf477 add json serializing module -- gson. 2016-10-08 22:11:25 +08:00
zhengshuxin
535494a264 fixed one bug in json class; add fiber_chat for chatting application. 2016-10-07 20:01:57 +08:00
zhengshuxin
de4ad851bf add ACL_CPP_API before websocket class for building DLL by VC. 2016-09-28 16:19:39 +08:00
zhengshuxin
4d0f9aeed8 add webchat based on websocket. 2016-09-23 22:04:07 +08:00
zhengshuxin
3846cda043 add websocket in lib_acl_cpp. 2016-09-20 19:55:38 +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
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
feecae192a add comments for redis headers 2016-05-22 09:10:34 +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
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