Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2201.8.x] Add support for configuring server name to be used in the SSL SNI extension #2241

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

TharmiganK
Copy link
Contributor

Purpose

Add support for configuring the server name to be used in the SSL SNI extension.
Related issue: ballerina-platform/ballerina-library#7435

Introduced a new field named serverName in the secureSocket config under ClientConfiguration.

Examples

http:ClientConfiguration clientConf = {
    secureSocket: {
        cert: {
            path: common:TRUSTSTORE_PATH,
            password: "ballerina"
        },
        serverName: "localhost"
    }
};

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility
  • Checked the impact on OpenAPI generation

Copy link

sonarqubecloud bot commented Dec 5, 2024

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.75%. Comparing base (3a1c27a) to head (dae3954).
Report is 7 commits behind head on 2201.8.x.

Additional details and impacted files
@@              Coverage Diff               @@
##             2201.8.x    #2241      +/-   ##
==============================================
- Coverage       81.76%   81.75%   -0.01%     
  Complexity        562      562              
==============================================
  Files             393      393              
  Lines           21522    21534      +12     
  Branches         4810     4812       +2     
==============================================
+ Hits            17597    17605       +8     
- Misses           2929     2938       +9     
+ Partials          996      991       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TharmiganK TharmiganK merged commit d3f0472 into 2201.8.x Dec 6, 2024
8 checks passed
@TharmiganK TharmiganK deleted the bug-fixes-2201.8.x branch December 6, 2024 02:11
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