Skip to content

Provide "LDConfigSetProxyURI" in the 3.x client-side C/C++ SDK #426

Open

Description

@ngangomsamananda

Is your feature request related to a problem? Please describe.
We are stuck on the end-of-life LDSDK v2.5.2 because "LDConfigSetProxyURI" is not available in the v3.x client-side C/C++ SDK.

  • Our large enterprise application needs to connect to LaunchDarkly through a web proxy as some customers require it to get our software operational in their environment (for installation or login issues).
  • Our application currently relies on v2.5.2 LDConfigSetProxyURI to make this connection.
  • LDSDK v2.5.x reached end of life (EOL) on 2024-06-01 https://docs.launchdarkly.com/sdk/concepts/supported-versions.
  • We need to upgrade to v3.x to remain on a supported version.
  • We attempted an upgrade from v2.5.2 to v3.5.0 but it failed and had to be reverted due to the inability to manually configure proxy servers.
  • We see that connecting to LaunchDarkly through a web proxy is called out as not yet available in version 3: https://docs.launchdarkly.com/sdk/features/web-proxy#client-side-sdks.

Describe the solution you'd like
Support for LDConfigSetProxyURI in the v3.x client-side C/C++ SDK for connecting to LaunchDarkly through a web proxy.

Describe alternatives you've considered

  • We upgraded to v3.5.0 but found the functionality missing.

  • We confirmed in the LDSDK documentation that this feature is available in the client-side C++ SDK's version 2.x only. It is not yet available in version 3.0.

    Additional context
    Add any other context about the feature request here.

Activity

  1. added
    package: sdk/client
    on Jul 23, 2024
  2. changed the title [-]Replacement of "LDConfigSetProxyURI" not available in the new SDK.[/-] [+]Provide "LDConfigSetProxyURI" in the 3.x client-side C/C++ SDK[/+] on Jul 26, 2024
  3. cwaldren-ld commented on Aug 5, 2024

    @cwaldren-ld
    Contributor

    Hi @ngangomsamananda , you filed this issue earlier: #394

    Was the workaround I provided not sufficient, or has the requirements changed?

  4. ngangomsamananda commented on Aug 6, 2024

    @ngangomsamananda
    Author

    @cwaldren-ld the requirements have changed. Could you take up this on priority? We are stuck in the upgrade process. Thanks.

  5. cwaldren-ld commented on Aug 6, 2024

    @cwaldren-ld
    Contributor

    Ok, what are the new requirements? Why does the previous workaround no longer work?

  6. ngangomsamananda commented on Aug 7, 2024

    @ngangomsamananda
    Author

    The workaround LDClientConfigBuilder_ServiceEndpoints_RelayProxyBaseURL which you had provided supports only HTTP/HTTPS proxy. For certain use case we need a similar API of LDConfigSetProxyURI in new SDK for SOCKS proxies.

  7. cwaldren-ld commented on Aug 7, 2024

    @cwaldren-ld
    Contributor

    Is it SOCKS4 or SOCKS5 or both? I will file a feature request, but I cannot promise any timeline.

  8. ngangomsamananda commented on Aug 8, 2024

    @ngangomsamananda
    Author

    Hi @cwaldren-ld I got know to we need to support all kinds of proxy currently available in the world including HTTP/HTTPS and SOCKS. In the old version (v2.5.2) LDConfigSetProxyURI all types of proxy https://github.com/launchdarkly/c-client-sdk/blob/main/include/launchdarkly/config.h#L106
    https://curl.se/ is the where the list of supported proxy is available in old version of SDK.
    Since we have a larger number of customers and the proxy is depending on the customer setup, we would consider any type of proxy currently available.

  9. ngangomsamananda commented on Aug 8, 2024

    @ngangomsamananda
    Author

    We need the same feature of LDConfigSetProxyURI in the new SDK.

  10. ngangomsamananda commented on Sep 30, 2024

    @ngangomsamananda
    Author

    Hi @cwaldren-ld, do you have idea how long this might take to complete? I am asking this only because if we know rough estimates we can plan the SDK upgrade accordingly.

  11. cwaldren-ld commented on Oct 1, 2024

    @cwaldren-ld
    Contributor

    Hi @ngangomsamananda , I do not have an estimate. I can raise this internally.

    Please send me an email at cwaldren@launchdarkly.com from your corporate email address so I can associate your company with the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: sdk/client

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions