diff --git a/src/main/java/com/actiontech/dble/net/connection/BackendConnection.java b/src/main/java/com/actiontech/dble/net/connection/BackendConnection.java index 6cdb52a258..ac10671b75 100644 --- a/src/main/java/com/actiontech/dble/net/connection/BackendConnection.java +++ b/src/main/java/com/actiontech/dble/net/connection/BackendConnection.java @@ -343,7 +343,7 @@ protected void handle(ByteBuffer dataBuffer, boolean isContainSSLData) throws IO } else { //ssl buffer -> bottomRead buffer transferToReadBuffer(dataBuffer); - if (maybeUseSSL()) { + if (isSupportSSL && maybeUseSSL()) { //ssl login request(non ssl)&client hello(ssl) super.handle(getBottomReadBuffer(), true); } else {