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 to confignet #4331

Closed
BinaryFissionGames opened this issue Nov 1, 2021 · 1 comment · Fixed by #9066
Closed

Add timeout to confignet #4331

BinaryFissionGames opened this issue Nov 1, 2021 · 1 comment · Fixed by #9066
Assignees

Comments

@BinaryFissionGames
Copy link

Is your feature request related to a problem? Please describe.
When dialing, there should be a configurable timeout in these configs. Without these, no timeout is used and depending on the protocol and OS, may take a large amount of time to timeout or not timeout at all.

Describe the solution you'd like
Add a timeout parameter and use it with net.DialTimeout, allowing a configurable timeout when dialing.

@TylerHelmuth
Copy link
Member

Please assign this to me

bogdandrutu pushed a commit that referenced this issue Dec 19, 2023
**Description:** 
Adds a new `dialer_timeout` config option to `confignet` to allow
configuring the timeout of the connection.

**Link to tracking Issue:** 
Closes
#4331

**Testing:** 
Added new unit tests

**Documentation:** 
Updated readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants