So with SOCKS, connections may be reused when needle->host.name and check->host.name differ. I think that the "else" branch should only be taken for HTTP proxies in normal (non-tunnel) mode. There is also an existing bug that the proxy name/port/type is not compared for SSL ...
@Frenche that association certainly is wrong. unix domain socket support should not be bundled with proxy support! Contributor iboukris commented Feb 24, 2017 @bagder I'm not talking about the ifdef bug, this I'm fixing right now. I'm talking on current design that when using unix-socke...