Skip to content

[receiver/splunk_hec] Fix read_header_timeout and write_timeout configuration options getting overridden#49483

Open
dyl10s wants to merge 2 commits into
open-telemetry:mainfrom
dyl10s:dylan/splunk-hec-http-config
Open

[receiver/splunk_hec] Fix read_header_timeout and write_timeout configuration options getting overridden#49483
dyl10s wants to merge 2 commits into
open-telemetry:mainfrom
dyl10s:dylan/splunk-hec-http-config

Conversation

@dyl10s

@dyl10s dyl10s commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Description

There were some hard coded timeout values for read_header_timeout and write_timeout set in the receiver startup. Even though the config options were exposed they would get overridden.

This PR moves the defaults into createDefaultConfig so a users configuration options will overrride them.

Testing

Test written to test that the config options apply to the server

Authorship

  • I, a human, wrote this pull request description myself.

@dyl10s dyl10s marked this pull request as ready for review July 6, 2026 16:03
@dyl10s dyl10s requested review from a team and atoulme as code owners July 6, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant