Skip to content

Commit

Permalink
ssl supplyment:fix non encrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
dcy10000 committed Dec 6, 2024
1 parent 949a06c commit 91fc7bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 91fc7bc

Please sign in to comment.