Commit Graph

315 Commits

Author SHA1 Message Date
zsx
33a4bdbb36 acl::thread's default status been set has been changed from detachable to joinable. 2018-06-29 09:42:27 +08:00
zhengshuxin
349b3bb728 tbox was rewritten with C++ template class 2018-06-28 21:40:24 +08:00
zhengshuxin
2aa9e0748d rewrite tbox with pure C++ template class 2018-06-28 21:04:54 +08:00
zsx
89e7df6406 there is one compiling error in serialize.hpp 2018-06-25 10:32:14 +08:00
zsx
2dd199ae67 add serialize.hpp that users can use gson module more easily. 2018-06-25 10:18:09 +08:00
zsx
16f5b7f964 thread_cond: compiling error for wait overriding 2018-06-19 18:22:46 +08:00
zsx
72f3d59b79 thread_cond::wait add locked parameter for one locking condition 2018-06-15 15:27:59 +08:00
zsx
d0d856c33f check_client: just choose one from on_refused and on_timeout to report connection status 2018-06-05 14:42:35 +08:00
zsx
bd32773edc connect_monitor: change params for on_refused and on_timeout methods 2018-06-05 14:09:46 +08:00
zsx
e4061f8f82 connect_monitor: add three callback for application to handle 2018-06-04 18:11:43 +08:00
郑树新
6176ef4b37 add on_connected/on_refused/on_timeout callbacks in connect_monitor 2018-06-04 18:00:32 +08:00
zhengshuxin
4f1958d796 fixed one problem in redis_key::renamenx about the incorrect type of the returned value. 2018-05-23 22:20:22 +08:00
zsx
4221226341 add features in redis_client_cluster & connect_manager 2018-05-14 15:28:39 +08:00
zhengshuxin
3053425333 fixed on bug in redis_pubsub.cpp when subscribe multi-channels in one connection 2018-05-06 17:23:07 +08:00
zhengshuxin
dcbd9224ef fixed one important bug in redis_command.cpp, don't call clear in run() method 2018-05-04 14:45:53 +08:00
郑树新
ff440103c3 http module: unsafe uri can be corrected internal. 2018-04-27 11:44:02 +08:00
zsx
d1ffac36cd one compiling warning by clang on MacOSX 2018-04-20 16:15:32 +08:00
郑树新
e35a0b00e7 change comment charset to gb18030 2018-04-19 15:33:16 +08:00
zsx
1236fe6652 add diff algorithm 2018-04-19 14:46:43 +08:00
zsx
10cdf2dbdf add const to atomic_long::value 2018-04-08 15:49:06 +08:00
zsx
3d7e929db4 let atomic_long::atomic_long(const atomic_long&) public 2018-04-08 15:46:48 +08:00
zsx
7afcf03ced add gson_helper.ipp in lib_acl.hpp 2018-04-03 15:48:13 +08:00
zsx
dfbe210589 add redis_role class 2018-03-22 19:13:47 +08:00
zsx
a425d406b5 add redis_role class 2018-03-22 19:06:32 +08:00
zsx
308c172654 add redis_role class 2018-03-22 19:04:42 +08:00
zsx
69b8095e48 add copy overriding in atomic_long 2018-03-20 11:54:58 +08:00
zsxxsz
919aabfa9c add redis_sentinel class in redis module 2018-03-18 23:43:31 +08:00
zsx
ab6e5fb2b7 add string header in server_socket.hpp 2018-02-13 18:03:24 +08:00
郑树新
87b2fd1508 redis_client.cpp: add authing_ for authing in dead loop. 2018-02-05 12:04:35 +08:00
zsx
7329f830e9 server_socket supports SO_REUSEPORT on Linux3.x 2018-01-29 23:33:49 +08:00
zsxxsz
768d30a56c fiber for windows OS can use IO read/write with timed waiting by using select/poll;
ACL_VSTREAM's NETWORK IO read/write interface can be hooked by user's IO API.
2018-01-14 22:54:44 +08:00
郑树新
5a45a0d886 win32 message fiber event 2018-01-11 19:13:31 +08:00
zsxxsz
2abefabbc8 add last_nready in aio_handle class getting the count of events. 2018-01-09 23:45:13 +08:00
zsx
344d370715 modify redis_node class for redis.4.x.x 2018-01-01 11:05:05 +08:00
zsx
e089381026 redis_cluster: support CLUSTER NODES for redis.4.x.x 2018-01-01 10:58:43 +08:00
zsx
612bced38d http_header::add_entry: add param replace for checking if replade the old exist value 2017-12-28 17:55:46 +08:00
zsx
fa113a12e7 acl stream and servers support UNIX domain socket in UDP packet mode 2017-12-10 22:23:37 +08:00
zsx
1b164db078 ssl: polarssl_conf's init should not in constructor 2017-12-07 16:24:21 +08:00
郑树新
a00a262f8a build ok on windows 2017-11-14 12:09:33 +08:00
zhengshuxin
781b0a048a add acl::tbox class for transfering messages between multi-threads. 2017-11-14 10:52:44 +08:00
zhengshuxin
46cc12739f compiling: fixed compiling error on vc 2017-10-27 16:33:56 +08:00
zhengshuxin
82b7fd1ca6 mbox class: copy constructor is denied. 2017-10-13 09:58:34 +08:00
zhengshuxin
1050d4e45f event_mutex: add event_mutex sample in fiber mode; testing event_mutex ok in threads & fibers running modes. 2017-10-08 00:06:12 +08:00
zhengshuxin
f3835a9844 add self() into thread.hpp 2017-10-06 23:19:37 +08:00
zhengshuxin
cf735fe123 add event_mutex into lib_acl_cpp, which can support threads & fibers
mutex by using IO + atomic as mutex
2017-10-06 23:05:14 +08:00
zhengshuxin
3d71e10668 fiber: fiber_lock can trigger immediately with IO event 2017-10-01 13:54:57 +08:00
zhengshuxin
563ce8a395 feature: thread_mutex supports recursive parameter;
feature: fiber_mutex supports thread_mutex;
2017-09-29 17:35:17 +08:00
zhengshuxin
0bb8cb9c6c format c++ code style 2017-09-26 11:48:09 +08:00
zhengshuxin
c57beda5df method name in bitmap class maybe collision with some macro on some platfom 2017-09-21 16:18:15 +08:00
zhengshuxin
31fc50166c add trigger.hpp into all vc's projects;
add trigger sample for fiber trigger;
2017-09-18 22:28:52 +08:00