dakrone / clj-http

An idiomatic clojure http client wrapping the apache client. Officially supported version.
http://clojars.org/clj-http
MIT License
1.77k stars 408 forks source link

Allow NoopHostNameVerifier to be set for SOCKS Proxy #647

Open dharrigan opened 3 months ago

dharrigan commented 3 months ago

It's useful, during testing, when using a SOCKS Proxy, to allow the HostnameVerifier to be set to a NoopHostNameVerifier - similar to how non SOCKS proxy connections allow this to be done.

This change allows a NoopHostNameVerifier to be used if the key :insecure (or :insecure?) is set true in the config settings during make-socks-proxied-conn-manager.

-=david=-