xiehan
115425ec2d
Merge pull request #1260 from Barenboim/master
...
PD_OP_RECV_MESSAGE->PD_OP_RECVFROM
2023-04-21 23:04:08 +08:00
XieHan
6e3572df2f
PD_OP_RECV_MESSAGE->PD_OP_RECVFROM
2023-04-21 19:56:26 +08:00
kedixa
499b3da00c
remove mixed space in tab
2023-04-20 15:59:48 +08:00
kedixa
c7127a9c5f
kafka bugfix: cannot fetch without group
2023-04-20 15:10:08 +08:00
XieHan
8d958c895c
PD_OP_TIMER redefined to 0 because timer is special.
2023-04-13 00:50:53 +08:00
XieHan
6bc22aaaeb
Unify naming.
2023-04-13 00:43:17 +08:00
Xie Han
a08610eea3
Refactor. PD_OP_RECVFROM -> PD_OP_RECV_MESSAGE.
2023-04-12 23:48:49 +08:00
Xie Han
a1059519ed
Add PD_OP_RECVFROM for UDP server.
2023-04-11 23:02:24 +08:00
xiehan
ff0abcfe28
Add SeriesWork::get_specific() and get_in_parallel() for tracing.
...
* Add SeriesWork::get_specific()
* Add SeriesWork::get_in_parallel() for task implementations.
* Add const to 'in_parallel'.
* Rename argument.
2023-04-04 20:43:55 +08:00
kedixa
9f4a576478
kafak bugfix: no extra bytes in SyncGroup req version 3
2023-03-31 17:05:26 +08:00
kedixa
3c74637bd0
kafkabugfix: OffsetCommit resp version >=3 has throttle_time
2023-03-31 16:43:05 +08:00
kedixa
ed15dcb344
kafka bugfix: heartbeat error not handled when callback
...
In order to remove parallel write of cgroup,
we set another cgroup instance in task's response,
and handle resp->cgroup()->get_error() in callback.
But in __ComplexKafkaTask::finish_once, resp's cgroup
is overwriten by req's cgroup, so callback cannot handle
this error.
2023-03-30 18:05:09 +08:00
Xie Han
388452f391
'listen()' backlog at least 4096.
2023-03-28 18:24:22 +08:00
Xie Han
8d57c8ba64
Simplify WFMailboxTask.
2023-03-23 02:54:19 +08:00
Xie Han
cbb645a4cd
Remove topic_cnt checking
2023-03-17 13:28:39 +08:00
Xie Han
b962a78fd2
Fix kafka commit request EBADMSG problem.
2023-03-16 17:29:48 +08:00
xiehan
c4c3e3eb4c
Remove KafkaMessage api_mver_map
2023-03-15 19:43:48 +08:00
kedixa
7585d03e92
kafka bugfix, cgroup may be concurrently write by more than one task
...
* kafka bugfix, cgroup may be concurrently write by more than one task
* code format
* format code
2023-03-15 19:42:47 +08:00
kedixa
d39f15770b
kafka bugfix for infinite wait for meta counter ( #1210 )
...
* kafka bugfix, KafkaClientTask::get_meta_status may return META_DOING
when bote META_UNINIT and META_DOING in this->meta_list, without request
for meta data, causing infinite wait for meta counter.
* make code format better
* make code format better
* Construct KafkaMetaList only when necessary
2023-03-09 20:35:50 +08:00
xiehan
a44010091e
Increase linux aio max events. ( #1207 )
2023-03-09 03:20:18 +08:00
xiehan
701be47857
Revert "Clear SSL error state for handlers." ( #1204 )
2023-03-06 16:27:35 +08:00
xiehan
d3d941e799
Optimize SSLWrapper. Change errno.
2023-03-04 17:23:21 +08:00
Xie Han
ed28b28b44
Always reset wbio after feedback.
2023-03-03 22:29:12 +08:00
Xie Han
55de4984e4
Update SSLWrapper. Change BIO_reset time.
2023-03-03 22:02:29 +08:00
Xie Han
959e705f17
Clear SSL error state for handlers.
2023-03-03 20:27:24 +08:00
Xie Han
5c01f0a305
Reset wbio when append failed. Check BIO_reset result.
2023-03-02 20:37:38 +08:00
Xie Han
0cfbf2d61c
Remove SSLWrapper's SSL ex data.
2023-03-02 20:11:22 +08:00
Xie Han
989faa6e80
Unify naming.
2023-02-23 20:45:16 +08:00
Xie Han
844c8ea7bb
Fix OpenSSL 1.0 memleak when using RSA.
2023-02-22 16:35:00 +08:00
Xie Han
a580f0b618
Remove OpenSSL 3 deprecated RSA functions.
2023-02-22 01:38:00 +08:00
Xie Han
bc57100589
Fix RSA includes.
2023-02-20 20:03:13 +08:00
Xie Han
18ecfc1424
Optimize generate_key() speed.
2023-02-19 22:33:47 +08:00
Xie Han
64fbe40555
Use FNV-1a hash to replace SHA1.
2023-02-19 19:58:46 +08:00
Xie Han
c101f4893a
Update kafka scheme checking.
2023-02-13 23:18:24 +08:00
Xie Han
25711543a8
Fix MySQLHandshakeResponse's encode and unify codes
2023-02-13 23:07:40 +08:00
Xie Han
8d93df0a4c
Update CMake for building wfkafka shared lib.
2023-02-12 00:27:28 +08:00
Chanchan
46a5b16661
fix : macos kafka dylib link error
2023-02-11 17:01:02 +08:00
kedixa
34cf780d3b
mysql empty password auth
2023-02-10 20:48:22 +08:00
xiehan
d406ccbd74
Merge pull request #1163 from Barenboim/mysql
...
Support MySQL 8 sha256 and caching_sha2 auth plugin.
2023-02-10 17:58:28 +08:00
Xie Han
47cf47b76d
Check RSA public key format.
2023-02-10 17:37:34 +08:00
Xie Han
d19bf60651
Set auth plugin name to caching sha2 when server requires sha256
2023-02-10 16:59:43 +08:00
Xie Han
195dd5310e
Fix RSA encryption. Fully support sha256 and caching_sha2 now.
2023-02-10 16:09:07 +08:00
Xie Han
486762c8b1
Add MySQL RSA encrypt.
2023-02-10 03:35:54 +08:00
Xie Han
5070039759
Support MySQL sha256 password with ssl
2023-02-09 23:19:49 +08:00
Xie Han
30a4c1333b
Unify codes
2023-02-09 16:05:17 +08:00
Xie Han
be464eb782
Simplify codes.
2023-02-09 03:27:45 +08:00
Xie Han
7638d18f58
Support caching sha2 with fast auth or SSL
2023-02-08 23:11:09 +08:00
Xie Han
f95bb1620d
Send auth_plugin_name in auth request
2023-02-08 20:38:35 +08:00
Xie Han
7068e035ba
Optimize MySQL native password auth
2023-02-08 18:01:28 +08:00
Xie Han
7ae97a070d
Support MySQL auth switch
2023-02-06 22:41:19 +08:00