8000 Add mechanisms for specifying connect timeouts and read/write deadlines by colinmarc · Pull Request #139 · colinmarc/hdfs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add mechanisms for specifying connect timeouts and read/write deadlines #139

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

Merged
merged 4 commits into from
Aug 1, 2018

Conversation

colinmarc
Copy link
Owner
@colinmarc colinmarc commented Aug 1, 2018

Connect timeouts are enabled by allowing users to specify a DialFunc. Fixes #70, #76, #130.

8000
This allows specifying connection timeouts, and also allows things
like using SOCKS proxies.
This introduces a SetDeadline method to FileReader, FileWriter,
BlockReader, BlockWriter, and ChecksumReader. In all those cases,
an error is returned immediately only when the connection already
exists; otherwise, SetDeadline is called after lazily establishing
the connection.
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.

1 participant
0