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
Xie Han
4a71505893
Reduce default DNS cache ttl.
2024-03-12 22:07:17 +08:00
xiehan
981cbd3218
Require cert_file and key_file when transport type is SSL. ( #1507 )
2024-03-11 21:06:40 +08:00
xiehan
f5b2f93a8e
Update WFAlgoTaskFactory.inl
2024-03-08 12:52:40 +08:00
Xie Han
fa5041f416
WFHttpServerTask members made protected.
2024-03-08 00:24:57 +08:00
Xie Han
a6d94c030b
Fix warning on Linux.
2024-03-06 21:39:48 +08:00
Xie Han
c7dc253cf6
Fix compiling error on macOS.
2024-03-06 02:22:21 +08:00
holmes1412
b08ebcd02e
Avoid WFSGResolverTask::dispatch() select more than once.
2024-03-05 22:49:58 +08:00