We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Request may take a long time than a configured timeout or even hang because TCP connect phase has no timeout.
minreq/src/connection.rs
Line 236 in cdfd2a4
minreq::Request::new(Method::Get, "http://54.158.248.248:91").with_timeout(1000).send();
Above code will hang for a long time even though we have configured timeout for 1sec.
@neonmoe Happy to work on resolving this once you confirm that this is actually an issue.
The text was updated successfully, but these errors were encountered:
So it seems, as there is a TcpStream::connect_timeout to cover that case. If you want to work on this, feel free!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Issue
Request may take a long time than a configured timeout or even hang because TCP connect phase has no timeout.
minreq/src/connection.rs
Line 236 in cdfd2a4
Steps to reproduce
Above code will hang for a long time even though we have configured timeout for 1sec.
@neonmoe Happy to work on resolving this once you confirm that this is actually an issue.
The text was updated successfully, but these errors were encountered: