about summary refs log tree commit diff
path: root/spec/controllers/follower_accounts_controller_spec.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-07 02:05:38 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-07 02:05:38 +0200
commit58276715be8a7e6b518ebd33cd2d4fd82ae81b2c (patch)
treea77fbe1947cd3a430449fb6b6bd7f8cbc0220113 /spec/controllers/follower_accounts_controller_spec.rb
parent23aeef52cc4540b4514e9f3b935b21f0530a3746 (diff)
Fix support for HTTP proxies (#11245)
* Disable incorrect check for hidden services in Socket

Hidden services can only be accessed with an HTTP proxy, in which
case the host seen by the Socket class will be the proxy, not the
target host.

Hidden services are already filtered in `Request#initialize`.

* Use our Socket class to connect to HTTP proxies

Avoid the timeout logic being bypassed

* Add support for IP addresses in Request::Socket

* Refactor a bit, no need to keep the DNS resolver around
Diffstat (limited to 'spec/controllers/follower_accounts_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions