lixiaoyong12 opened a new issue, #39516:
URL: https://github.com/apache/doris/issues/39516

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   所有版本
   
   ### What's Wrong?
   
   通过SSL认证后,当SQL的长度 在[16388, 16413] 
范围内会导致SQL解析不完整,无法进行查询,原因是result.compack()之前的0到limit是真正的mysql报文内容,在result.compack()后,应是0到position才是真正的mysql报文内容,此时,limit和capacity相等,那么在while
 (mysqlPacketLength > result.limit())条件就无法进入,导致第二个SSL报文无法读取
   
   
![image](https://github.com/user-attachments/assets/175a1462-2fe5-4a07-8c23-356edc17f0e2)
   
   
   ### What You Expected?
   
   任意长度SQl都可以查询
   
   ### How to Reproduce?
   
   构造SQL长度在[16388, 16413] 范围,通过SSL模式下进行查询
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to