Commit Graph

1393 Commits

Author SHA1 Message Date
shuxin   zheng
f3f0b60f81 Use cmake files. 2023-07-19 14:17:29 +08:00
zhengshuxin
f2c6b54dba Create pkv app to support redis protocol. 2023-07-19 09:54:14 +08:00
zhengshuxin
49d73b733e Build sucessfully by clang with higher version. 2023-07-06 22:20:33 +08:00
zhengshuxin
c3980105f4 Removed the '\r\n' appended in json serialize. 2023-07-03 12:35:25 +08:00
zhengshuxin
855c3cbbd8 Add json_node remove API for json object. 2023-07-03 11:18:03 +08:00
zhengshuxin
316478aea4 format code. 2023-06-20 09:56:37 +08:00
zhengshuxin
8265c1c330 Use shared_ptr to protect socket_stream accepted. 2023-06-18 00:01:20 +08:00
zhengshuxin
10c1655765 Release acl-3.6.1-3. 2023-06-06 11:21:11 +08:00
zhengshuxin
76f02f0401 Fixed bug in mbedtls_conf.cpp & openssl_conf.cpp in client mode. 2023-06-03 15:09:42 +08:00
zhengshuxin
dd8ba23dd7 pkt_id should be more 0 only in QOS1 or QOS2. 2023-05-31 10:01:06 +08:00
zhengshuxin
6fa297ae4d Optimize wizard's template for http service. 2023-05-21 22:10:02 +08:00
zhengshuxin
a4bc2bd75c test redis_pubsub 2023-05-15 13:45:41 +08:00
zhengshuxin
b11cdaa7e7 test redis_pubsub 2023-05-14 23:08:17 +08:00
zhengshuxin
aef4edb85a test redis redis_pubsub. 2023-05-14 22:59:42 +08:00
zhengshuxin
4a52f59b50 test redis_pubsub 2023-05-13 22:59:07 +08:00
zhengshuxin
2a76327350 mysql_init API isn't thread-safely, so we should lock it before calling the API. 2023-04-21 18:51:13 +08:00
shuxin   zheng
30e28278e9 Build ok for multiple platforms. 2023-04-17 16:28:35 +08:00
shuxin   zheng
467ec6d741 Fixed bugs in mqtt module 2023-04-06 18:13:35 +08:00
zhengshuxin
39c749a13d optimize the performance of redis_builder 2023-04-03 22:04:13 +08:00
zhengshuxin
f4360ba693 Redis pipeline module can be used in sharing stack mode of fiber. 2023-03-31 21:51:45 +08:00
shuxin   zheng
2573cb6656 redis pipeline mode shouldn't use stack object for sharing stack of fibers 2023-03-31 14:30:56 +08:00
zhengshuxin
49212d2210 Fixed one bug that the socket shouldn't be closed in mqtt_client.cpp when some IO errors happen. 2023-03-30 16:29:42 +08:00
zhengshuxin
66551ff234 build ok by cmake 2023-03-27 20:48:27 +08:00
zhengshuxin
2ac3eef044 Optimize htable module 2023-03-22 17:20:21 +08:00
zhengshuxin
3b4c518ab9 release 3.6.1.1 version 2023-03-21 10:47:46 +08:00
zhengshuxin
62107801c1 optimize codes. 2023-03-20 17:01:23 +08:00
shuxin   zheng
639e1af308 Optimize objects' size in acl_cpp module. 2023-03-20 11:57:14 +08:00
zhengshuxin
815ef17fb9 fixed bug in redis_transaction::unwatch() 2023-03-08 14:25:04 +08:00
zhengshuxin
257b0bcbb9 Release acl 3.6.1-0 version 2023-03-08 11:51:17 +08:00
zhengshuxin
b9564cafd2 test redis pipeline mode. 2023-02-23 11:32:38 +08:00
zhengshuxin
0e052e155e The main functions of redis_gateway is ok:) 2023-02-21 22:44:29 +08:00
zhengshuxin
118580492d Writing redis_gateway ... 2023-02-21 19:11:21 +08:00
shuxin   zheng
78c6fe1f1d Optimize redis module 2023-02-20 17:45:32 +08:00
zhengshuxin
60fe8c720b Support mbedtls-3.3.0. 2023-02-17 16:16:57 +08:00
zhengshuxin
10373e10d3 Optimize the compiling process. 2023-02-16 22:27:38 +08:00
zhengshuxin
ca4ba01f0a Support multiple certs for mbedtls module. 2023-02-16 18:25:05 +08:00
zhengshuxin
489937e444 Optimize Makefile. 2023-02-14 16:36:24 +08:00
zhengshuxin
ed00082adf Optimize openssl module 2023-02-14 16:33:35 +08:00
zhengshuxin
525da0701c Fixed bugs for double free in ~openssl_conf(). 2023-02-14 09:57:42 +08:00
zhengshuxin
47e3a01aa9 Adding support multiple certs in mbedtls_conf... 2023-02-13 19:09:17 +08:00
zhengshuxin
c6d1b80c12 Fixed one bug when free ssl ctx in mbedtls_conf::~mbedtls_conf() 2023-02-13 17:06:30 +08:00
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