mastodon/app
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
..
chewy Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00
controllers If DEFAULT_LOCALE is set, enforce it instead of HTTP request locale (#6817) 2018-03-18 16:57:04 +01:00
helpers Revert #6479, hide sensitive text/images from OpenGraph previews (#6818) 2018-03-18 20:33:07 +01:00
javascript Weblate translations 20180319 (#6827) 2018-03-19 15:12:06 +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 bugfixes and gem update (#6831) 2018-03-19 20:08:56 +01:00
policies Account archive download (#6460) 2018-02-21 23:21:32 +01:00
presenters Redesign landing page (again) (#6486) 2018-02-22 01:03:48 +01:00
serializers Serialize mentions in the order they are added (#6836) 2018-03-19 20:19:35 +01:00
services Add entropy to download filenames (#6811) 2018-03-17 17:39:28 +01:00
validators Validation of count works even when text of status is nil (#6429) 2018-02-04 12:32:41 +01:00
views Display content warning in mail notification emails (#6832) 2018-03-19 20:12:20 +01:00
workers Log BackupWorker backtrace, delete Backup if retries exhausted (#6769) 2018-03-13 08:15:24 +01:00