Skip to content

Conversation

@keelerm84
Copy link
Member

@keelerm84 keelerm84 commented Nov 10, 2025

Supports:

  • idleConnTimeout
  • maxIdleConns
  • maxIdleConnsPerHost
  • disableKeepAlives

Note

Adds new ldhttp transport options (idle timeout, max idle conns, per-host, disable keep-alives) and exposes them via HTTPConfiguration.HTTPOptions with comprehensive tests.

  • Networking/HTTP:
    • ldhttp transport options: add IdleConnTimeoutOption, MaxIdleConnsOption, MaxIdleConnsPerHostOption, DisableKeepAlivesOption; wired into NewHTTPTransport to set corresponding http.Transport fields.
    • Builder passthrough: add HTTPOptions([]ldhttp.TransportOption) to ldcomponents.HTTPConfigurationBuilder; options accumulate and work alongside ConnectTimeout, proxy, and headers.
  • Tests:
    • Add unit tests in ldhttp/http_transport_test.go and ldcomponents/http_configuration_builder_test.go covering defaults, each option, combinations, and interaction with existing builder settings.

Written by Cursor Bugbot for commit 43752e3. This will update automatically on new commits. Configure here.

Supports:

  - idleConnTimeout
  - maxIdleConns
  - maxIdleConnsPerHost
  - disableKeepAlives
@keelerm84 keelerm84 requested a review from a team as a code owner November 10, 2025 19:54
@keelerm84
Copy link
Member Author

Introducing some new HTTP config types to support the work in launchdarkly/ld-relay#545

@keelerm84 keelerm84 merged commit e2d9a7c into v7 Nov 12, 2025
45 of 47 checks passed
@keelerm84 keelerm84 deleted the mk/sdk-1529/http-client-config branch November 12, 2025 19:14
This was referenced Nov 12, 2025
keelerm84 added a commit that referenced this pull request Nov 12, 2025
🤖 I have created a release *beep* *boop*
---


##
[7.14.0](v7.13.4...v7.14.0)
(2025-11-12)


### Features

* Add new transport configuration options
([#320](#320))
([e2d9a7c](e2d9a7c))


---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Keeler <mkeeler@launchdarkly.com>
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.

3 participants