mirror of https://github.com/mastodon/mastodon
* Fix connect timeout not being enforced The loop was catching the timeout exception that should stop execution, so the next IP would no longer be within a timed block, which led to requests taking much longer than 10 seconds. * Use timeout on each IP attempt, but limit to 2 attempts * Fix code style issue * Do not break Request#perform if no block given * Update method stub in spec for Request * Move timeout inside the begin/rescue block * Use Resolv::DNS with timeout of 1 to get IP addresses * Update Request spec to stub Resolv::DNS instead of Addrinfo * Fix Resolve::DNS stubs in Request spec |
7 years ago | |
---|---|---|
.. | ||
activitypub | 7 years ago | |
ostatus | 7 years ago | |
settings | 7 years ago | |
activity_tracker.rb | 7 years ago | |
application_extension.rb | 8 years ago | |
delivery_failure_tracker.rb | 8 years ago | |
entity_cache.rb | 7 years ago | |
exceptions.rb | 7 years ago | |
extractor.rb | 7 years ago | |
fast_geometry_parser.rb | 7 years ago | |
feed_manager.rb | 7 years ago | |
formatter.rb | 7 years ago | |
hash_object.rb | 8 years ago | |
inline_renderer.rb | 7 years ago | |
language_detector.rb | 7 years ago | |
potential_friendship_tracker.rb | 7 years ago | |
request.rb | 7 years ago | |
rss_builder.rb | 7 years ago | |
sanitize_config.rb | 7 years ago | |
sidekiq_error_handler.rb | 7 years ago | |
status_filter.rb | 7 years ago | |
status_finder.rb | 8 years ago | |
tag_manager.rb | 8 years ago | |
themes.rb | 8 years ago | |
user_settings_decorator.rb | 7 years ago | |
webfinger_resource.rb | 8 years ago |