mastodon/spec
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
..
controllers Redirect from Web tag timeline to public tag timeline if not signed in (#6633) 2018-03-05 19:29:36 +01:00
fabricators Do not push status to feed if its reblog is already inserted (#6488) 2018-02-24 05:40:18 +01:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures Added FetchRemoteAccountService spec (#6456) 2018-02-10 17:10:57 +01:00
helpers Do not default site_title with site_hostname in InstanceHelper (#6624) 2018-03-04 20:29:49 +01:00
lib request: in the event of failure, try other IPs (#6761) (#6813) 2018-03-20 09:06:08 +01:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Account archive download (#6460) 2018-02-21 23:21:32 +01:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Isolate each specs for cache store (#6450) 2018-02-17 22:35:05 +01:00
requests Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Federated reports (#6570) 2018-02-28 06:54:55 +01:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Count all URLs in text as 23 characters flat, do not count domain part of usernames (#4427) 2017-07-29 00:06:29 +02:00
views Redesign landing page (again) (#6486) 2018-02-22 01:03:48 +01:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00
rails_helper.rb Isolate each specs for cache store (#6450) 2018-02-17 22:35:05 +01:00
spec_helper.rb Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00