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

Configurable timeouts #11

Merged
merged 2 commits into from
Nov 9, 2014
Merged

Configurable timeouts #11

merged 2 commits into from
Nov 9, 2014

Conversation

dm3
Copy link
Contributor

@dm3 dm3 commented Nov 9, 2014

Previously there was no way to configure timeouts without calling the FTPClient directly.
Timeouts should be more prominent in the API as they are an important part of ensuring that whatever is using the client is robust. Especially the data-timeout-ms which, when not set, will result in the thread hanging indefinitely on an inactive connection.
Defaults are currently set to the backwards-compatible values, but I would be for changing the default data timeout to something non-infinite.

miner added a commit that referenced this pull request Nov 9, 2014
@miner miner merged commit 812fc8b into miner:master Nov 9, 2014
@miner
Copy link
Owner

miner commented Nov 9, 2014

Thanks for the fix. The new release is now on Clojars, clj-ftp 0.3.2.

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.

2 participants