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

Decrease timeout on socket #12232

Closed
cyberduck opened this issue Mar 19, 2006 · 4 comments
Closed

Decrease timeout on socket #12232

cyberduck opened this issue Mar 19, 2006 · 4 comments
Assignees
Labels
Milestone

Comments

@cyberduck
Copy link
Collaborator

30a5d35 created the issue

When a server is offline, Cyberduck doesn't stop connecting, it hangs.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

It should timeout if you wait long enough (30s).

@cyberduck
Copy link
Collaborator Author

ffed3ff commented

30s is too low. I have a server that takes well over a minute for initial response. Can the timeout value be made configurable? I'd prefer it as high as 300s. The connection.pool.timeout preference option doesn't do it.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

You can change the connection timeout using the property connection.timeout (in milliseconds!)

defaults write ch.sudo.cyberduck connection.timeout 15000

@cyberduck
Copy link
Collaborator Author

ffed3ff commented

Thanks! That fixed it for me.

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

No branches or pull requests

2 participants