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

Add timeout parameter to tcp_client::connect() #2682

Open
bburnok opened this issue Mar 22, 2023 · 1 comment
Open

Add timeout parameter to tcp_client::connect() #2682

bburnok opened this issue Mar 22, 2023 · 1 comment

Comments

@bburnok
Copy link

bburnok commented Mar 22, 2023

If the syslog server becomes unreachable, tcp_client::connect can take up to 2 minutes to throw a Connection timed out error.
Please make the timeout value configurable to avoid stalling the application for so long.

@tt4g
Copy link
Contributor

tt4g commented Jul 4, 2023

PR is welcome.

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

No branches or pull requests

3 participants