Skip to content

[native] Centralize sslcontext creation.#22378

Merged
amitkdutta merged 1 commit intoprestodb:masterfrom
amitkdutta:ssl_util
Mar 31, 2024
Merged

[native] Centralize sslcontext creation.#22378
amitkdutta merged 1 commit intoprestodb:masterfrom
amitkdutta:ssl_util

Conversation

@amitkdutta
Copy link
Contributor

@amitkdutta amitkdutta commented Mar 31, 2024

Currently SSL context creation code is duplicated between PrestoServer and tests. This can led to a situation where tests create context in a different way than server, and thus skipping server's sslcontext creation code path. Here we centralize sslcontext creation, so that server and tests use exactly same code path.

@amitkdutta amitkdutta requested a review from a team as a code owner March 31, 2024 04:05
@amitkdutta amitkdutta changed the title [native] [WIP] Centralize sslcontext creation. [native] Centralize sslcontext creation. Mar 31, 2024
@amitkdutta amitkdutta requested a review from xiaoxmeng March 31, 2024 06:53
Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amitkdutta LGTM. Thanks!

@amitkdutta amitkdutta requested review from a team, tanjialiang and xiaoxmeng March 31, 2024 18:13
@amitkdutta amitkdutta merged commit 53fc6ab into prestodb:master Mar 31, 2024
@wanglinsong wanglinsong mentioned this pull request May 1, 2024
48 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.

2 participants