Commit Graph

1402 Commits

Author SHA1 Message Date
zhengshuxin
69876f60d2 Add get_libssl_handle/get_libcrypto_handle in openssl_conf class. 2023-02-13 15:47:37 +08:00
zhengshuxin
965b9837b1 tyr to use original struct type of mbedtls 2023-02-13 15:36:03 +08:00
zhengshuxin
1656fecf3c Add get_ssl_ctxes() in openssl_conf 2023-02-13 14:33:13 +08:00
zhengshuxin
540650660e Add openssl supporting in demo. 2023-02-12 14:03:00 +08:00
zhengshuxin
9ede57bf08 Optimize openssl module 2023-02-11 10:45:44 +08:00
zhengshuxin
e3f1f61fe1 Support loading multiple certificates for OpenSSL module of acl. 2023-02-10 23:57:02 +08:00
zhengshuxin
5245909f32 Optimize openssl_conf for adding multiple certs. 2023-02-09 19:02:30 +08:00
zhengshuxin
76ee710b6c Optimize memory usage in acl. 2023-01-29 17:59:40 +08:00
zhengshuxin
93a7a0513d test keys_pattern() in redis_key.cpp 2022-12-16 22:32:12 +08:00
zhengshuxin
6d58e75a5e fixed bug in redis_hash::hincrbyfloat() for the invalid size of the buf. 2022-12-05 17:30:20 +08:00
zhengshuxin
3f557c576a prepare for the new version 3.6.0 2022-12-01 20:22:33 +08:00
zhengshuxin
547b2e2295 add lost files in vs projects 2022-11-22 17:03:20 +08:00
zhengshuxin
2bca98c50e add new files into vs's projects 2022-11-21 23:14:35 +08:00
zhengshuxin
ea42500c68 optimize and test redis client pipeline mode with the new fiber_tbox with less eventfd. 2022-11-21 22:58:52 +08:00
zhengshuxin
ba76a210b8 build ok by xcode 2022-11-21 20:43:45 +08:00
zhengshuxin
8353981a96 optimize all box classes and redis_client_pipeline can create box by virtual create function. 2022-11-21 20:27:09 +08:00
zhengshuxin
38e7264e04 fixed bug in redis_string::incrbyfloat() 2022-10-30 11:35:33 -04:00
zhengshuxin
a4493adef2 Merge branch 'github-upstream' into gitee-master 2022-10-18 15:49:26 +08:00
zhengshuxin
80f42b7f3d test redis pipeline 2022-10-18 15:40:58 +08:00
zhengshuxin
bc1d33f763 add reference protection for redis_pipeline_message used by consumer and producer. 2022-10-18 15:35:27 +08:00
zhengshuxin
51201161da fixed one bug in redis_client_pipeline.hpp 2022-10-13 22:13:53 +08:00
zhengshuxin
0b1362ef19 test mysql 2022-09-27 18:02:45 +08:00
Evilolipop
272f45acc7
fix typo 2022-09-27 09:36:06 +08:00
zhengshuxin
2fb25afb3f delete unused code line 2022-09-26 17:44:35 +08:00
shuxin   zheng
b707caf53e optimize retry process in http_request.cpp 2022-09-19 16:22:33 +08:00
shuxin   zheng
cdbeeba731 Don't close connection in order to the get the reply http header in http_request.cpp. 2022-09-19 15:51:36 +08:00
shuxin   zheng
3279c71465 release 3.5.3-53 to avoid stack crash for win64 2022-09-19 11:09:17 +08:00
郑树新
d2c73a1d75 disable SDL checking for x64 on windows 2022-09-06 09:59:52 +08:00
郑树新
4533ff9c65 compile on windows 2022-09-06 09:29:33 +08:00
郑树新
d46e53a45d add lost projects for windows 2022-09-05 20:28:23 +08:00
zhengshuxin
5ff37217c9 add debug tag for http module 2022-09-05 11:10:44 +08:00
zhengshuxin
8413fc2f31 add write wait timeout for mbedtls_io 2022-09-05 10:53:17 +08:00
zhengshuxin
2c15000166 check if read error in HttpServlet.cpp 2022-09-05 10:25:10 +08:00
zhengshuxin
7c97be44a9 modify demos' IO timeout from 0 to -1 because the changing of IO timeout meaning 2022-08-31 15:05:35 +08:00
郑树新
9c2f893ea6 optimize projects on windows 2022-08-31 08:37:27 +08:00
郑树新
b37e66801c test openssl newly added in acl on windows platform 2022-08-30 23:06:24 +08:00
zhengshuxin
7911daff94 optimize openssl module 2022-08-30 11:15:55 +08:00
zhengshuxin
97028886a8 test openssl in fiber mode. 2022-08-29 18:40:15 +08:00
zhengshuxin
ae39d3ec94 optimize network IO module. 2022-08-29 17:09:02 +08:00
zhengshuxin
70391ac4b0 add SNI in acl::openssl_io 2022-08-26 17:51:41 +08:00
zhengshuxin
b30c649fa2 test openssl in fiber mode 2022-08-23 22:10:40 +08:00
shuxin   zheng
ffede9f62e compile openssl on macos 2022-08-23 18:30:50 +08:00
zhengshuxin
7ce6014972 Add the openssl-1.1.1q's headers into acl, so we can use Openssl in default mode. 2022-08-23 17:54:54 +08:00
zhengshuxin
f42003d46f disable openssl default in Makefile 2022-08-23 17:22:36 +08:00
zhengshuxin
9c39bf6dcc optimize and test ssl module 2022-08-23 10:21:33 +08:00
郑树新
026485c21e compile acl on windows ok 2022-08-22 22:32:23 +08:00
zhengshuxin
faf0a7369d optimize and test ssl module in acl 2022-08-22 22:03:38 +08:00
shuxin   zheng
99ec885f7c add openssl module into xcode project of acl 2022-08-22 17:35:11 +08:00
zhengshuxin
544597789d optimize and test ssl module for openssl 2022-08-22 17:13:39 +08:00
zhengshuxin
9fbdfc6502 optimize and test openssl used in acl ssl module 2022-08-21 22:01:51 +08:00
zhengshuxin
8e6d37f1a0 optimize ssl module 2022-08-21 17:34:05 +08:00
zhengshuxin
a1b09b743e optimize ssl module 2022-08-20 21:32:08 +08:00
zhengshuxin
5dcdc47999 begin to support openssl ... 2022-08-20 19:31:37 +08:00
zhengshuxin
6486e520f8 format code. 2022-08-19 10:28:04 +08:00
郑树新
e4bf174d5b compile rfc822.cpp ok on windows platform 2022-08-10 23:16:05 +08:00
shuxin   zheng
211b62d2ef add acl_localtime.c from redis to replace localtime_r() 2022-08-10 14:31:26 +08:00
zhengshuxin
e664f21494 build acl ok on Cygwin 2022-08-06 20:03:51 +08:00
shuxin   zheng
32b521c40b add another push_back(unsigned char, bool) in string 2022-07-26 17:30:54 +08:00
zhengshuxin
d5bac0b0b1 optimize acl_master and service templates 2022-07-26 16:08:25 +08:00
zhengshuxin
ed8a821d60 add explicit for acl::string(size_t n) 2022-07-22 09:55:12 +08:00
zhengshuxin
e1fba7dee1 remove virtual attribute from acl::string that can save 8 bytes for each acl::string object. 2022-07-21 18:46:12 +08:00
zhengshuxin
6da6a1dbd1 optimize size of the ACL_VSTRING object 2022-07-21 18:29:28 +08:00
zhengshuxin
e9fde422ac mqtt payload can be binary data. 2022-07-20 16:25:21 +08:00
zhengshuxin
0b96d55f7a optimize zlib_stream module 2022-07-19 19:06:34 +08:00
zhengshuxin
5ecf5a6eae Merge remote-tracking branch 'remotes/github-upstream/master' into gitee-master 2022-07-19 17:47:01 +08:00
shuxin   zheng
d950c44081 optimize zlib_stream 2022-07-19 10:32:03 +08:00
shuxin   zheng
59e37afaff optimize zlib_stream 2022-07-19 10:18:54 +08:00
shuxin   zheng
39453cf2c3 fixed bugs in http_client.cpp for some memory leak. 2022-07-19 09:55:49 +08:00
刘韦康
4bb3288cae Added the interface to get mqtt unsubscribe topic 2022-07-15 15:54:17 +08:00
zhengshuxin
ab0ae2777a test mqtt 2022-07-13 09:38:26 +08:00
郑树新
2830be54fa Acl can be built by cmake tools chanins 2022-07-10 20:13:15 +08:00
zhengshuxin
1898cb086a fixed one bug in redis_command::run() if request_buf_ is NULL. 2022-07-09 17:46:38 +08:00
shuxin   zheng
cd10474ee4 fixed bugs in mqtt_unsubscripbe.cpp 2022-07-07 13:37:50 +08:00
shuxin   zheng
bced2d36b8 fixed bug for getting the QOS from the flags in mqtt_header.cpp 2022-06-24 21:51:47 +08:00
zhengshuxin
280e4fdc1f test http_response 2022-06-22 11:45:05 +08:00
shuxin   zheng
12ab022a3b test and doc 2022-06-22 11:25:54 +08:00
zhengshuxin
d1b317e0a6 fixed one bug in redis_client_pipeline.cpp about handling redirect message. 2022-06-15 15:03:03 +08:00
zhengshuxin
6309cc694f build ok acl by xmake 2022-06-14 15:35:33 +08:00
shuxin   zheng
bf7a09bf2c Add one control if acl_master.log can be generated in alone mode for master service. 2022-06-12 20:32:08 +08:00
shuxin   zheng
6df3228b6f add mapping offset for string 2022-06-12 18:02:35 +08:00
zhengshuxin
171777c415 fixed one important bugs in redis pipeline mode. 2022-06-07 20:13:13 +08:00
shuxin   zheng
7d6dbb13bf add open flags transfer for socket_stream::bind_udp() 2022-06-01 20:14:37 +08:00
zhengshuxin
95d385cbbe add readable API for socket fd 2022-06-01 12:49:49 +08:00
shuxin   zheng
2669546783 optimize dns-gate 2022-05-29 17:41:21 +08:00
zsx
9f604f3dac modify readme for redis client of acl 2022-05-23 23:22:27 +08:00
zhengshuxin
6a64963645 test 2022-05-22 13:10:56 +08:00
shuxin   zheng
acaaa297cc Transfer acl::string to std::string with C++ operator 2022-05-19 17:57:55 +08:00
shuxin   zheng
641b1cc3a7 modify readme 2022-05-19 16:41:28 +08:00
shuxin   zheng
2dbba96b97 fixed one bugs in rfc1035.cpp and add one demo dns-gate for transfering DNS protocol. 2022-04-30 14:56:38 +08:00
zhengshuxin
540bfbe3d8 fixed bugs in redis migrating process 2022-04-16 13:47:03 +08:00
zhengshuxin
1a70440227 test redis module for migrating 2022-04-16 10:59:22 +08:00
zhengshuxin
d9f0c8b5da remove some compiling options for MacOS 2022-04-11 19:09:39 +08:00
hailang
5ef96d62fe Merge remote-tracking branch 'origin/master' into dev_mac_support_cross_compilation 2022-04-10 17:29:58 +08:00
hailang
3ddff50476 mac support cross compile 2022-04-10 15:43:29 +08:00
zhengshuxin
a764811066 acl redis module can be used in fiber shared stack mode. 2022-04-06 17:53:33 +08:00
zhengshuxin
67b964c8b0 optimize for shared stack for redis client lib in pipeline mode 2022-04-05 22:17:16 +08:00
zhengshuxin
da8cb4b5ed test httpd_proxy 2022-04-04 12:24:16 +08:00
zhengshuxin
58cc790373 modify comments 2022-03-16 18:15:37 +08:00
zhengshuxin
cf30060e4f add setParseBody() in HttpServletRequest class 2022-03-16 18:14:45 +08:00
zhengshuxin
47ce35ae41 fixed one bug in http_request.cpp when the addr is a unix path. 2022-03-04 21:26:13 +08:00
shuxin   zheng
f32aea02f5 readd doWebsocket() API in HttpServlet class for being compatible with old applications 2022-02-11 10:35:18 +08:00
zhengshuxin
8d7cf5cdfc build samples ok on WSL ubuntu 2022-01-28 12:28:21 +08:00
root
e29632e52e porting to ALPINE Linux 2022-01-27 18:46:55 +00:00
郑树新
de77ff891c optimize and test iocp 2022-01-26 18:08:55 +08:00
郑树新
bba59a92b9 add vc2019 project for redis_list demo 2022-01-25 21:46:19 +08:00
shuxin   zheng
039022a949 fixed compiling warning on win64 2022-01-12 11:39:57 +08:00
zhengshuxin
a883c0917d test add_double when building json 2022-01-10 22:48:46 +08:00
郑树新
cf9f39bba5 add precision for double type when building json 2022-01-10 22:41:07 +08:00
shuxin   zheng
6c0c616b6f comments 2021-12-26 10:36:07 +08:00
zhengshuxin
7f18080bed fixed one crashing bug in db_sqlite.cpp of db_sqlite.cpp when one value of results is null. 2021-12-24 23:38:37 +08:00
zhengshuxin
a27557a902 optimize aio closing process in weak network env. 2021-12-13 16:30:15 +08:00
shuxin   zheng
ce782ddc3c http_request comment 2021-12-05 13:24:15 +08:00
shuxin   zheng
3b45dd170e optimize http_request 2021-12-05 13:22:39 +08:00
zhengshuxin
e8245c4ccc acl::string can support std::unordered_xx in c++11 2021-12-05 10:04:03 +08:00
shuxin   zheng
0eb19221a0 acl::string can used in std::unordered_xxx template in c++11 2021-12-05 00:00:46 +08:00
shuxin   zheng
5baef722f9 fixed comment problems 2021-12-03 14:00:38 +08:00
zhengshuxin
1f9b877a9f root should be re-assign after json.reset() in json demo 2021-11-30 15:28:25 +08:00
shuxin   zheng
5bbd1274bb fixed one abort bug in http_aclient.cpp 2021-11-15 10:45:54 +08:00
zhengshuxin
e1d41990b4 add clear_read_ready flag in aio_istream 2021-11-12 17:35:02 +08:00
zhengshuxin
9782fab652 It maybe reasonable that the read_ready flag was cleared before the real read API called. 2021-11-12 17:24:11 +08:00
zhengshuxin
2f8f33631c add sendto() in ostream class 2021-11-11 19:24:48 +08:00
zhengshuxin
01a7af4eb1 add flags in aio_ostream::sendto() API 2021-11-11 18:28:12 +08:00
zhengshuxin
f98f33e23b optimize aio module 2021-11-11 18:09:48 +08:00
zhengshuxin
be4d110dfd listening queue length can be in aio_socket_stream::open() 2021-11-11 15:59:00 +08:00
zhengshuxin
0b76431269 rename the old function acl_getsocktype to acl_getsockfamily and add the new acl_getsocktype 2021-11-09 22:00:57 +08:00
shuxin   zheng
0123c90bff rename hook_xxx() to enable_xxx() in aio module 2021-11-09 16:14:23 +08:00
shuxin   zheng
bee971875a add udp support in aio_socket_stream class 2021-11-09 14:48:58 +08:00
zhengshuxin
df49f8c5fd add writev in aio_ostream class 2021-11-02 09:30:33 +08:00
zhengshuxin
3001daf1b5 reserve enough memory space for acl_aio_readn() 2021-11-01 11:12:56 +08:00
shuxin   zheng
5e002541ce aio_handle can be reset in aio_stream. 2021-10-31 14:39:38 +08:00
zhengshuxin
cfed77c897 optimize some macro for ACL_VSTREAM 2021-10-27 15:29:27 +08:00
zhengshuxin
8e023c745a Add new function for getting the length of the sending queue in aio module. 2021-10-26 16:48:58 +08:00
moehuster
3463e6ecd1 Feature: add linux-aarch64 support 2021-10-22 11:03:00 +08:00
郑树新
fca21901ac test iocp for fiber module 2021-10-07 23:13:21 +08:00
zhengshuxin
667c2f27f0 optimize building by ndk-build 2021-09-28 15:49:15 +08:00
郑树新
310a87f844 optimize vs projects for windows platform 2021-09-17 00:11:06 +08:00
郑树新
cde03a74d4 optimize vs projects 2021-09-16 19:27:09 +08:00
郑树新
c0719a1b2e optimize vc projects 2021-09-14 18:34:21 +08:00
shuxin   zheng
e371cba331 format code 2021-09-11 15:48:21 +08:00
zhengshuxin
f2db150306 format code 2021-08-22 23:28:21 +08:00
郑树新
9d3f6d5cfd test API hook for fiber module on Windows platform. 2021-08-22 23:15:38 +08:00
shuxin   zheng
079f1eb069 optimize set_url/build_request in http_header.cpp 2021-08-19 10:13:05 +08:00
shuxin   zheng
7b5a36771c optimize http_header::set_url() 2021-08-19 09:50:13 +08:00
shuxin   zheng
ff48a19ab1 url_part_ should be inited in http_header::init() 2021-08-18 19:20:24 +08:00
shuxin   zheng
fda93dbd5c Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2021-08-18 18:25:37 +08:00
shuxin   zheng
df24d1e227 http_header::set_url() can keep the original url 2021-08-18 18:24:55 +08:00
郑树新
2d04980910 optimizing fiber module 2021-08-18 16:07:35 +08:00
zhengshuxin
d3b08ff8fc test redis ttl 2021-08-17 11:00:51 +08:00
zhengshuxin
d7d75d119f use recursive lock when debuging memory 2021-08-13 15:57:03 +08:00
zhengshuxin
5e18c5a939 fixed bug where memory leaking happened that rnd_ should be freed in mbedtls_conf::~mbedtls_conf() 2021-08-12 13:38:17 +08:00