From 91fc7bca2fb37415e6545da5b284a219651d2ded Mon Sep 17 00:00:00 2001 From: dcy Date: Fri, 6 Dec 2024 18:21:08 +0800 Subject: [PATCH] ssl supplyment:fix non encrypted --- .../com/actiontech/dble/net/connection/BackendConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6cdb52a25..ac10671b7 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 {