This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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
2018-03-20 09:06:08 +01:00
..
activitypub Ignore media validation when attaching to status during processing (#6822) 2018-03-19 01:51:19 +01:00
ostatus Serialize mentions in the order they are added (#6836) 2018-03-19 20:19:35 +01:00
settings
activity_tracker.rb Fix stats expiring too quickly because of variable mistake (#6155) 2018-01-02 14:02:53 +01:00
application_extension.rb
delivery_failure_tracker.rb
exceptions.rb Raise Mastodon::HostValidationError when host for HTTP request is private (#6410) 2018-02-24 19:16:11 +01:00
extractor.rb Using double splat operator (#5859) 2017-12-06 11:41:57 +01:00
fast_geometry_parser.rb Fix avatar and header issues by using custom geometry detector (#6515) 2018-02-21 03:40:12 +01:00
feed_manager.rb Do not push status to feed if its reblog is already inserted (#6488) 2018-02-24 05:40:18 +01:00
formatter.rb Remove text requirement when media attached from statuses (#6672) 2018-03-07 08:28:52 +01:00
hash_object.rb
inline_renderer.rb
language_detector.rb Improve language filter (#5724) 2017-11-16 13:51:38 +01:00
provider_discovery.rb Fix XML oEmbed support discovery (#6104) 2017-12-27 03:29:49 +01:00
request.rb request: in the event of failure, try other IPs (#6761) (#6813) 2018-03-20 09:06:08 +01:00
sanitize_config.rb [!] Sanitize incoming classlist properly (#6162) 2018-01-03 03:54:08 +01:00
sidekiq_error_handler.rb Raise Mastodon::HostValidationError when host for HTTP request is private (#6410) 2018-02-24 19:16:11 +01:00
status_filter.rb Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00
status_finder.rb
tag_manager.rb
themes.rb
user_settings_decorator.rb Add preference to always display sensitive media (#6448) 2018-02-09 00:26:57 +01:00
webfinger_resource.rb