zsx
|
808023c5a2
|
change charset from utf-8 to gbk for some files merged.
|
2018-08-24 17:49:13 +08:00 |
|
郑树新
|
6772f92d9b
|
!1 修复在 FreeBSD 8.x 上编译的一个错误
Merge pull request !1 from lsgx/fix-freebsd8-error
|
2018-08-24 17:40:43 +08:00 |
|
zsx
|
2cd040b856
|
improvment the performance of acl::token_tree class;
add benchmark for token_tree.
|
2018-08-20 22:28:27 +08:00 |
|
zsx
|
92615556b4
|
there's some comments error in token_tree
|
2018-08-20 11:07:20 +08:00 |
|
zsx
|
eca1d07747
|
fixed one bug in token_tree's destructor
|
2018-08-20 10:31:12 +08:00 |
|
zsxxsz
|
001dd3f0eb
|
add create_delimiters_tab/free_delimiters_tab in class token_tree.
|
2018-08-19 22:36:18 +08:00 |
|
zsx
|
6f18301ac8
|
add token_tree class for 256-fork matching tree;
format the files with DOS format.
|
2018-08-19 15:31:26 +08:00 |
|
zsx
|
a90ebcf86e
|
there are some changes in the interfaces's meaning of thread_cond::wait, server_socket::accept.
|
2018-08-17 16:50:30 +08:00 |
|
zsx
|
e8fad9062a
|
fixed some compiling warning
|
2018-08-08 11:45:37 +08:00 |
|
zsx
|
76b6bd1086
|
bugfix: there's one bug in db_mysql::sane_mysql_query when one connection lost and the db handle be set NULL, we should re-connect.
|
2018-08-07 22:25:12 +08:00 |
|
zsx
|
0c7b9b420e
|
bugfix: json's serialization can't support double type with the integer type;
feature: add methods in acl::string which can use std::string.
|
2018-07-24 18:45:51 +08:00 |
|
zsx
|
581677bffc
|
There is one bug in acl::HttpServlet which session will not be freed
|
2018-07-10 21:37:25 +08:00 |
|
zsx
|
87ba0c1f80
|
add try_lock in acl::fstream
|
2018-07-05 14:14:06 +08:00 |
|
zsx
|
37b326bd44
|
add file lock method in acl::fstream
|
2018-07-05 13:56:10 +08:00 |
|
Charlie Root
|
82708780d8
|
fixed one compiling error for freebsd8 by jjx
|
2018-07-01 22:09:12 +08:00 |
|
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
|
2aa9e0748d
|
rewrite tbox with pure C++ template class
|
2018-06-28 21:04:54 +08:00 |
|
zsx
|
16f5b7f964
|
thread_cond: compiling error for wait overriding
|
2018-06-19 18:22:46 +08:00 |
|
郑树新
|
fc8cbb7eea
|
compiling warning by vc because the utf-8 charset
|
2018-06-15 15:33:37 +08:00 |
|
zsx
|
6caa04227d
|
thread_cond::wait add locked parameter for one locking condition
|
2018-06-15 15:25:09 +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
|
37766ec612
|
fixed one comiling error for connect_monitor
|
2018-06-05 14:16:55 +08:00 |
|
zsx
|
bd32773edc
|
connect_monitor: change params for on_refused and on_timeout methods
|
2018-06-05 14:09:46 +08:00 |
|
郑树新
|
6176ef4b37
|
add on_connected/on_refused/on_timeout callbacks in connect_monitor
|
2018-06-04 18:00:32 +08:00 |
|
zhengshuxin
|
8df8eb76ff
|
fixed one problem in redis_key::renamenx about the incorrect type of the returned value
|
2018-05-23 22:33:27 +08:00 |
|
zhengshuxin
|
29befff6c2
|
fixed one problem in redis_key::renamenx about the incorrect type of the returned value
|
2018-05-23 22:22:14 +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
|
57d48b9870
|
fiber module can be built by xcode;
add diff module into acl_cpp xcode project;
|
2018-04-25 11:58:53 +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
|
ca9d9f16f3
|
thread_cond::wait don't save log info when waiting timeout
|
2018-04-12 21:16:52 +08:00 |
|
zsx
|
3d7e929db4
|
let atomic_long::atomic_long(const atomic_long&) public
|
2018-04-08 15:46:48 +08:00 |
|
zsx
|
0a22cd42ef
|
acl::thread can be used for more than once --- by 562351190@qq.com
|
2018-04-08 14:35:27 +08:00 |
|
zsx
|
7afcf03ced
|
add gson_helper.ipp in lib_acl.hpp
|
2018-04-03 15:48:13 +08:00 |
|
zsx
|
5b4aa1ae4c
|
add redis_role class
|
2018-03-22 19:08:15 +08:00 |
|
zsx
|
308c172654
|
add redis_role class
|
2018-03-22 19:04:42 +08:00 |
|
zsx
|
02719d7b6b
|
fixed one bug in thread_cond::wait there was one problem when computing timeout
|
2018-03-19 10:49:45 +08:00 |
|
zsxxsz
|
919aabfa9c
|
add redis_sentinel class in redis module
|
2018-03-18 23:43:31 +08:00 |
|
zsx
|
d8ab35a1ac
|
serialize gson: should support the std::map object is optional
|
2018-02-22 11:50:24 +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 |
|
郑树新
|
342f42c38a
|
fiber: support winsock IOCP event.
|
2018-02-01 18:40:31 +08:00 |
|
zsx
|
7329f830e9
|
server_socket supports SO_REUSEPORT on Linux3.x
|
2018-01-29 23:33:49 +08:00 |
|
郑树新
|
49a92e9348
|
fiber io can also stop automaticly when no IO and no timers been set.
|
2018-01-22 18:38:50 +08:00 |
|
zsxxsz
|
521cdffe83
|
build ok for vc2003
|
2018-01-21 18:13:48 +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 |
|
郑树新
|
2baa98a8fc
|
fixed one bug in bitmap.cpp when calling reset();
adding win32 gui message event for fiber
|
2018-01-08 15:21:57 +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 |
|
zhengshuxin
|
a418cba784
|
adding fiber's implement for freebsdd
|
2016-01-14 13:01:36 +08:00 |
|
zsx
|
27009dac7b
|
changed logger_error to logger
|
2017-12-14 21:31:00 +08:00 |
|
zsx
|
e8da0142a4
|
fixed one compiling error with cmake
|
2017-12-14 18:35:18 +08:00 |
|
zsx
|
4f0e2cc8dd
|
feature: master can bind udp with unix domain path
|
2017-12-12 19:18:33 +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 |
|
zsx
|
ea896f9aed
|
redis: fixed bugs when objs were binary data
|
2017-12-05 12:01:24 +08:00 |
|
ubuntu14
|
ea4414c31e
|
polarssl_conf: fixed one bug
|
2017-12-03 15:16:43 +08:00 |
|
ubuntu14
|
42c1eb8b2d
|
polarssl_conf: fixed one bug when loading polarssl library
|
2017-12-03 14:54:47 +08:00 |
|
ruki
|
987385ea6e
|
add xmake.lua
|
2017-11-30 10:04:15 +08:00 |
|
zhengshuxin
|
781b0a048a
|
add acl::tbox class for transfering messages between multi-threads.
|
2017-11-14 10:52:44 +08:00 |
|
zhengshuxin
|
859ac18cab
|
string: fixed one bug in operator < and >
|
2017-11-07 22:58:41 +08:00 |
|
zhengshuxin
|
284a672677
|
redis: fixed one bug in redis_hash::hmset
|
2017-10-27 00:05:28 +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
|
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
|
cbab14ffb2
|
when openning one connection is blocked in peek(), this operation
will block the other threads's when calling peek(), so the open()
should be aparted from lock scope.
|
2017-10-06 17:53:02 +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
|
83724d3e8a
|
valgrind: free global objects when process exiting to avoid valgrind reporting error.
|
2017-09-28 12:29:20 +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
|
5a44b8c0dc
|
remove test codes from tcp_pool.cpp
|
2017-09-19 10:57:35 +08:00 |
|
zhengshuxin
|
785ec6dc95
|
merge tcp_pool.cpp
|
2017-09-19 10:55:33 +08:00 |
|
zhengshuxin
|
08e241acb8
|
add trigger.hpp for trigger events by time.
|
2017-09-18 18:59:59 +08:00 |
|
郑树新
|
0ddf61cd7a
|
add comments into thread_cond.hpp & thread_mutex.hpp
|
2017-09-13 18:02:30 +08:00 |
|
zhengshuxin
|
3d864ea148
|
one compiling warning on clang5.0
|
2017-09-12 18:11:58 +08:00 |
|
zhengshuxin
|
70957fad04
|
invalid date submit from FreeBSD
|
2017-09-11 13:57:59 +08:00 |
|
zhengshuxin
|
b9283ffbf5
|
build ok on FreeBSD
|
2017-07-11 17:44:14 +08:00 |
|
zhengshuxin
|
a67e6a6338
|
sighup's result status from children can be got by acl_master
|
2017-09-09 00:30:39 +08:00 |
|
zhengshuxin
|
8582d02d2e
|
remove debug line in istream.cpp
|
2017-09-03 18:05:08 +08:00 |
|
zhengshuxin
|
dd9eed4698
|
compiling acl ok on FreeBSD
|
2015-12-13 10:15:00 +08:00 |
|
zhengshuxin
|
4ade4ff521
|
add mbox_free in mbox.cpp
|
2017-09-02 10:10:17 +08:00 |
|
zsxxsz
|
4afb237dd9
|
fixed compiling error by vc
|
2017-09-02 09:42:11 +08:00 |
|
zhengshuxin
|
2af766fb6e
|
make acl::mbox generic with c++ template method.
|
2017-09-01 23:14:20 +08:00 |
|
zhengshuxin
|
5291cd0c7a
|
test only
|
2017-09-01 18:59:42 +08:00 |
|
zhengshuxin
|
3554fd6b25
|
add lost files
|
2017-08-24 09:09:05 +08:00 |
|
zhengshuxin
|
5b0cdc1fc9
|
add bitmap class for bit operation
|
2017-08-23 15:14:40 +08:00 |
|
zhengshuxin
|
b637f0bb74
|
modify c++ style of locker class
|
2017-08-22 15:28:12 +08:00 |
|
zhengshuxin
|
5723a4369f
|
add thread_cond c++ class
|
2017-08-22 15:21:07 +08:00 |
|
zhengshuxin
|
f1fa41e523
|
add thread_mutex c++ class.
|
2017-08-22 15:20:28 +08:00 |
|
zhengshuxin
|
8f58d773b4
|
add atomic operation and modify vc projects for adding atomic class.
|
2017-08-18 22:55:31 +08:00 |
|
zhengshuxin
|
d154cc292e
|
avoid some gcc compiling warning.
|
2017-08-16 10:55:14 +08:00 |
|
zhengshuxin
|
1915852bd9
|
SO_REUSEPORT can be used in master server framework by setting configure item
|
2017-08-10 11:35:52 +08:00 |
|
zhengshuxin
|
ae5ea084dd
|
add method that can get socket_stream from tcp_reader & tcp_sender.
|
2017-08-09 19:05:38 +08:00 |
|
zhengshuxin
|
dcaec58d47
|
add sample tcp_server & tcp_client in lib_fiber.
|
2017-08-09 16:04:54 +08:00 |
|
zhengshuxin
|
ffcfd87d26
|
add send method in tcp_pool class.
|
2017-08-08 23:27:37 +08:00 |
|