Skip to content

[cherry-pick](SSL) Fix ssl connection close 2.1 (#38587)#38677

Merged
dataroaring merged 1 commit intoapache:branch-2.1from
Hastyshell:fix-ssl-connection-close-2.1
Aug 1, 2024
Merged

[cherry-pick](SSL) Fix ssl connection close 2.1 (#38587)#38677
dataroaring merged 1 commit intoapache:branch-2.1from
Hastyshell:fix-ssl-connection-close-2.1

Conversation

@Hastyshell
Copy link
Copy Markdown
Collaborator

Proposed changes

Issue Number: close #38590

If SSL connection closed, a specified packet will sent to indicate the closing of connection. The SSL engine will be shut down and output an empty unwrapped result.

Therefore, handle this case correctly to avoid buffer overflow by breaking the reading flow and do the cleanup stuff initiatively.

## Proposed changes

Issue Number: close apache#38590 

If SSL connection closed, a specified packet will sent to indicate the
closing of connection. The SSL engine will be shut down and output an
empty unwrapped result.

Therefore, handle this case correctly to avoid buffer overflow by
breaking the reading flow and do the cleanup stuff initiatively.
@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Hastyshell
Copy link
Copy Markdown
Collaborator Author

run buildall

@Hastyshell Hastyshell changed the title [cherry-pick](SSL) Fix ssl connection close 2.1 [cherry-pick](SSL) Fix ssl connection close 2.1 (#38587) Aug 1, 2024
@dataroaring dataroaring merged commit cafcf7a into apache:branch-2.1 Aug 1, 2024
@yiguolei yiguolei mentioned this pull request Sep 5, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants