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

fix x509 cert timeout issue #8741

Merged
merged 2 commits into from
Jan 26, 2021
Merged

fix x509 cert timeout issue #8741

merged 2 commits into from
Jan 26, 2021

Conversation

viperstars
Copy link
Contributor

@viperstars viperstars commented Jan 24, 2021

I encountered a timeout issue when using x509 cert input plugin.

This timeout issue can be reproduced by the test case in commit 9fd1066 or this configuration

[[inputs.x509_cert]]
sources = ["https://www.influxdata.com:443"]
timeout = "15s"

I fixed this issue by removing redundant code and test cases are added.

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝 ✅ CLA has been signed. Thank you!

@sjwang90 sjwang90 added the fix pr to fix corresponding bug label Jan 26, 2021
@ssoroka ssoroka merged commit eda1dbc into influxdata:master Jan 26, 2021
ssoroka pushed a commit that referenced this pull request Jan 27, 2021
(cherry picked from commit eda1dbc)
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants