gavinchou commented on code in PR #57364:
URL: https://github.com/apache/doris/pull/57364#discussion_r2464814561


##########
fe/fe-core/src/main/java/org/apache/doris/mysql/MysqlSslContext.java:
##########
@@ -252,12 +252,38 @@ private boolean handleWrapResult(SSLEngineResult 
sslEngineResult) throws SSLExce
         }
     }
 
-    private boolean handleUnwrapResult(SSLEngineResult sslEngineResult) {
+    private boolean handleUnwrapResult(SSLEngineResult sslEngineResult) throws 
SSLException {
         switch (sslEngineResult.getStatus()) {
             // normal status.
             case OK:
                 return true;
             case CLOSED:
+                int consumed = sslEngineResult.bytesConsumed();

Review Comment:
   duplicated code?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to