Commit Graph
2040 Commits
Author SHA1 Message Date
Xie Han 05798fa566 Add WFTaskFactory::release_guard_safe() 2023-12-12 19:51:03 +08:00
Xie Han 5e38cc34d8 Remove global addrinfo hints and simplify codes. 2023-12-08 16:18:20 +08:00
xiehan fb4c512766 Merge pull request #1439 from kedixa/dev
EndpointParams::address_family, set family for domain name resolution
2023-12-07 22:46:39 +08:00
kedixa bf48d96a7d change max_connections type to int 2023-12-07 20:15:33 +08:00
kedixa d816bf7c88 EndpointParams::address_family, set family for domain name resolution 2023-12-07 19:52:03 +08:00
Xie Han b876f85640 Remove 'struct'. 2023-12-07 15:48:36 +08:00
xiehan 21c7175402 Merge pull request #1437 from Barenboim/master
Add 'guard' task wrapper.
2023-12-06 20:42:14 +08:00
Xie Han 908a2deaa2 Optimize by moving 'delete' out of locks. 2023-12-06 18:08:04 +08:00
Xie Han 30c6a27546 Simplify codes. 2023-12-06 16:29:03 +08:00
Xie Han 5a4a250797 Add 'guard' task wrapper. 2023-12-06 03:05:32 +08:00
xiehan d73f3531b8 0.11.1->0.11.2 2023-11-28 18:01:20 +08:00
xiehan d073f84996 Merge pull request #1434 from Barenboim/master
Enable setting 'watch timeout' for client tasks.
2023-11-28 16:46:15 +08:00
xiehan 75de5c54ce Update about-timeout.md 2023-11-28 16:43:56 +08:00
xiehan 31c5a3fc64 Update about-timeout.md 2023-11-28 16:32:00 +08:00
Xie Han 7302381e88 Enable setting 'watch timeout' for client tasks. 2023-11-28 15:51:23 +08:00
Xie Han 273134f0ff Optimize code structure of json-parser. 2023-11-26 01:39:19 +08:00
xiehan 8fa0e05b40 ENCODE_IOV_MAX 8192 -> 2048 (#1430)
* ENCODE_IOV_MAX 8192 -> 2048

* Update tutorial-10-user_defined_protocol.md

* Update tutorial-10-user_defined_protocol.md
2023-11-22 20:00:57 +08:00
xiehan 4d76fd989e Remove MapReduce (to be redesinged). (#1429) 2023-11-22 17:16:20 +08:00
xiehan 39bd64ac23 Update .editorconfig 2023-11-19 03:44:06 +08:00
Xie Han bff80b4289 Update calling __list_splice. 2023-11-19 03:25:21 +08:00
Xie Han a8645ff882 Remove redundant include. 2023-11-19 03:23:35 +08:00
Xie Han d5c7711190 Remove unused macros. 2023-11-19 03:13:09 +08:00
Xie Han 2a964cab99 Fix task state when getaddrinfo failed. 2023-11-18 03:21:00 +08:00
Xie Han e0b48a7173 Always lock when taking task to make code simpler. 2023-11-17 19:12:53 +08:00
Xie Han 61c1b48765 Use global dns request seq id. 2023-11-17 19:12:53 +08:00
xiehan d1fbff4d56 Merge pull request #1424 from Barenboim/master
Double check for safety.
2023-11-17 03:37:04 +08:00
Xie Han c9a65e4c76 Update list.h 2023-11-17 01:55:56 +08:00
Xie Han 7d01226400 Double check for safety. 2023-11-16 21:10:52 +08:00
xiehan 507ad89220 Merge pull request #1423 from Barenboim/master
Reduce locking in executor.
2023-11-15 21:04:04 +08:00
Xie Han b8d30d7288 Reduce locking in executor. 2023-11-15 03:39:00 +08:00
xiehan 8713e2685f Merge pull request #1422 from Barenboim/master
Optimize canceling timer.
2023-11-14 21:27:48 +08:00
Xie Han 05e62219e2 Callback directly in poller_del_timer(). 2023-11-14 20:18:47 +08:00
Xie Han 0546ed42e9 Increase communicator's msgqueue maxlen. 2023-11-14 20:10:31 +08:00
Xie Han 4a12cef38e Use std::string::compare. 2023-11-14 15:51:49 +08:00
Xie Han 48d4871228 Simplify codes. 2023-11-13 19:08:57 +08:00
xiehan c9d141d528 Optimize named object searching. (#1420) 2023-11-13 16:54:57 +08:00
Xie Han dece7f57af Simplify code. 2023-11-11 03:06:31 +08:00
kedixa 72c55c85a0 fix #1418: KafkaTask may bad free when retry (#1419) 2023-11-10 20:35:46 +08:00
xiehan d0e0320adb Remove 'dup(0)' on macOS. (#1416) 2023-11-07 20:16:48 +08:00
xiehan 7d34727de4 Simplify poller codes. (#1414) 2023-11-06 04:16:34 +08:00
Xie Han 1d434f30d3 Optimize AUTH request. v0.11.1 2023-10-31 17:30:37 +08:00
kedixa df4082f477 redis support command 'auth user pass' (#1411) 2023-10-31 16:42:56 +08:00
Xie Han 05bc91942e Optimize parsing JSON number. 2023-10-27 16:24:19 +08:00
xiehan 10a6b26c0e Remove WFMultiThreadTask. (#1405) 2023-10-25 15:53:05 +08:00
xiehan 915711cae0 Parse JSON number more precisely. (#1404) 2023-10-24 22:04:53 +08:00
xiehan 2d598730a4 Parse JSON number manually. (#1401) 2023-10-24 17:22:26 +08:00
Xie Han cfee907eb1 Fix parsing JSON numbers. 2023-10-20 23:19:58 +08:00
Xie Han d8d6d7f9ac Remove WFDnsClient's constructor. 2023-10-20 17:13:47 +08:00
Xie Han 9c93192bb4 Optimize timed thread/go task's state when timer failed. 2023-10-17 21:21:42 +08:00
xiehan aebd704e05 Merge pull request #1398 from Barenboim/master
Add named mailbox task.
2023-10-17 19:46:19 +08:00