Uh oh!
There was an error while loading. Please reload this page.
[fix](mysql) Fix SSL unwrap infinite loop on handshake failure - #57364
Conversation
Thearas
commented
Oct 27, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Uh oh!
There was an error while loading. Please reload this page.
dataroaring
commented
Oct 27, 2025
run buildall |
doris-robot
commented
Oct 27, 2025
TPC-DS: Total hot run time: 188085 ms |
doris-robot
commented
Oct 27, 2025
ClickBench: Total hot run time: 28.28 s |
hello-stephen
commented
Oct 27, 2025
FE UT Coverage ReportIncrement line coverage |
hello-stephen
commented
Oct 27, 2025
FE Regression Coverage ReportIncrement line coverage |
Yukang-Lian
commented
Oct 29, 2025
run buildall |
hello-stephen
commented
Oct 29, 2025
FE Regression Coverage ReportIncrement line coverage |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
| result.limit(result.position() + packetLen); | ||
| readLen = readAll(result, false); | ||
| if (isSslMode && remainingBuffer.position() == 0 && result.hasRemaining()) { | ||
| if (isSslMode && !isSslHandshaking && remainingBuffer.position() == 0 && result.hasRemaining()) { |
There was a problem hiding this comment.
i noticed
publicvoidsetSslMode(booleansslMode) {
isSslMode = sslMode;
if (isSslMode) {
// channel in ssl mode means handshake phase has finished.isSslHandshaking = false;
}
}Is it necessary to add this check?
| if (sslEngine == null) { | ||
| return; | ||
| } | ||
| boolean previousHandshaking = isSslHandshaking; |
There was a problem hiding this comment.
same situation,before completeHandshake execute,the isSslMode == true
d21a7bd to
4ad1f7eComparePR approved by at least one committer and no changes requested. |
gavinchou
commented
Nov 1, 2025
run buildall |
doris-robot
commented
Nov 1, 2025
TPC-DS: Total hot run time: 189911 ms |
doris-robot
commented
Nov 1, 2025
ClickBench: Total hot run time: 27.84 s |
hello-stephen
commented
Nov 1, 2025
FE Regression Coverage ReportIncrement line coverage |
Uh oh!
There was an error while loading. Please reload this page.
…on handshake failure apache#57364 (apache#5763) cherry-picks from apache#57364 Related to apache#5448 Co-authored-by: abmdocrt <lianyukang@selectdb.com>
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)