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

Make dial timeout configurable #468

Merged
merged 5 commits into from
Sep 24, 2021
Merged

Make dial timeout configurable #468

merged 5 commits into from
Sep 24, 2021

Conversation

magiconair
Copy link
Member

@magiconair magiconair commented Sep 23, 2021

This patch makes the uacp.Dialer configurable and allows to configure the dial timeout for establishing the uucp connection.

Fixes #464

@magiconair
Copy link
Member Author

I think my biggest concern with this change is that it enforces a dial timeout and that will be non-zero since it defaults to the request timeout. There is no way to have no dial timeout. This is different from before.

@magiconair
Copy link
Member Author

I'll merge this and then we start testing this on our systems.

@magiconair magiconair merged commit 88d1cc5 into main Sep 24, 2021
@magiconair magiconair deleted the issue-464-dial-timeout branch September 24, 2021 08:31
}

// DialTimeout sets the timeout for establishing the UACP connection.
// Defaults to DefaultDialTimeout. Set to zero for no timeout.
Copy link
Member

Choose a reason for hiding this comment

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

Does DefaultDialTimeout exist?

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.

Allow Timeout when Listing Endpoints/Dial
2 participants