httptoolkit / jvm-http-proxy-agent

A JVM agent that automatically forces a proxy for HTTP(S) connections and trusts MitM certificates, for all major JVM HTTP clients
Apache License 2.0
69 stars 21 forks source link

How to set the ip or hostname to not go through the proxy. #17

Open 666asd opened 1 month ago

pimterry commented 1 month ago

Hi @666asd, I'm afraid that's not supported. PRs welcome if you're interested - this is definitely possible, but it might be quite a lot of work and it's not something I need personally so I'm unlikely to implement this myself.

It depends on your use case, but if you're using an intercepting mitm proxy like HTTP Toolkit, you may be able to use TLS passthrough options and similar as an alternative (to define hostnames within the proxy whose traffic is forwarded untouched, as if it was sent directly).