Commit Graph
2139 Commits
Author SHA1 Message Date
xiehan e64c02ec16 Enable 'push()' on an active session. (#1590) 2024-07-22 04:00:47 +08:00
xiehan a8078aeac1 Fix timeout problem when server message 'renew()' in append(). (#1589) 2024-07-15 02:17:22 +08:00
liyingxin fe8253d5c4 Fix UpstreamPolicies another_strategy() when addr is NULL. (#1587) 2024-07-10 17:55:15 +08:00
xiehan 1cbbec12c1 Fix SSL_write error bug when sending large message. (#1585) 2024-07-06 02:41:20 +08:00
xiehan 64a7f44a14 Fix OpenSSL includes. (#1584) 2024-07-05 20:12:52 +08:00
xiehan 2d69b222e4 Enable canceling graph node's successors. (#1583)
* Enable canceling graph node's successors.

* Update tutorial-11-graph_task.md

* Update tutorial-11-graph_task.md
2024-07-03 23:12:26 +08:00
xiehan 195d23611a Use compiling flag '-Wno-deprecated-declarations' on macOS only. (#1580) 2024-06-23 02:14:12 +08:00
Xie Han 2ef0f6748a Add compiling flag '-Wno-deprecated-declarations'. 2024-06-21 01:59:41 +08:00
Xie Han 0c510a29a2 0.11.4 -> 0.11.5 2024-06-20 17:33:06 +08:00
Xie Han 719eefd757 Support preadv/pwritev for multi-thread file IO. 2024-06-20 17:33:06 +08:00
xiehan f6d46a9ed9 Make sure the communicator can be deinitialized in session's 'handle()'. (#1574) 2024-06-14 19:08:11 +08:00
Xie Han 5988d6e84e Fix problem when calling 'deinit' in a handler thread. 2024-06-11 02:52:04 +08:00
xiehan 9f9e8a2b12 Enable decreasing handler threads. (#1568)
* Enable decreasing handler threads.

* Fix memleak when deinit if handler thread number is zero.
2024-06-10 17:03:23 +08:00
Edwards ae9cff057e [ENH] .gitignore: add ignore for so.version (#1570) 2024-06-05 16:46:45 +08:00
kedixa d54f06e6ae HttpTask support auth when has userinfo (#1554)
* HttpTask support auth when has userinfo

* clear auth when redirect to other host

* HttpProxyTask support auth when has userinfo

* remove one StringUtil::url_decode as requested in #1554
2024-05-28 20:17:25 +08:00
Xie Han 16686bab71 Enable increasing/decreasing compute threads. 2024-05-28 17:32:51 +08:00
Xie Han 30a78d30b3 Add thrdpool_decrease(). 2024-05-28 17:29:12 +08:00
Xie Han fec3f6ced8 Add msgqueue_put_head(). 2024-05-28 17:29:12 +08:00
xiehan fa85db076a Fix URI parsed failed bug. (#1561) v0.11.4 2024-05-22 18:03:16 +08:00
xiehan c2eb095c09 Use 'pthread_equal()' to compare thread id. 2024-05-21 01:51:23 +08:00
Xie Han 2082c17d9a Add json_value_copy(). 2024-05-20 23:11:51 +08:00
xiehan 9d2ff27de2 Add 'fixed_conn' for WFNSParams. (#1550) 2024-05-08 23:13:20 +08:00
xiehan 842fbdf14f Fix kafka broker on IPv6 bug. (#1541) 2024-04-26 21:46:57 +08:00
xiehan df12798e84 Enable setting specific SSL_CTX for kafka client. (#1539) 2024-04-26 21:05:19 +08:00
kedixa 0e8b158975 Support add dns record, so we can make a real dns server (#1536)
* support add record to DnsMessage, we can make a real DNS server now

supported record types: A, AAAA, NS, CNAME, PTR, SOA, SRV, MX

* avoid dns message pointer loop

* fix code indent
2024-04-24 18:14:03 +08:00
Xie Han 981ebc05a0 0.11.3 -> 0.11.4 2024-04-23 22:17:27 +08:00
xiehan 4cb0995e1f SSL_CTX_up_ref() only on openSSL 1.1 or above. (#1535) 2024-04-23 16:45:30 +08:00
Xie Han a5a6d1e5b6 Update WFMySQLConnection. 2024-04-22 14:26:07 +08:00
Xie Han bb815f7323 Clear ssl_ctx if not SSL transport type. 2024-04-22 14:26:07 +08:00
Xie Han 8b14b5ef9f WFMySQLConnection with specific SSL_CTX. 2024-04-22 14:26:07 +08:00
Xie Han e00a31a8d8 Enable setting SSL_CTX for each client task. 2024-04-22 14:26:07 +08:00
Xie Han e55ac75d6f Up SSL_CTX reference in CommSchedTarget. 2024-04-22 14:26:07 +08:00
xiehan 0cfc31b445 Supporting TLS SNI over SCTP protocol. (#1526) 2024-04-16 19:09:57 +08:00
xiehan da982de896 Free 'addrinfo' directly when it's a UDS address. (#1523) 2024-04-14 02:14:50 +08:00
xiehan 7b491d55c5 Merge pull request #1518 from Barenboim/master
Add WFSelectorTask.
2024-04-09 20:24:03 +08:00
xiehan 3d4e587248 Update about-selector.md 2024-04-09 20:17:39 +08:00
Xie Han 5ec492fa98 Add WFSelectorTask. 2024-04-09 16:45:56 +08:00
Xie Han 9abfe7125f WFMailboxTask::send() should be virtual 2024-04-04 18:56:32 +08:00
xiehan bc874c142e Rename an internal function. (#1513) 2024-03-31 01:04:54 +08:00
xiehan 9c018ea9df Merge pull request #1510 from Barenboim/master
Simplify Communicator's codes.
2024-03-27 23:02:58 +08:00
Xie Han ecfbed1139 Remove redundant assignment. 2024-03-27 22:58:36 +08:00
Xie Han 7cc8cefcb3 Move 'reliable' attribute to CommService. 2024-03-27 21:06:44 +08:00
Xie Han 7249adde3f Simplify Communicator's codes. 2024-03-27 17:23:59 +08:00
xiehan 29e9d9de98 Fix LRUCache::prune. (#1508) 2024-03-21 16:48:50 +08:00
Xie Han 8d7266f2f7 Make it works with some ridiculous http servers. 2024-03-17 00:11:22 +08:00
Xie Han a9485f9f37 Update xmake version v0.11.3 2024-03-14 22:34:03 +08:00
Xie Han c9dd16c926 Simplify converting. 2024-03-14 16:48:27 +08:00
Xie Han 9658bb00c6 Limiting server's peer_response_timeout. 2024-03-13 17:32:18 +08:00
xiehan c32b28696c Update about-dns.md 2024-03-12 22:11:48 +08:00
xiehan 0302122e70 Update about-dns.md 2024-03-12 22:11:08 +08:00