zhengshuxin
|
247030febb
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-08-14 10:24:18 +08:00 |
|
zhengshuxin
|
8e0bc44b9b
|
Change tc's type from int* to double* in connect_pool::peek() API.
|
2024-08-14 10:23:33 +08:00 |
|
zhengshuxin
|
13426f9833
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-08-13 15:46:31 +08:00 |
|
zhengshuxin
|
2d68ef8030
|
Add more params for connect_pool::peek() API.
|
2024-08-13 15:45:44 +08:00 |
|
zhengshuxin
|
a02a9382a0
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-08-13 11:30:50 +08:00 |
|
zhengshuxin
|
16ca5dfbc4
|
Fixed bug in connect_pool::put() when checking idle connections.
|
2024-08-13 11:29:57 +08:00 |
|
zhengshuxin
|
bdcaad04c7
|
test fiber.
|
2024-08-12 20:37:56 +08:00 |
|
zhengshuxin
|
f536bb9b5a
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-08-11 21:46:56 +08:00 |
|
zhengshuxin
|
896b92f75a
|
Optimize and test fiber module in sharing stack mode.
|
2024-08-11 18:51:48 +08:00 |
|
zhengshuxin
|
9f2658027c
|
Remove virtual prefix for mqtt_header to save 8 bytes.
|
2024-08-04 19:08:21 +08:00 |
|
郑树新
|
d95db6f8a4
|
fiber cond supports being canceled by other fiber.
|
2024-07-29 14:44:15 +08:00 |
|
zhengshuxin
|
d19f2629bf
|
Don't retry when http request was canceled.
|
2024-07-29 14:23:16 +08:00 |
|
zhengshuxin
|
40618b8d93
|
Add API for getting the fiber's status.
|
2024-07-29 11:10:30 +08:00 |
|
zhengshuxin
|
0facec821d
|
Use USE_POLL_WAIT conditional compiling in fiber_io.cpp.
|
2024-07-28 18:57:22 +08:00 |
|
zhengshuxin
|
84095ebbf9
|
Add test codes for timer handler.
|
2024-07-28 09:51:58 +08:00 |
|
zhengshuxin
|
22d4e2265c
|
Use poll wait for handling IO readwrite timeout.
|
2024-07-28 09:46:59 +08:00 |
|
郑树新
|
43cc154927
|
Optimize and test fiber IO.
|
2024-07-27 23:17:52 +08:00 |
|
郑树新
|
09a56d0903
|
Fixed one memory alloc bug and optimize codes.
|
2024-07-27 22:21:14 +08:00 |
|
郑树新
|
c591b090ee
|
Build ok on windows.
|
2024-07-27 22:20:18 +08:00 |
|
zhengshuxin
|
f45b5a92c2
|
event oper can't be cached only in directly mode.
|
2024-07-26 16:18:54 +08:00 |
|
zhengshuxin
|
5ce851d299
|
test fiber.
|
2024-07-26 14:40:58 +08:00 |
|
zhengshuxin
|
a4b4bc0cc6
|
Optimize and test IO timeout by setsockopt in fiber.
|
2024-07-26 11:00:21 +08:00 |
|
zhengshuxin
|
bd9e5c0d52
|
Don't cache directly EVENT operations.
|
2024-07-25 18:13:39 +08:00 |
|
zhengshuxin
|
79fda265b1
|
test fiber.
|
2024-07-25 13:37:05 +08:00 |
|
zhengshuxin
|
09463329d0
|
stream::set_rw_timeout() should return true when no using setsockopt.
|
2024-07-23 15:27:24 +08:00 |
|
zhengshuxin
|
3ab1bf8117
|
Using setsockopt/getsockopt to set/get the IO timeout is one option in set_rw_timeout/get_rw_timeout API of stream class.
|
2024-07-23 15:03:13 +08:00 |
|
zhengshuxin
|
b563e34dc4
|
Hook getsockopt for get socket's IO timeout in fiber module.
|
2024-07-23 14:39:42 +08:00 |
|
shuxin zheng
|
5c85d8fe63
|
Format codes style.
|
2024-07-22 17:07:57 +08:00 |
|
shuxin zheng
|
e3ee30e045
|
Remove virtual prefix to save 8 bytes memory.
|
2024-07-22 16:08:25 +08:00 |
|
zhengshuxin
|
a1a8a4b340
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-07-18 14:44:38 +08:00 |
|
郑树新
|
ebeb2e02cb
|
Supports building for ARMEC64.
|
2024-07-18 14:43:29 +08:00 |
|
zhengshuxin
|
486ccc3aec
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-07-17 18:25:35 +08:00 |
|
郑树新
|
2591a98f89
|
Supports vc2022 and Arm64
|
2024-07-17 18:22:28 +08:00 |
|
郑树新
|
7e33f21589
|
Supports vc2022 and Arm64.
|
2024-07-17 18:19:27 +08:00 |
|
郑树新
|
9daf4738b8
|
Add compiling options for supporting c++11 in vc2019.
|
2024-07-17 14:50:33 +08:00 |
|
郑树新
|
7fe7af7555
|
Compiling on Windows ARM64
|
2024-07-17 14:49:48 +08:00 |
|
zhengshuxin
|
ffd2ef67f9
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-07-02 15:03:00 +08:00 |
|
zhengshuxin
|
ed7e368022
|
Fixed one idle exiing problem in threads_server template.
|
2024-07-02 15:01:45 +08:00 |
|
zhengshuxin
|
8ec711ef32
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-06-26 14:18:50 +08:00 |
|
zhengshuxin
|
25d9ca09b8
|
Format codes.
|
2024-06-26 14:18:25 +08:00 |
|
zhengshuxin
|
d860aa0f39
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-06-26 14:09:55 +08:00 |
|
zhengshuxin
|
741296c661
|
Format codes.
|
2024-06-26 14:09:34 +08:00 |
|
郑树新
|
fc6a460252
|
Merge pull request #342 from ChrisCatCP/master
refactor wait_group
|
2024-06-26 13:45:46 +08:00 |
|
Bai Miao
|
9ae2351ce6
|
add comment for wait_group
|
2024-06-26 11:00:37 +08:00 |
|
zhengshuxin
|
9eac398fa7
|
Merge branch 'gitee-master' into gitlab-upstream
|
2024-06-26 10:41:41 +08:00 |
|
zhengshuxin
|
b7ab0c8283
|
Add more demos for testing dns.
|
2024-06-26 10:36:43 +08:00 |
|
白喵
|
919c8a68fa
|
check state before wait
|
2024-06-25 12:39:04 +08:00 |
|
白喵
|
25b59ab47b
|
refactor wait_group
|
2024-06-24 19:37:43 +08:00 |
|
zhengshuxin
|
b542433453
|
Fixed one conditional building in fiber module.
|
2024-06-23 18:19:26 +08:00 |
|
zhengshuxin
|
ef3982d66b
|
Add memalloc for testing memory operations.
|
2024-06-23 18:04:08 +08:00 |
|