zsx
|
c6743aaa7f
|
acl_scan_dir.c: the current dir's attribute can be got in scanning process
|
2019-02-13 11:22:31 +08:00 |
|
郑树新
|
9135e09db7
|
fixed compiling error for vc
|
2019-02-12 13:38:57 +08:00 |
|
zsx
|
8d90bd12e8
|
scan_dir::rmdir_callback: rm empty directory as default
|
2019-02-02 14:24:14 +08:00 |
|
zsx
|
4934df5291
|
scan_dir::rmdir_callback: rmdir the empty directory as default
|
2019-02-02 14:18:17 +08:00 |
|
zsx
|
74369b46dc
|
scan_dir: empty directory can be removed when scanning directories
|
2019-02-01 18:47:19 +08:00 |
|
zsx
|
22ab5bc69d
|
add sample for scan&remove empty directory
|
2019-02-01 18:45:37 +08:00 |
|
zsx
|
3b4b19a542
|
fixed bugs in scan_dir module
|
2019-02-01 13:49:27 +08:00 |
|
zsx
|
64d1c2458b
|
thread::start: add sync start thread way
|
2019-01-30 16:43:02 +08:00 |
|
zsx
|
5acbcf50cc
|
connect_manager::check_idle: fixed one bug when pools_size is 0
|
2019-01-21 13:19:49 +08:00 |
|
zsx
|
db2d293a3e
|
tcp_keeper is ok!
|
2019-01-15 11:57:19 +08:00 |
|
zsx
|
7b4033f749
|
http_request::check_range should compatible the situation when the returned range value is less than the given value.
|
2019-01-14 14:43:29 +08:00 |
|
zhengshuxin
|
2081b206c2
|
set free_obj's default value to true
|
2019-01-02 11:25:17 +08:00 |
|
zsx
|
5bb7daf807
|
tcp_keeper: add ttl controling for connection and connections pools;
http_request/http_client add controling parameters
|
2018-12-29 15:42:03 +08:00 |
|
zsx
|
6d3b542e4f
|
move connect_pool::reset_statistics's implement to source code from header
|
2018-12-28 13:52:30 +08:00 |
|
zsx
|
0004373bcd
|
fixed bugs of acl_fiber_cond_timedwait in acl_fiber_cond.c
|
2018-12-25 11:32:42 +08:00 |
|
zsx
|
c89341b77b
|
optimize connect_pool
|
2018-12-19 13:31:46 +08:00 |
|
zsx
|
bd6375fe2a
|
connect_manager: support fiber running in threads
|
2018-12-16 16:47:51 +08:00 |
|
zsxxsz
|
d9bdd8aac6
|
restructure connect_manager for supporting fiber
|
2018-12-16 14:12:50 +08:00 |
|
zsxxsz
|
80461d5c51
|
optimize connect_manager
|
2018-12-15 23:32:41 +08:00 |
|
郑树新
|
c97297b00c
|
connect manager
|
2018-12-14 20:25:10 +08:00 |
|
郑树新
|
fdf69ce9a4
|
connect_manager improvment
|
2018-12-14 20:19:19 +08:00 |
|
郑树新
|
fcd083d307
|
build on Windows ok
|
2018-12-14 16:34:28 +08:00 |
|
zsx
|
e82b63b025
|
format code style
|
2018-12-12 11:16:12 +08:00 |
|
zsx
|
98f9efeae3
|
fixed one bug in redis_stream::get_one_message()
|
2018-12-12 10:49:19 +08:00 |
|
zsx
|
e8028180cf
|
expand redis_stream::xadd with subcommand MAXLEN
|
2018-12-11 15:29:35 +08:00 |
|
zsx
|
be9863f203
|
add comments for redis_stream module.
|
2018-12-11 14:06:53 +08:00 |
|
郑树新
|
ca7d64f263
|
vc2013 project for libfiber
|
2018-12-07 11:08:19 +08:00 |
|
zsx
|
b3540ab5df
|
sample
|
2018-12-06 17:04:08 +08:00 |
|
zsx
|
87ba2d6bbe
|
WebSocketServlet sample
|
2018-12-06 16:29:54 +08:00 |
|
zsx
|
66a560e37f
|
fixed bugs in client_wakeup of acl_threads_server.c;
acl::fiber_tbox and acl::fiber_cond are ok.
|
2018-12-06 15:50:13 +08:00 |
|
zsx
|
45dc0ee481
|
fixed one bug for websocket module
|
2018-12-02 21:28:03 +08:00 |
|
zhengshuxin
|
b83df7ba49
|
add README.md
|
2018-12-02 21:05:46 +08:00 |
|
zhengshuxin
|
ff5bc053b9
|
redis_stream benchmark testing
|
2018-12-02 20:15:27 +08:00 |
|
zhengshuxin
|
7fbcd4d56b
|
testing acl::redis_stream ok!
|
2018-12-02 14:58:41 +08:00 |
|
zhengshuxin
|
82f6c8cbee
|
testging redis_stream
|
2018-12-01 18:58:04 +08:00 |
|
zsx
|
33535e8b6f
|
add task_qlen and threads_pool in master_threads
|
2018-11-28 20:50:31 +08:00 |
|
zhengshuxin
|
fafce8ce67
|
testing acl::redis_stream
|
2018-11-25 23:16:25 +08:00 |
|
zhengshuxin
|
f7af753d9e
|
add one flag when creating fiber_event
|
2018-11-24 11:49:18 +08:00 |
|
zsx
|
7a934e149c
|
One bug in sha1 was fixed by dawei.lin@net263.com.
|
2018-11-22 22:18:25 +08:00 |
|
zsx
|
7683a7bc2e
|
add redis_stream into IDE projects for vc and xcode.
|
2018-11-16 13:28:55 +08:00 |
|
zsx
|
5641fc8e3f
|
fixed one compiling problem of scan_dir sample
|
2018-11-16 11:20:06 +08:00 |
|
zhengshuxin
|
29b6fa01b5
|
check add json demo ok!
|
2018-11-15 23:05:00 +08:00 |
|
zhengshuxin
|
26cd06ba65
|
add supporting for XCLAIM redis command.
|
2018-11-14 23:24:32 +08:00 |
|
zsx
|
c4cafbebc1
|
adding redis stream ...
|
2018-11-14 19:00:58 +08:00 |
|
zhengshuxin
|
72a71f878d
|
adding xpending ...
|
2018-11-11 23:04:33 +08:00 |
|
zhengshuxin
|
062bffaf0d
|
add xlen, xack for redis_stream
|
2018-11-11 22:01:19 +08:00 |
|
zhengshuxin
|
8c0b4e79d3
|
add redis_stream::xinfo command
|
2018-11-11 21:59:52 +08:00 |
|
zhengshuxin
|
ac361045fd
|
adding xinfo in redis_stream.
|
2018-11-11 09:14:23 +08:00 |
|
zhengshuxin
|
a4040edd93
|
redis_stream: add more commands including "XTRIM, XDEL, XRANGE, XREVRANGE, XLEN, XACK"
|
2018-11-08 23:09:14 +08:00 |
|
zhengshuxin
|
5abbaa1a8b
|
redis_stream: implement XREADGROUP command.
|
2018-11-07 23:20:44 +08:00 |
|
zhengshuxin
|
c201fd13af
|
supporting redis-stream ...
|
2018-11-06 00:03:52 +08:00 |
|
zhengshuxin
|
d453e86828
|
websocket::send_frame_data can be called multiple.
|
2018-10-20 22:43:08 +08:00 |
|
zhengshuxin
|
7b343621e0
|
after the connection with redis-server is created, the dbnum can be selected in acl::redis_client, acl::redis_client_pool.
|
2018-10-20 22:20:57 +08:00 |
|
zhengshuxin
|
1ec33ddd2b
|
format code style
|
2018-10-20 20:36:08 +08:00 |
|
zhengshuxin
|
f4ed8742fb
|
fixed bugs in websocket::read_frame_data and WebSocketServlet.cpp.
|
2018-10-20 00:30:02 +08:00 |
|
zsx
|
c949a3be7a
|
add proc_on_unbind in master_udp
|
2018-10-08 16:32:44 +08:00 |
|
zhengshuxin
|
e00cd9391d
|
add multiple constructor for server_socket to avoid compling error for some using cases.
|
2018-10-08 14:00:58 +08:00 |
|
zhengshuxin
|
b46fea21d4
|
add end_with in acl::string
|
2018-10-07 21:35:46 +08:00 |
|
zsx
|
3217e70bb5
|
use acl_socket_alive as the new method for checking the socket's aliving status.
|
2018-09-29 11:30:42 +08:00 |
|
郑树新
|
c0c1b22e69
|
add acl_socket_alive for checking if the given socket is aliving.
|
2018-09-29 11:03:35 +08:00 |
|
zsx
|
97fddf37a2
|
bugfix: acl_inet_connect_ex of acl_inet_connect.c should support domain:port format
|
2018-09-28 17:52:18 +08:00 |
|
zsxxsz
|
893facc629
|
add open flag for aio_listen_stream
|
2018-09-22 09:58:21 +08:00 |
|
zsxxsz
|
cb218497b6
|
add new flag to control if disable SO_REUSEADDR when binding the local
listening addr.
|
2018-09-22 09:40:33 +08:00 |
|
zsx
|
7847375f25
|
The acl_inet_ntop should use ':' as the seperate for IPV4, or the acl_udp_server.c will mismatch the changed IPV4 addrs;
The sstreams_ in master_udp.cpp should be protected by mutex avoiding multipule-threads change it in the same time.
|
2018-09-21 21:56:21 +08:00 |
|
郑树新
|
051af32611
|
vc project
|
2018-09-20 10:07:51 +08:00 |
|
zsx
|
4e393625c0
|
delete unused files.
|
2018-09-17 14:26:46 +08:00 |
|
zsx
|
f15c17ae29
|
build ok for Mac
|
2018-09-17 14:20:45 +08:00 |
|
zsx
|
4969d4bed9
|
using if_nametoindex in acl_inet_pton
|
2018-09-17 13:11:47 +08:00 |
|
zsx
|
f27af8b424
|
acl support IPV6 is OK now!
|
2018-09-16 21:49:58 +08:00 |
|
zsx
|
afa223c6b3
|
fixed Linux's bug in acl_inet_pton of IPV6 addrs that using getaddrinfo other than inet_pton
|
2018-09-14 23:33:23 +08:00 |
|
zsx
|
f1737e7a92
|
fixed bugs in string::begih_with
|
2018-09-08 21:33:44 +08:00 |
|
zsx
|
ac3bcf1f98
|
fixed bugs in acl::string::begin_with API
|
2018-09-08 13:58:49 +08:00 |
|
zsx
|
e9169c3489
|
compiling gson_helper ok for vc2005 by removing invalid declaration.
|
2018-09-04 17:08:20 +08:00 |
|
zsx
|
ba239b8e26
|
add db_cursor.hpp, sqlite_cursor.hpp, sqlite_cursor.cpp into xcode's project.
|
2018-09-03 20:52:45 +08:00 |
|
zsx
|
e361d22fdf
|
if values_'s size doesn't equal to names_'s size, just return one error other than abort.
|
2018-09-03 15:35:38 +08:00 |
|
zsx
|
7720fec1db
|
add log info in db_row::filed_value
|
2018-09-03 14:56:20 +08:00 |
|
zsxxsz
|
8ebffc404a
|
add sqlite_cursor for supporting the Sqlite's cursor operation.
|
2018-09-02 20:38:33 +08:00 |
|
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
|
03480089bc
|
fixed some comiling errors.
|
2018-08-19 15:55:54 +08:00 |
|
zsx
|
0a24f81948
|
add tbox, token_tree into vc projects and xcode project.
|
2018-08-19 15:45:09 +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
|
9d1c2e850b
|
bugfix: json parser gson serialization can't handle empty array object.
|
2018-08-02 23:00:22 +08:00 |
|
zsx
|
85d77fe96c
|
code style
|
2018-07-29 18:57:47 +08:00 |
|
zsx
|
0da7b9bd8a
|
fixed one bug in tbox
|
2018-07-27 16:26:27 +08:00 |
|
zsx
|
2843c3197d
|
tbox: support transfering NULL message
|
2018-07-27 13:26:07 +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
|
80449010bb
|
add tbox.hpp into vc's projects
|
2018-06-28 22:27:35 +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 |
|
郑树新
|
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 |
|
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 |
|
zsx
|
b501d19e1e
|
sqlite lib upgrade to 3.23.1 version
|
2018-05-31 17:10:27 +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 |
|
zsxxsz
|
b7bd271ca4
|
build ok by vc2010
|
2018-04-25 23:25:59 +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 |
|
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
|
4a07b261bf
|
add diff algorthm
|
2018-04-19 15:26:33 +08:00 |
|
zsx
|
485a13d722
|
add diff algorithm test sample
|
2018-04-19 15:25:03 +08:00 |
|
zsx
|
59f6365910
|
add diff_xxx into all the vc projects
|
2018-04-19 15:01:29 +08:00 |
|
zsx
|
1236fe6652
|
add diff algorithm
|
2018-04-19 14:46:43 +08:00 |
|
zhengshuxin
|
7647c210b7
|
acl build without ACL_PREPARE_COMPILE defined
|
2018-04-17 16:42:26 +08:00 |
|
zsx
|
ca9d9f16f3
|
thread_cond::wait don't save log info when waiting timeout
|
2018-04-12 21:16:52 +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
|
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 |
|
郑树新
|
534eefd4bc
|
cmake building DLLs are ok for Windows
|
2018-03-30 14:35:34 +08:00 |
|
zhengshuxin
|
b1721868d6
|
sample
|
2018-03-26 08:56:37 +08:00 |
|
zsx
|
dfbe210589
|
add redis_role class
|
2018-03-22 19:13:47 +08:00 |
|
zsx
|
5b4aa1ae4c
|
add redis_role class
|
2018-03-22 19:08:15 +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 |
|
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 |
|
SorataKasugano
|
d06cfbdb8d
|
添加host头域
这个样例不太严谨,没有正确添加host头域到header中,sina返回状态码必然是400。
set_url函数里面没有关于相对路径的host头域处理,可能是疏忽了?
|
2018-02-12 18:52:51 +08:00 |
|
郑树新
|
87b2fd1508
|
redis_client.cpp: add authing_ for authing in dead loop.
|
2018-02-05 12:04:35 +08:00 |
|
zsxxsz
|
6d9add27bd
|
bugfix in lib_acl: POLLHUP | POLLERR should not be set as input parameters.
|
2018-02-03 21:27:21 +08:00 |
|
郑树新
|
342f42c38a
|
fiber: support winsock IOCP event.
|
2018-02-01 18:40:31 +08:00 |
|
郑树新
|
fa7a71f2fb
|
fiber: add iocp event
|
2018-01-30 19:57:51 +08:00 |
|