2228 Commits

Author SHA1 Message Date
xiehan
8076c75051 Make it compatible with OpenSSL 1.0. (#1700) v0.11.8 2025-02-27 18:22:36 +08:00
xiehan
2f06cbb83e Simplify code of Communicator::deinit(). (#1699) 2025-02-19 19:04:44 +08:00
Xie Han
4bf00f8869 Simplify DNS resolver when resolving both v4 and v6. 2025-02-14 23:04:38 +08:00
xiehan
50d7c52f52 Set error as DNS error if DNS server timeout. (#1697) 2025-02-14 18:56:12 +08:00
xiehan
d5d295d9b2 Update about-counter.md 2025-02-13 18:11:45 +08:00
Xie Han
2c596c45ea Remove unnecessary checking. 2025-02-13 16:50:01 +08:00
Xie Han
0c15ff4f3e Add json_object_value_name(). 2025-02-10 22:07:47 +08:00
xiehan
cae71e45cd Simplify DNS server implementation. (#1693) 2025-02-08 19:37:30 +08:00
kedixa
0e0c1a33d7 Add dns server tutorial and doc (#1692) 2025-02-08 17:50:35 +08:00
kedixa
5fc57225b7 DnsMessage support add and encode raw record (#1691) 2025-02-07 20:09:49 +08:00
Xie Han
21b48e639e Update docs about network task 'prepare' function. 2025-01-23 16:13:09 +08:00
Xie Han
57526637c7 0.11.7 -> 0.11.8 2025-01-15 20:52:59 +08:00
xiehan
24dd7610bc Decrease max aio events when io_setup() failed. (#1689) 2025-01-15 20:51:32 +08:00
xiehan
58ea077d6e Update about-connection-context.md (#1688) 2025-01-14 18:09:59 +08:00
xiehan
1c483da973 Enable 'prepare' for server task too. (#1686) 2025-01-13 23:16:01 +08:00
xiehan
69eb2e1719 Use poller threads to handle canceled timer. (#1679) 2025-01-13 21:47:33 +08:00
kedixa
8cb8935fd7 kafka set failed state when produce or fetch failed (#1685) 2025-01-13 20:37:07 +08:00
Xie Han
3aeb5a06fc Enable to set connection context without changing deleter. 2025-01-13 17:52:20 +08:00
kedixa
90e32e3bc4 fix KafkaMessage::parse_record_batch (#1680)
* fix KafkaMessage::parse_record_batch

* use compress_type instead of compressed
2025-01-08 20:40:24 +08:00
xiehan
b9062aeeff Fix compiling error when message doesn't have a move constructor. (#1678)
* Fix compiling error when message doesn't have a move constructor.

* Clear response safely.
v0.11.7
2025-01-07 01:57:22 +08:00
xiehan
5fbe73f5aa Add template type on WFTaskFactory::send_by_name()/signal_by_name(). (#1677)
* Add template type on WFTaskFactory::send_by_name()/signal_by_name().

* Remove unused parameter name.
2025-01-03 22:49:04 +08:00
Xie Han
d79101194e std::nullptr_t -> nullptr_t 2025-01-02 22:29:40 +08:00
xiehan
e6b86cf177 Update about-go-task.md 2025-01-02 21:15:16 +08:00
Xie Han
be06666e4a 0.11.6 -> 0.11.7 2025-01-01 20:55:42 +08:00
xiehan
305dbeb746 Simplify service session's state. (#1676) 2025-01-01 20:54:43 +08:00
xiehan
75c662c3ed Set service session's passive state more precisely. (#1675) 2024-12-28 19:13:44 +08:00
xiehan
e18b9b536f Fix UDP server bug that server does't reply. (#1674) 2024-12-28 02:51:55 +08:00
xiehan
86a4b77c23 Tests always use C++14. (#1673) 2024-12-27 19:53:45 +08:00
Xie Han
1c6eda95a5 Remove WFTaskFactory::release_guard() with default NULL message. 2024-12-26 03:26:43 +08:00
Xie Han
c8e87c4b99 Remove out of date commentary. preadv/pwritev supported on macOS. 2024-12-26 03:11:52 +08:00
xiehan
92cb8a545b Update about-timer.md 2024-12-24 23:06:45 +08:00
xiehan
0c1d96aad6 Check node 'removed' flag before next read. (#1670)
* Check node 'removed' flag before next read.

* Add __poller_close_pfd().
2024-12-16 00:50:47 +08:00
xiehan
6ee1163672 Declare 'nullptr_t' manually in WFTaskFactory. (#1669) 2024-12-13 21:30:55 +08:00
xiehan
6fdf73dba0 std::nullptr_t -> nullptr_t (#1668) 2024-12-13 16:25:28 +08:00
xiehan
6a6428e131 Fix function overload resolution. (#1667) 2024-12-12 20:14:10 +08:00
xiehan
ca70076b69 Fix closing fd 0 error on macOS. (#1666) 2024-12-08 03:46:15 +08:00
xiehan
e928e857a7 Remove some global macros and rename an interface. (#1665) 2024-12-02 01:04:06 +08:00
xiehan
e4203a11ad Remove PackageWrapper::next(). (#1664) 2024-11-30 03:11:47 +08:00
xiehan
a8ce324b71 random() -> rand(). (#1663) 2024-11-28 16:24:08 +08:00
xiehan
05168d9eab Fix poller memleak when malloc failed. (#1661) 2024-11-24 19:34:55 +08:00
xiehan
dd955995f2 Optimize StringUtil::url_encode()/url_decode(). (#1660) 2024-11-24 01:07:12 +08:00
xiehan
14ac26c655 Remove forward declaration. (#1659) 2024-11-22 02:42:36 +08:00
xiehan
c92f95a613 Fix consult client JSON stringifying. (#1658) 2024-11-20 22:58:33 +08:00
Xie Han
736c318065 Remove some comments. 2024-11-20 17:42:25 +08:00
xiehan
edb8212f4a Add permanent timer, for deleting only. (#1655) 2024-11-18 17:12:10 +08:00
xiehan
65cdbf34be Remove 'WFHttpServerTask.h' (#1653) 2024-11-11 23:23:03 +08:00
Xie Han
a020251b67 File task argument name 'pathname' -> 'path'. 2024-11-09 15:54:36 +08:00
xiehan
33c0dead64 Update about-conditional.md 2024-11-08 22:11:52 +08:00
xiehan
4d43d77ff2 Modify local variable names and simplify code. (#1652) 2024-11-08 17:49:55 +08:00
Xie Han
d3fd24c280 Use WFT_STATE_SYS_ERROR instead of SS_STATE_ERROR. Some value. 2024-11-07 22:46:26 +08:00