Commit Graph
259 Commits
Author SHA1 Message Date
Xie Han 25711543a8 Fix MySQLHandshakeResponse's encode and unify codes 2023-02-13 23:07:40 +08:00
kedixa 34cf780d3b mysql empty password auth 2023-02-10 20:48:22 +08:00
Xie Han 47cf47b76d Check RSA public key format. 2023-02-10 17:37:34 +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 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 89ffe576ad Remove MySQLBytesRequest. Add MySQLAuthSwitchRequest. 2023-02-06 19:32:50 +08:00
Xie Han 1a144f3bc0 Simplify MySQL auth_plugin_data, always 20 bytes 2023-02-06 18:20:25 +08:00
Xie Han f7285fe708 Add MySQLBytesRequest 2023-02-06 02:57:51 +08:00
XieHan defd4d5922 Add class MySQLAuthResponse to support auth switch 2023-02-05 03:50:11 +08:00
XieHan b9170b29a5 Add checking overflow 2023-02-05 02:35:53 +08:00
XieHan b2c27d023f Decode more info from MySQL init handshake package, add CLIENT_PLUGIN_AUTH 2023-02-03 23:00:21 +08:00
ruki 7db91f8bc8 improve xmake.lua 2023-01-04 00:32:29 +08:00
Xie Han 95ee03aaab Optimize the method for generating DNS request id. 2023-01-01 03:17:46 +08:00
Xie Han 9e63a67990 DNS request avoids zero request id. 2022-12-29 22:07:52 +08:00
XieHan e3096ae607 Change function name. 2022-12-29 03:00:28 +08:00
kedixa fe150bf02f fix kafka double free metadata bug 2022-12-23 16:12:23 +08:00
xiehan 823f3cf9a8 Merge pull request #1120 from Barenboim/master
fix kafka_broker_get_leader bug
2022-12-18 03:44:11 +08:00
XieHan f80c5a8eb2 fix kafka_broker_get_leader bug 2022-12-18 03:35:32 +08:00
xiehan 05cd03df48 Merge pull request #1117 from Barenboim/master
Fix kafka error handling bug.
2022-12-17 01:13:40 +08:00
XieHan 16a452b4af Fix kafka error handling bug. 2022-12-17 01:07:57 +08:00
xiehan ee815aad73 Merge pull request #1104 from chanchann/master
feat : support xmake
2022-12-10 20:52:57 +08:00
Chanchan fce0cc12c8 feat : support xmake build 2022-12-10 20:37:42 +08:00
XieHan 1ea98fbef6 ServiceSSLWrapper -> ServerSSLWrapper 2022-12-10 20:09:29 +08:00
XieHan bd2da69e5e Fix Kafka client double free bug. 2022-12-09 02:00:19 +08:00
xiehan 87d95beaef Update KafkaMessage.h 2022-11-01 17:51:05 +08:00
xiehan ec88b474cd Merge pull request #1049 from Barenboim/master
Update some codes
2022-09-18 03:05:11 +08:00
XieHan ddbcc0708d Reorder some member functions. 2022-09-18 02:24:52 +08:00
XieHan 06bb8869a2 Fix grammar 2022-09-18 02:05:18 +08:00
XieHan 0201e332b3 modify some code styles 2022-09-05 22:00:51 +08:00
XieHan 309604fef3 Add copy constructors for KafkaDataTypes 2022-09-03 23:28:53 +08:00
XieHan b737366290 Allow leading spaces in inline command 2022-08-25 22:08:55 +08:00
kedixaliu 1c8c37aef9 fix redis parse response bug 2022-08-25 19:24:59 +08:00
kedixa 3562427afc simplify code 2022-08-22 21:53:06 +08:00
kedixa 4848ebfa8d redis parser support inline command 2022-08-22 20:49:16 +08:00
xiehan b450051781 Merge pull request #1013 from Barenboim/master
Fix error codes when kafka sasl auth failed.
2022-08-10 00:48:54 +08:00
XieHan eb1315d2ff Fix return value of KafkaResponse::parse_response 2022-08-09 16:25:02 +08:00
XieHan 0b94481c6c error init to 0 2022-08-08 22:49:03 +08:00
XieHan 1b77788357 Fix EBADMSG bug when sasl auth failed 2022-08-08 22:25:04 +08:00
XieHan 433346c520 fix kafka sasl handshake bug 2022-08-08 12:28:11 +08:00
XieHan 8f36783a14 Fix error codes when kafka sasl auth failed. 2022-08-07 00:10:12 +08:00
xiehan efb58113ca Merge pull request #1011 from holmes1412/master
MySQL : check NEWDECIMAL as string
2022-08-04 18:35:17 +08:00
holmes1412 19d5391446 MySQL : check NEWDECIMAL as string 2022-08-04 18:31:38 +08:00
XieHan d412fbb391 optimize code style 2022-08-03 19:22:44 +08:00
zhuleiwang a6076cac10 kafka: fix sasl parse error 2022-08-03 19:02:42 +08:00
zhuleiwang 8d5e3c773b kafka: fix sasl parse error 2022-08-03 18:59:35 +08:00