2242 Commits

Author SHA1 Message Date
Xie Han
7bbdf060f7 Remove LICENSEs in tutorials. v0.11.9 2025-05-08 15:16:10 +08:00
Xie Han
71ace08a2e Add including 'RedisMessage.h'. 2025-05-06 21:27:34 +08:00
Xie Han
3564d4578a Parse JSON number in one turn. 2025-05-06 00:37:13 +08:00
Xie Han
627dce5c5b Use 'size_t' for JSON object/array's size. 2025-04-28 18:13:07 +08:00
Xie Han
fb55032a13 Do not sort JSON object for better parsing speed. 2025-04-27 21:55:21 +08:00
Xie Han
224b74731b Enable setting specific SSL_CTX for consul client. 2025-04-25 21:24:23 +08:00
xiehan
c56986be74 Add http chunked client and task. (#1714) 2025-04-23 19:37:34 +08:00
Xie Han
6bd5f01573 Return const attachment when message pointer is const. 2025-04-18 14:56:17 +08:00
Xie Han
dbe996694d 0.11.8 -> 0.11.9 2025-04-14 14:28:04 +08:00
Xie Han
93d6e0a2cf Fix SSL bug when create communication targets. 2025-04-14 14:27:00 +08:00
Xie Han
d055848353 Optimize parsing JSON numbers. 2025-04-01 17:39:03 +08:00
Xie Han
7134612fce update JSON parser copying json value. 2025-03-25 15:53:13 +08:00
Xie Han
b030e4e770 Use strtoul for parsing positive hex numbers. 2025-03-13 17:34:29 +08:00
Xie Han
acc64b6eed Use 'size_t' for JSON string length. 2025-03-09 17:29:12 +08:00
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