-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add a helper method for handling random network timeouts #89
Comments
Appears there's similar code in ronin-recon/lib/ronin/recon/builtin/web/dir_enum.rb Lines 93 to 110 in 92b2623
|
Should this new Mixin be included in |
Or should we include it just in |
@AI-Mozi that is a good question. I would say only include it where we are currently needing to handle network timeouts and retries. |
It appears that
Async::HTTP::Internet.instance
can raise anErrno::ETIMEDOUT
exception when the connection to the HTTP server times out. We should decide whether to ignore timeouts, or add a helper method that can retry the given block possibly with asleep(1)
delay and incremental counter. Such a helper method could be provided by aRonin::Recon::Mixins::Retry
mixin module.Pseudocode
The text was updated successfully, but these errors were encountered: