Commit Graph

3634 Commits

Author SHA1 Message Date
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
aed84b645f Modify readme 2023-02-11 00:14:52 +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
63b5f80298 Add some debug functions. 2023-02-05 10:25:54 +08:00
zhengshuxin
3ff6cf80fb c++ headers dependence 2023-02-04 21:00:37 +08:00
zhengshuxin
6edfd3c74d headers sequence 2023-02-04 20:49:54 +08:00
zhengshuxin
76ee710b6c Optimize memory usage in acl. 2023-01-29 17:59:40 +08:00
zhengshuxin
ae24db5f18 Add one so for hooking memory alloc. 2023-01-29 17:59:23 +08:00
zhengshuxin
0c1a9d9484 test demo 2023-01-28 15:46:32 +08:00
zhengshuxin
846358ee6f Modify fiber's readme 2023-01-26 16:15:11 +08:00
zhengshuxin
8224e8888a Add default event type in acl::fiber::schedule() 2023-01-26 16:03:16 +08:00
zhengshuxin
488ea4d473 modify readme 2023-01-25 22:05:58 +08:00
zhengshuxin
dd0158f5ac make packinstall can be used on Mac 2023-01-25 21:55:20 +08:00
zhengshuxin
937f4c0739 Modify readme of libfiber 2023-01-25 21:31:34 +08:00
zhengshuxin
ced1d28906 Release 3.6.0-4 version. 2023-01-19 15:23:50 +08:00
zhengshuxin
8d719cbe30 Add fiber_mutex_guard class for easily using fiber_mutex. 2023-01-17 17:39:57 +08:00
zhengshuxin
70e825f513 Rename id() to fiber_id() in fiber.hpp 2023-01-17 17:18:56 +08:00
zhengshuxin
e43f7e2410 make macro safety 2023-01-16 20:28:52 +08:00
shuxin   zheng
fbe061245c test aio_server in fiber mode 2023-01-16 17:04:30 +08:00
zhengshuxin
37a5f3bcd0 Test fcntl for hooking API 2023-01-16 16:26:31 +08:00
zhengshuxin
bdb35bc6e9 Optimize hook API of fcntl. 2023-01-16 16:22:38 +08:00
zhengshuxin
780318a3df Hook fcntl on Linux. 2023-01-16 15:46:43 +08:00
zhengshuxin
057852cb72 Test if SO_REUSEPORT should be set before bind the socket fd. 2023-01-13 16:38:33 +08:00
zhengshuxin
5927fddb41 Add demo test the performance ACL_FIBER_LOCK vs ACL_FIBER_MUTEX 2023-01-12 22:30:24 +08:00
zhengshuxin
f36257685e Test . 2023-01-12 17:50:40 +08:00
zhengshuxin
884c1457b2 Set fiber's status before it's suspended. 2023-01-12 17:49:24 +08:00
zhengshuxin
ea3770320a Add the global object to hold all ACL_FIBER_COND objects. 2023-01-12 17:48:29 +08:00
zhengshuxin
fd9806b2a6 Add conditional compiling with DEBUG_STACK 2023-01-11 23:02:39 +08:00
郑树新
cf25672923 Build ok on windows. 2023-01-11 22:51:39 +08:00
zhengshuxin
1ec47b99b0 Just compiling. 2023-01-11 22:47:18 +08:00
zhengshuxin
6305f57e48 test 2023-01-11 22:42:03 +08:00
zhengshuxin
b10fd0acad Build ok on MacOS 2023-01-11 22:40:12 +08:00
zhengshuxin
3ef3fa8128 Add C++ API for fiber mutex deadlock checking. 2023-01-11 22:29:45 +08:00
zhengshuxin
758dd3852a Add stacktrace for fiber cpp lib. 2023-01-11 10:22:33 +08:00
zhengshuxin
0864514ae4 Build demos on MacOS 2023-01-11 00:29:44 +08:00
zhengshuxin
fb02991e32 Use SNPRINTF macro for multiple platforms. 2023-01-11 00:24:44 +08:00
zhengshuxin
e4b0b89bf4 The deadlock function is ok. 2023-01-11 00:19:09 +08:00
zhengshuxin
e5c61d1130 Add deadlock checking for ACL_FIBER_MUTEX 2023-01-10 18:00:34 +08:00
zhengshuxin
6be344c73c FIBER_F_STARTED flags should be set for origin fiber. 2023-01-04 17:58:56 +08:00
郑树新
5a4294cef4 build ok on windows 2023-01-03 22:30:32 +08:00
shuxin   zheng
408c6e0db0 acl_fiber_stacktrace() can't be used on MacOS because libunwind don't support MacOS. 2023-01-03 15:47:19 +08:00
zhengshuxin
0732c5dd06 We can get any fibers' stack now. 2023-01-03 15:33:41 +08:00