Commit Graph

3866 Commits

Author SHA1 Message Date
zhengshuxin
7eb5a23ab1 std::atomic<long>'s variable should be initiated in MacOS clang. 2023-06-11 18:33:59 +08:00
zhengshuxin
0991d1c53c Add fiber_pool demo to test fiber pool mode. 2023-06-09 18:48:28 +08:00
郑树新
56995f709c Fixed bug in acl_get_ifaddrs on windows. 2023-06-07 23:26:37 +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
4982bbf145 Optimize wizard app. 2023-05-27 21:30:54 +08:00
zhengshuxin
8a833622dd chmod some files 2023-05-27 10:50:51 +08:00
zhengshuxin
ab148987ce service templates in the mode of fiber or thread can bind wildcad addresses. 2023-05-25 19:00:22 +08:00
zhengshuxin
d14accaefb Add comments for fiber_tbox2. 2023-05-24 17:33:09 +08:00
shuxin   zheng
ca1728d4e3 Add fiber_tbox2.hpp into xcode project. 2023-05-24 16:36:59 +08:00
zhengshuxin
4d2259e912 Add fiber_tbox2 for supporting std::shared_ptr. 2023-05-24 16:27:24 +08:00
zhengshuxin
6fa297ae4d Optimize wizard's template for http service. 2023-05-21 22:10:02 +08:00
zhengshuxin
425927b886 recvmmsg API's declaration is different between Ubuntu and CentOS. 2023-05-19 17:57:49 +08:00
zhengshuxin
becf9dc59d Add timeouted read when using fiber_recvmmsg in fiber module. 2023-05-19 17:26:05 +08:00
zhengshuxin
603fd9938b Support hooking recvmmsg/sendmmsg API in libfiber. 2023-05-19 17:13:46 +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
00b266843b Test fiber_sem. 2023-05-13 00:06:50 +08:00
zhengshuxin
03e76d0a7e fiber_sem add async mode for posting message. 2023-05-12 23:25:58 +08:00
zhengshuxin
1f1e47e4cd Add HTTP PUT for demo 2023-05-05 14:18:50 +08:00
zhengshuxin
c564646a32 modify webpage 2023-04-29 12:26:18 +08:00
zhengshuxin
2d0fa87a8e format code style 2023-04-27 10:50:21 +08:00
zhengshuxin
c220e156e9 format code style of fiber module. 2023-04-27 10:39:55 +08:00
zhengshuxin
d8f3bcd4ec test fiber in sharing stack mode. 2023-04-26 14:11:40 +08:00
zhengshuxin
152053d343 Change the sharing stack's size from 1MB to 10MB. 2023-04-25 18:40:24 +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
zhengshuxin
557a8ab913 Delete unused files. 2023-04-20 10:57:06 +08:00
shuxin   zheng
30e28278e9 Build ok for multiple platforms. 2023-04-17 16:28:35 +08:00
zhengshuxin
a8eb86e67a Fixed dead lock when writing log after fork() in acl_master. 2023-04-17 11:04:34 +08:00
zhengshuxin
af706f7143 Build fiber's demos sucessfully on cs6 and cs5 2023-04-11 15:59:13 +08:00
zhengshuxin
661fd20115 Rename acl-master package's service name from master to acl-master. 2023-04-11 14:59:18 +08:00
zhengshuxin
e1b8c269f5 Rename acl-master's service name from master to acl-master. 2023-04-11 14:52:30 +08:00
郑树新
9c5e5662f6 The AF_UNSPEC should be treated as AF_INET on Windows so the udp service can run correctly. 2023-04-08 20:55:35 +08:00
shuxin   zheng
467ec6d741 Fixed bugs in mqtt module 2023-04-06 18:13:35 +08:00
zhengshuxin
37ee4f42e6 test share stack of fiber 2023-04-04 19:08:26 +08:00
zhengshuxin
5de8370700 Optimize and test sharing stack of fiber. 2023-04-04 16:35:31 +08:00
zhengshuxin
39c749a13d optimize the performance of redis_builder 2023-04-03 22:04:13 +08:00
zhengshuxin
4699c2f4c0 ETIMEDOUT should be used other than ETIME. 2023-03-31 23:18:38 +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
331e4826dc Don't write some error log 2023-03-30 16:29:29 +08:00
zhengshuxin
8d371b0a17 Use ETIME other ETIMEDOUT on Unix-like OS. 2023-03-29 22:57:44 +08:00
zhengshuxin
66551ff234 build ok by cmake 2023-03-27 20:48:27 +08:00
zhengshuxin
922d1f196c Add websocket supporting in the service's project created by wizard app. 2023-03-25 22:52:19 +08:00
shuxin   zheng
639d2c9081 test unit_test for lib_acl on MacOS. 2023-03-22 17:57:55 +08:00
zhengshuxin
2ac3eef044 Optimize htable module 2023-03-22 17:20:21 +08:00