From 0490175835365aa876cdf4a5f8b0ef72af979c12 Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Fri, 25 Mar 2022 06:19:24 +0000 Subject: [PATCH] removing match overrides (irrelevant) --- lib/httpx/plugins/proxy.rb | 6 ------ lib/httpx/plugins/proxy/ssh.rb | 6 ------ 2 files changed, 12 deletions(-) diff --git a/lib/httpx/plugins/proxy.rb b/lib/httpx/plugins/proxy.rb index dafc634e..06507b84 100644 --- a/lib/httpx/plugins/proxy.rb +++ b/lib/httpx/plugins/proxy.rb @@ -174,12 +174,6 @@ module HTTPX @origin.port = proxy_uri.port end - def match?(uri, options) - return super unless @options.proxy - - super && @options.proxy == options.proxy - end - def coalescable?(connection) return super unless @options.proxy diff --git a/lib/httpx/plugins/proxy/ssh.rb b/lib/httpx/plugins/proxy/ssh.rb index 761ec2a9..a65e1396 100644 --- a/lib/httpx/plugins/proxy/ssh.rb +++ b/lib/httpx/plugins/proxy/ssh.rb @@ -78,12 +78,6 @@ module HTTPX end module ConnectionMethods - def match?(uri, options) - return super unless @options.proxy - - super && @options.proxy == options.proxy - end - # should not coalesce connections here, as the IP is the IP of the proxy def coalescable?(*) return super unless @options.proxy