removing match overrides (irrelevant)

This commit is contained in:
HoneyryderChuck 2022-03-25 06:19:24 +00:00
parent 2d9d837543
commit 0490175835
2 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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