chinwagsocial/spec/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 Fix #6657 - Use target instead of origin in Remove activity (#6664) 2018-03-07 03:54:46 +01:00
ostatus Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
settings Add a test for Settings::Extend#settings (#5720) 2017-11-19 04:15:32 +01:00
delivery_failure_tracker_spec.rb After 7 days of repeated delivery failures, give up on inbox (#5131) 2017-09-29 03:16:20 +02:00
extractor_spec.rb Spec Extractor (#3540) 2017-06-04 14:57:02 +02:00
feed_manager_spec.rb Do not push status to feed if its reblog is already inserted (#6488) 2018-02-24 05:40:18 +01:00
formatter_spec.rb Don't normalize URLs in toots (#6134) 2018-01-03 20:51:33 +01:00
hash_object_spec.rb Spec HashObject (#3544) 2017-06-04 14:59:52 +02:00
language_detector_spec.rb Fix filterable_languages method of SettingsHelper (#4966) 2017-09-16 14:59:41 +02:00
provider_discovery_spec.rb A minor change for ProviderDiscovery and spec (#3543) 2017-06-04 14:59:40 +02:00
request_spec.rb request: in the event of failure, try other IPs (#6761) (#6813) 2018-03-20 09:06:08 +01:00
status_filter_spec.rb Fix regression from #3490 - filter out hidden statuses from ancestors/descendants even if the viewer is anonymous (#3752) 2017-06-15 02:00:08 +02:00
status_finder_spec.rb Raise an error for remote url in StatusFinder (#4776) 2017-09-02 17:42:47 +02:00
tag_manager_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
user_settings_decorator_spec.rb Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
webfinger_resource_spec.rb Fix randomly fail (regression from #3560) (#3580) 2017-06-05 10:03:36 +02:00