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

Re-create HTTP connection to Graylog 60 update iterations #483

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

mpfz0r
Copy link
Contributor

@mpfz0r mpfz0r commented Oct 16, 2023

We are using HTTP keep-alive, which might never pick up any changes to the DNS name of Graylog.

Since there is no parameter in golang's http.Client to do this, simply re-create a new HTTP connection every 60 calls.

Fixes #479

We are using HTTP keep-alive, which otherwise might never pick
up any changes to the DNS name of Graylog.

Since there is no parameter in golang's http.Client to do this,
simply re-create a new HTTP connection every 60 calls.
@thll thll self-requested a review October 16, 2023 09:39
@thll thll merged commit f87982d into master Oct 16, 2023
5 checks passed
@thll thll deleted the issue-479 branch October 16, 2023 10:15
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.

Re-resolve Graylog server hostname on interval
2 participants