Skip to content

Access violation issue while using LDClientConfigBuilder_ServiceEndpoints_RelayProxyBaseURL for HTTP and HTTPS proxy workaround #438

@Mayank-Rk-Gupta

Description

@Mayank-Rk-Gupta

Is this a support request?
No

Describe the bug
I'm experiencing an access violation error while using the LDClientConfigBuilder_ServiceEndpoints_RelayProxyBaseURL for proxy configuration. This issue arises because LaunchDarkly v3 currently lacks direct support for proxy settings. Despite following the correct implementation steps, the error persists. I’ve attached a screenshot for reference to provide more context on the issue. Please investigate this matter furthe

To reproduce
See the attached screenshot
Expected behavior
Should not give me the access violation.

SDK version
3.6.3

Language version, developer tools
C++17 on Visual Studio 2022 ( Version 17.8.14).

OS/platform
Windows 10.

Additional context

Example code

const auto proxy = getProxy();
    if (!proxy.empty())	
        LDClientConfigBuilder_ServiceEndpoints_RelayProxyBaseURL(ConfigBuilder, proxy.c_str());

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingc bindingsRelated to the C bindings for an SDK.documentationImprovements or additions to documentationpackage: sdk/clientIssues affecting the C++ Client SDKwaiting for feedbackIndicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions