Commit Graph

623 Commits

Author SHA1 Message Date
zhengshuxin
b509abbb5d optimize memory debug module 2021-01-18 17:14:30 +08:00
zhengshuxin
b16ca343dc don't use mutex when sendback result in redis_pipeline 2021-01-10 13:51:49 +08:00
shuxin   zheng
b6f292085c add redis_client_pipeline in all redis commands 2021-01-09 23:16:15 +08:00
shuxin   zheng
21c454a00a add pipeline using mode in redis readme 2021-01-09 15:48:23 +08:00
shuxin   zheng
f4c6ef3dc4 test redis_pipeline 2021-01-09 14:08:40 +08:00
shuxin   zheng
4286778f1b test redis_pipeline 2021-01-09 10:33:51 +08:00
shuxin   zheng
f746ee9b6d acl redis_pipeline module is ok 2021-01-08 14:35:25 +08:00
shuxin   zheng
ab2d78efaf optimize redis_pipeline 2021-01-07 16:35:12 +08:00
shuxin   zheng
fdec329160 add retrying in redis_pipeline 2021-01-07 11:20:12 +08:00
shuxin   zheng
333d814497 test redis_pipeline 2021-01-06 18:17:20 +08:00
shuxin   zheng
66942cf5ce optimize and test redis_pipeline 2021-01-06 14:35:12 +08:00
zhengshuxin
d811990ade optimize redis_pipeline 2021-01-06 10:07:31 +08:00
shuxin   zheng
96cab01c5a test redis_pipeline 2021-01-05 19:27:01 +08:00
shuxin   zheng
2d0ab95d7c test redis_pipeline 2021-01-05 19:06:51 +08:00
shuxin   zheng
0d24492db2 optimize redis_pipeline 2021-01-05 17:48:39 +08:00
zhengshuxin
ebc4adb376 optimize and test redis_pipeline module 2021-01-05 15:42:25 +08:00
shuxin   zheng
a7d14d6744 optimize redis_pipeline 2021-01-05 10:02:53 +08:00
zhengshuxin
52181516f3 test redis_pipeline mode 2021-01-03 23:00:24 +08:00
shuxin   zheng
cd195d3b41 redis_pipeline support redirect 2021-01-03 22:33:50 +08:00
zhengshuxin
6554585b29 optimize redis_pipeline 2021-01-02 20:48:36 +08:00
shuxin   zheng
91a9d26c69 add passwd in redis_pipeline 2021-01-02 20:28:13 +08:00
shuxin   zheng
a0b16f8585 optimize redis_pipeline 2021-01-02 20:15:26 +08:00
zhengshuxin
7ffc5e9f92 optimize redis_pipeline 2021-01-01 20:35:07 +08:00
shuxin   zheng
e87e44b119 add more API for db_sqlite module by Vhdsih 2020-12-17 09:06:54 +08:00
zhangdongchang
7025fa35f4 Add some native sqlite3 apis for binary data support 2020-12-16 12:06:27 +08:00
shuxin   zheng
e4190ca781 add stl allocator using dbuf_pool for improving the performance 2020-11-18 15:24:26 +08:00
shuxin   zheng
e98ddf4abb add rfc1035 c++ module 2020-11-18 10:11:11 +08:00
shuxin   zheng
9addce4c01 optimize json module's performance. 2020-11-06 18:35:57 +08:00
zhengshuxin
7b60172514 optimize json module's performance by using dbuf_pool 2020-11-06 15:50:16 +08:00
shuxin   zheng
bcdd1ff51a optimize json module's performance by using dbuf as the memory allocator. 2020-11-06 14:30:00 +08:00
shuxin   zheng
5a4ae5b475 don't use _WINDLL for win32/win64 platform 2020-11-05 16:05:47 +08:00
shuxin   zheng
33e27867fc don't fatal when load zlib dynamic lib error 2020-11-05 15:14:57 +08:00
zhengshuxin
b2d07d0b75 release 3.5.1-10 version 2020-10-28 16:27:31 +08:00
unknown
206de9bb25 use 64bits first for ssize_t on windows platform. 2020-09-22 21:39:41 +08:00
unknown
9e68b56c10 fixed bug for defining ssize_t on windows x64 platform. 2020-09-22 21:17:58 +08:00
unknown
49f0ad6c1f chang old vc project 2020-09-16 16:26:00 +08:00
shuxin   zheng
37af0e1d78 merge mbedtls_conf 2020-09-07 21:24:39 +08:00
moehuster
a0143fb2fe bugfix: mbedtls do NOT manage cert/key pair's memory 2020-09-07 20:04:16 +08:00
moehuster
5d88ea55a9 feature: mbedtls add multi server cert support 2020-09-06 21:49:02 +08:00
shuxin   zheng
24124b87e7 format code, replace "\n" with "\r\n" for all source files. 2020-08-21 14:55:03 +08:00
shuxin   zheng
e8445eb07e fixed bug for redis command "ROLE" in redis_role.cpp 2020-08-17 23:36:20 +08:00
shuxin   zheng
2a86707bf2 fixed one bug in redis module that all the redis servers' addrs should be set after the module was rewrote. 2020-08-17 11:53:11 +08:00
shuxin   zheng
cb94da34ce format code 2020-08-17 09:52:17 +08:00
shuxin   zheng
a43a6af5ac add get_limit() in thread_pool to get the threads count limit in the threads pool. 2020-07-23 10:39:39 +08:00
zhengshuxin
22264b9ade testing redis pipeline 2020-07-21 00:00:09 +08:00
zhengshuxin
8995284180 test redis pipeline 2020-07-20 22:41:40 +08:00
shuxin   zheng
d24c5c82e1 testing redis pipeline mode 2020-07-20 17:27:32 +08:00
shuxin   zheng
4f2dd3649f rewrite redis_client_cluster/redis_command classes. 2020-07-20 11:21:47 +08:00
zhengshuxin
4296c6a536 add more methos in redis_hash 2020-07-16 10:43:00 +08:00
shuxin   zheng
5a75632cca fixed compiling warning for invalid comments 2020-07-03 15:09:45 +08:00
shuxin   zheng
6e694b7080 support ssl SNI 2020-07-01 17:05:41 +08:00
shuxin   zheng
a409da3010 add SNI support in mbedtls module 2020-07-01 16:45:26 +08:00
shuxin   zheng
41ef6fef8f use remote_addr@local_addr replacing the old format: local_addr@remote_addr 2020-06-27 14:01:13 +08:00
shuxin   zheng
dee4ebeaea http module can response json&xml data 2020-06-26 15:21:13 +08:00
shuxin   zheng
ccce38b52d test demo 2020-06-26 10:33:10 +08:00
shuxin   zheng
a6d6da5e29 disable mem debug default 2020-06-13 10:55:25 +08:00
shuxin   zheng
ff74ac0377 optimize mem checker module 2020-06-13 10:54:34 +08:00
zhengshuxin
f505f526b8 build ok by gcc10 2020-06-12 15:37:11 +08:00
shuxin   zheng
7f13a285c6 optimize memory debug process 2020-06-12 15:14:26 +08:00
shuxin   zheng
c14108e3a3 add memory leaking debug module: see lib_acl_cpp/include/acl_cpp/stdlib/malloc.hpp. 2020-06-12 14:21:41 +08:00
shuxin   zheng
175d852ea5 add more options for zadd in redis_zset 2020-06-07 21:47:59 +08:00
zhengshuxin
b5173f228f add HVALS command in redis_hash 2020-05-22 13:37:49 +08:00
shuxin   zheng
ba26b15032 export bmp_ in bitmap 2020-05-19 18:20:48 +08:00
shuxin   zheng
53d97b221c add some methos in redis_key class 2020-05-19 12:47:50 +08:00
shuxin   zheng
15e48b11b6 expand the bitmap's function 2020-05-19 12:03:24 +08:00
shuxin   zheng
8130e91886 format code style 2020-05-09 23:31:44 +08:00
wii
2868c572ed Redis String cmd:"SET key value [EX seconds] [PX milliseconds] [NX|XX]"支持 2020-05-09 16:22:51 +08:00
shuxin   zheng
3d7737628f fixed compiling warning by xcode 2020-05-07 10:55:14 +08:00
shuxin   zheng
880f7e75f8 format code 2020-04-15 08:54:46 +08:00
shuxin   zheng
5fb7805729 Merge branch 'upstream-master' 2020-03-14 20:55:54 +08:00
shuxin   zheng
d87b1c4e64 add test sample http_request_manager for testing fiber and connect_manager. 2020-03-14 20:52:16 +08:00
shuxin   zheng
66112452f3 decrease libs' size by skipping __FILE__ in logger macro. 2020-02-25 16:08:20 +08:00
shuxin   zheng
6a13e7c3a2 make ssl module more easy 2020-01-12 19:41:29 +08:00
郑树新
910a313ae2 load mbedtls in one or threee libs 2020-01-07 18:33:44 +08:00
shuxin   zheng
a0a8a0ef4c compiling mbedtls for vc 2020-01-07 09:18:57 +08:00
shuxin   zheng
4a7dce51ba acl::mbedtls_conf can load three mbedtls dynamic libs 2020-01-06 15:29:03 +08:00
shuxin   zheng
59955b5b23 test acl using mbedtls ok! 2020-01-02 23:29:06 +08:00
郑树新
b2ec46671a build for windows ok 2019-12-20 15:30:02 +08:00
shuxin   zheng
be1ff25ee1 test mbedtls 2019-12-20 15:08:36 +08:00
shuxin   zheng
d8518893b2 use sslbase_conf/sslbase_io other than polarssl_conf/polarssl_io 2019-12-18 11:40:41 +08:00
shuxin   zheng
7c86d76c33 add sslbase_io/sslbase_conf for compatiable with more ssl libs. 2019-12-18 11:22:54 +08:00
shuxin   zheng
c6c9eaa47e add mbedtls into vc projects 2019-12-17 18:30:49 +08:00
shuxin   zheng
6135813d6c add reactor mode for aio_listen_stream 2019-12-12 15:29:58 +08:00
shuxin   zheng
49ef1a29a8 add comments 2019-12-12 10:57:29 +08:00
shuxin   zheng
a102fba468 fixed bug in frame_header for init 2019-12-10 13:31:07 +08:00
shuxin   zheng
a0d17357ec add more function for aio_listen_stream class 2019-12-03 14:45:11 +08:00
shuxin   zheng
fba11d437e fixed comments error 2019-11-09 22:39:43 +08:00
zhengshuxin
5f415f1302 add ssl enable/disable switch for http_aclient 2019-10-18 10:03:52 +08:00
zhengshuxin
76ba04380d add ssl enable/disable switch for http_aclient 2019-10-18 10:02:22 +08:00
zhengshuxin
1e99026a6e rename randmkey to randomkey in redis_key 2019-09-20 18:40:16 +08:00
zhengshuxin
4ac0748114 set_frame_masking_key() should be called in http_aclient::ws_handshake() in client mode. 2019-09-17 16:51:43 +08:00
郑树新
8cd92eadf8 fixed one compiling error by vc 2019-09-17 11:29:06 +08:00
shuxin   zheng
a8230ddd7c add waiting timeout for redis_pubsub::get_message() 2019-09-16 22:30:40 +08:00
shuxin   zheng
023cd46ed2 fixed bugs in get_peer()/get_local() in aio_stream class 2019-09-16 21:55:14 +08:00
shuxin   zheng
d1fb7e888a fixed parameters comments warning in headers found by xcode 2019-09-13 19:47:23 +08:00
zhengshuxin
a87c8d046c support 302, 301 redirect in http module 2019-08-28 11:18:18 +08:00
zhengshuxin
f552c6aef8 decrease http_aclient's size 2019-08-21 17:54:35 +08:00
郑树新
8f4fd32fc0 add on_ns_failed() callback for http_aclient when nslookup failed. 2019-08-21 17:42:07 +08:00
zhengshuxin
56f66e2688 optimize class variables to decrease the size of class object. 2019-08-20 17:17:37 +08:00
zsxxsz
46b4bcd63c add some functions for DNS operations 2019-08-13 21:55:34 +08:00
zhengshuxin
a53b9d36ff dns resolving and aio connect are ok when using multiple DNS server. 2019-08-13 18:29:40 +08:00
zhengshuxin
03896a6a12 websocket key for server side 2019-08-09 22:36:54 +08:00
zhengshuxin
7bcb88ae3c optimize websocket handshake. 2019-08-09 22:22:55 +08:00
zhengshuxin
a347debcfa ws key 2019-08-09 19:02:38 +08:00
zhengshuxin
a43648f379 ws_key created 2019-08-09 18:50:10 +08:00
zhengshuxin
6eba8bbafd ws key should be base64 encoded in http_header::set_ws_key() 2019-08-09 18:05:51 +08:00
zhengshuxin
7ded499111 url_coder supports value is NULL or empty 2019-08-08 16:13:05 +08:00
郑树新
d9e2cf574a add get_status() method in http_header.hpp for getting the http response
status from http server
2019-08-07 17:16:14 +08:00
郑树新
272727f104 add ACL_CPP_API on acl::atomic 2019-08-01 16:27:02 +08:00
郑树新
a1ec482d94 use acl::atomic_long in DLL on windows 2019-08-01 16:19:51 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00
zhengshuxin
498e0537dd add new features in fstream/ofstream/ifstream 2019-07-24 16:12:58 +08:00
zhengshuxin
23f97bdd4f HttpServletRequest won't discard body_parse_ and will read request body when user calls getJson/getXml. 2019-07-20 16:14:09 +08:00
zhengshuxin
92ad11180a polarssl_io can be deleted when reference is zero. 2019-07-12 11:05:17 +08:00
zhengshuxin
8280209e71 add acl_vstream_read_peek3 2019-07-08 22:08:26 +08:00
zhengshuxin
c5fbe9ede4 format c++ code style. 2019-07-07 13:27:58 +08:00
zhengshuxin
87c1bc8028 format c++ code style. 2019-07-07 11:00:12 +08:00
zhengshuxin
190be40459 optimize HTTP module for supporting HTTP/1.1 2019-07-04 16:32:57 +08:00
郑树新
cff0958e2c
Merge branch 'master' into master 2019-06-26 22:52:56 +08:00
zhengshuxin
1fb167d560 remove some useless comments 2019-06-24 11:58:19 +08:00
zhengshuxin
996574d860 add more comments for http_client 2019-06-23 20:56:49 +08:00
zhengshuxin
f0bcc98a1e acl::string supports concatenating multiple string or object of POD type. 2019-06-20 17:54:22 +08:00
meihouhao2017
0261775380 support PATCH method of http. 2019-06-18 11:00:58 +08:00
zhengshuxin
ab407a51dc http_header supports getting/setting cookies for request and response. 2019-06-12 23:25:35 +08:00
zhengshuxin
55e29c55b3 aio_istream/aio_ostream can be created with socket fd. 2019-06-11 23:16:03 +08:00
zhengshuxin
fae5f0aee6 format c++ code style. 2019-06-10 16:34:23 +08:00
zhengshuxin
8ab1c2fb6a http_aclient supports unzipping compressed data from server's response. 2019-06-10 16:08:21 +08:00
zhengshuxin
7ae938030e test websocket samples 2019-06-10 13:00:25 +08:00
zhengshuxin
16f37938b0 add websocket supporting in http_aclient 2019-06-09 22:46:07 +08:00
zhengshuxin
132322015f SSL communication has been supported in redis client module. 2019-06-08 14:06:22 +08:00
zhengshuxin
1958bb4229 optimize http_aclient and websocket 2019-06-06 23:43:04 +08:00
zhengshuxin
624f828575 optimize http_aclient 2019-06-06 13:46:23 +08:00
zhengshuxin
88b60dfa8a http_aclient ok! 2019-06-05 17:48:52 +08:00
zhengshuxin
7d85364bc6 add http_aclient for getting http response from webserver in aio mode. 2019-06-05 17:36:47 +08:00
zhengshuxin
288986fdac optimize http module for http request 2019-06-04 14:51:21 +08:00
zhengshuxin
7a22252ab2 remove noncopyable from dbuf_guard/dbuf_pool 2019-05-31 18:34:28 +08:00
郑树新
b20b7bacb7 db module support getting length of field value 2019-05-27 12:11:30 +08:00
zhengshuxin
b1b7d08a0c compiling optimization to get smaller library's size 2019-05-19 16:54:20 +08:00
zsxxsz
53583d8a9d add compiling macro option ACL_CLIENT_ONLY to decrease the library's size for
client software.
2019-05-18 21:19:21 +08:00
zhengshuxin
0c89422256 redis_stream.cpp: optimize READGROUP/XREAD commands. 2019-05-14 11:28:55 +08:00
郑树新
9b4d238793 compiling ok on vc 2019-05-09 14:30:45 +08:00
zhengshuxin
8b77b0456a safety & feature: add nocopyable limit for many class to avoid potential problem 2019-05-09 13:57:51 +08:00
zhengshuxin
d62bb45cd6 tcp_keeper: fixed one bug in keeper_conn.cpp;
server_socket: remove one constructur method;
2019-04-28 16:17:17 +08:00
zsxxsz
ede94861d2 add zpopmin/zpopmax/bzpopmin/bzpopmax in redis_redis 2019-04-27 21:23:12 +08:00
zhengshuxin
b41612415c add comments 2019-03-28 11:18:10 +08:00
郑树新
75382fd8fd Merge branch 'master' into 'master'
Compatible with application/json and application/xml in http

See merge request !4
2019-03-14 16:17:39 +08:00
zsx
0dfd2d45c7 add tbox_array.hpp and tbox sample. 2019-03-13 10:28:51 +08:00
liqiang01
603ff28580 Compatible with application/json and application/xml in http 2019-03-06 20:13:13 +08:00
zsx
4934df5291 scan_dir::rmdir_callback: rmdir the empty directory as default 2019-02-02 14:18:17 +08:00