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

Support 0 as a "no timeout" setting #46

Merged
merged 3 commits into from
May 10, 2016
Merged

Support 0 as a "no timeout" setting #46

merged 3 commits into from
May 10, 2016

Conversation

cjhenck
Copy link
Contributor

@cjhenck cjhenck commented Apr 27, 2016

If you are working behind a load balancer the load balancer might handle this and send an EOF. In that case, you want to have no read and write timeouts at all, so we should support the 0 setting as "unlimited" just like the Connection itself.

If you are working behind a load balancer the load balancer might handle this and send an EOF.  In that case, you want to have no read and write timeouts at all, so we should support the 0 setting as "unlimited" just like the Connection itself.
@Acconut
Copy link
Member

Acconut commented Apr 28, 2016

Thank you a lot; this looks very good. Could you please update the flag's description, too (https://github.com/cjhenck/tusd/blob/patch-1/cmd/tusd/main.go#L58)?

@cjhenck
Copy link
Contributor Author

cjhenck commented Apr 29, 2016

Done!

@Acconut Acconut merged commit af6e65a into tus:master May 10, 2016
@Acconut
Copy link
Member

Acconut commented May 10, 2016

Thank you a again. This will land in the next release.

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