Skip to content

Non-configurable connection timeout (60s) #61

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

Open
jmaslak opened this issue Jan 26, 2025 · 0 comments
Open

Non-configurable connection timeout (60s) #61

jmaslak opened this issue Jan 26, 2025 · 0 comments

Comments

@jmaslak
Copy link

jmaslak commented Jan 26, 2025

The connection timeout is 60 seconds, if the remote end is not properly responding. The current unit test that does a tmeout test is not doing that test -- instead it is doing a test connecting to 1.1.1.2:80 (which is a web server that responds, if the machine you run tests on has internet access), so it's testing against a webserver that gives an error response instead. I'll submit a PR for a test that actually tests a timeout and exposes this 60 second timeout.

It would be ideal if timeouts could be used with Connect().

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

No branches or pull requests

1 participant