about summary refs log tree commit diff
path: root/app/workers/removal_worker.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-07 02:05:38 +0200
committerThibaut Girka <thib@sitedethib.com>2019-07-07 13:53:09 +0200
commita0b614f10acef03ade34cdae498b254059e1ba1d (patch)
treeb3531b51d75689f61e453ee4049efb7c76e49488 /app/workers/removal_worker.rb
parent7039dca12cf926fecbb2eb4fbba1461af5cb91c2 (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 'app/workers/removal_worker.rb')
0 files changed, 0 insertions, 0 deletions