You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/lib
Rey Tucker 36b5703796 request: in the event of failure, try other IPs (#6761) (#6813)
* request: in the event of failure, try other IPs (#6761)

In the case where a name has multiple A/AAAA records, we should
try subsequent records instead of immediately failing when we have a
failure on the first IP address.

This significantly improves delivery success when there are network
connectivity problems affecting only IPv4 or IPv6.

* fix method call style

* request_spec: adjust test case to use Addrinfo

* request: Request/open: move private addr check to within begin/rescue

* request_spec: add case to test failover, fix exception check

* Double Addrinfo.foreach so that it correctly yields instances
7 years ago
..
activitypub Ignore media validation when attaching to status during processing (#6822) 7 years ago
ostatus Serialize mentions in the order they are added (#6836) 7 years ago
settings Refactor Setting (#3302) 8 years ago
activity_tracker.rb Fix stats expiring too quickly because of variable mistake (#6155) 7 years ago
application_extension.rb Conditional validations no longer accept strings for if/unless (#3124) 8 years ago
delivery_failure_tracker.rb After 7 days of repeated delivery failures, give up on inbox (#5131) 7 years ago
exceptions.rb Raise Mastodon::HostValidationError when host for HTTP request is private (#6410) 7 years ago
extractor.rb Using double splat operator (#5859) 7 years ago
fast_geometry_parser.rb Fix avatar and header issues by using custom geometry detector (#6515) 7 years ago
feed_manager.rb Do not push status to feed if its reblog is already inserted (#6488) 7 years ago
formatter.rb Remove text requirement when media attached from statuses (#6672) 7 years ago
hash_object.rb
inline_renderer.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 8 years ago
language_detector.rb Improve language filter (#5724) 7 years ago
provider_discovery.rb Fix XML oEmbed support discovery (#6104) 7 years ago
request.rb request: in the event of failure, try other IPs (#6761) (#6813) 7 years ago
sanitize_config.rb [!] Sanitize incoming classlist properly (#6162) 7 years ago
sidekiq_error_handler.rb Raise Mastodon::HostValidationError when host for HTTP request is private (#6410) 7 years ago
status_filter.rb Full-text search for authorized statuses (#6423) 7 years ago
status_finder.rb Raise an error for remote url in StatusFinder (#4776) 8 years ago
tag_manager.rb Introduce OStatus::TagManager (#5008) 7 years ago
themes.rb Add support for multiple themes (#4959) 7 years ago
user_settings_decorator.rb Add preference to always display sensitive media (#6448) 7 years ago
webfinger_resource.rb Allow webfinger controller to reply to user@WEB_DOMAIN in addition to user@LOCAL_DOMAIN (#2351) 8 years ago