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

Don't set a default whole request timeout. #41

Closed

Conversation

utkarshkukreti
Copy link

I don't think a binding should set such a low value (or any value) by default.

http://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT_MS.html

@utkarshkukreti
Copy link
Author

And if you merge this, could you please also bump the version on crates.io? I'm unable to compile cargo on a slow connection because of this.

@utkarshkukreti
Copy link
Author

/ping

@alexcrichton
Copy link
Owner

r? @carllerche

@carllerche
Copy link
Contributor

Pretty late, but I don't personally have a huge opinion. I don't like having unlimited timeouts. I think @alexcrichton likes having a 30 second default timeout.

@alexcrichton
Copy link
Owner

Hey @utkarshkukreti, I'm taking over the curl crate for now and I've got an API rewrite over at #105 which I believe should address this as well. If you'd like to take a look though feel free!

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.

3 participants