This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d9e520fb2 [fix](ssl) fix ssl connection bug for JDBC 8.0.19 (#20659)
3d9e520fb2 is described below

commit 3d9e520fb24d6fa3362f07ec8f39909fe2d8323a
Author: abmdocrt <[email protected]>
AuthorDate: Sun Jun 11 13:50:03 2023 +0800

    [fix](ssl) fix ssl connection bug for JDBC 8.0.19 (#20659)
---
 fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java 
b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
index a9b82166c8..bb717e9888 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlProto.java
@@ -192,12 +192,6 @@ public class MysqlProto {
                 channel.setSslMode(true);
                 LOG.debug("switch to ssl mode.");
                 handshakeResponse = channel.fetchOnePacket();
-                capability = new 
MysqlCapability(MysqlProto.readLowestInt4(handshakeResponse));
-                if (!capability.isClientUseSsl()) {
-                    
ErrorReport.report(ErrorCode.ERR_NONSSL_HANDSHAKE_RESPONSE);
-                    sendResponsePacket(context);
-                    return false;
-                }
             } else {
                 handshakeResponse = clientRequestPacket;
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to