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

Secure Socket parsing fails when additional fields exists in the config #7136

Open
xlight05 opened this issue Aug 8, 2022 · 0 comments
Open

Comments

@xlight05
Copy link

xlight05 commented Aug 8, 2022

Description:

Consider the following scenario which fails to extract the config map.

listener http:Listener securedEP = new (9090,
    httpVersion = "1.1",
    secureSocket = {
        key: {
            path: "./security/ballerinaKeystore.p12",
            password: "ballerina"
        }
    }
);

However the following code works.

listener http:Listener securedEP = new (9090,
    secureSocket = {
        key: {
            path: "./security/ballerinaKeystore.p12",
            password: "ballerina"
        }
    },
    httpVersion = "1.1"
);

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@xlight05 xlight05 self-assigned this Aug 8, 2022
@anupama-pathirage anupama-pathirage transferred this issue from ballerina-platform/module-ballerina-c2c Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants