In general you are much better off using LoadBalancingProxyClient
(even if there is only one server). SimpleProxyClient uses a 1-1
connection mapping, while LoadBalancingProxyClient uses connection
pools and in general is much more sophisticated.
I am not sure what to do about SimpleProxyClient, I think it should
probably just be deprecated and removed in a future release.
Stuart
On Thu, Dec 15, 2016 at 10:26 AM, Hicks, Matt <matt(a)matthicks.com> wrote:
In
https://github.com/undertow-io/undertow/blob/master/examples/src/main/jav...
a LoadBalancingProxyClient and a reverse proxy server are being used to
proxy HTTPS, but is all of that necessary?
I'm attempting to proxy from my current code:
SimpleProxyClientProvider proxyClient = new SimpleProxyClientProvider(uri);
ProxyHandler proxyHandler = Handlers.proxyHandler(proxyClient);
To add support to proxy SSL. The proxying is local and both the originating
server and the server being proxied to are using the exact same SSL
certificate. Is there something I can add to this to make it work right, or
do I have to create a LoadBalancingProxyClient?
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev