<div dir="ltr">Thanks for the info Stuart. I'll switch. LoadBalancingProxyClient should just be a drop-in replacement for SimpleProxyClientProvider, right?</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 14, 2016 at 5:34 PM Stuart Douglas <<a href="mailto:sdouglas@redhat.com">sdouglas@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In general you are much better off using LoadBalancingProxyClient<br class="gmail_msg">
(even if there is only one server). SimpleProxyClient uses a 1-1<br class="gmail_msg">
connection mapping, while LoadBalancingProxyClient uses connection<br class="gmail_msg">
pools and in general is much more sophisticated.<br class="gmail_msg">
<br class="gmail_msg">
I am not sure what to do about SimpleProxyClient, I think it should<br class="gmail_msg">
probably just be deprecated and removed in a future release.<br class="gmail_msg">
<br class="gmail_msg">
Stuart<br class="gmail_msg">
<br class="gmail_msg">
On Thu, Dec 15, 2016 at 10:26 AM, Hicks, Matt <<a href="mailto:matt@matthicks.com" class="gmail_msg" target="_blank">matt@matthicks.com</a>> wrote:<br class="gmail_msg">
> In<br class="gmail_msg">
> <a href="https://github.com/undertow-io/undertow/blob/master/examples/src/main/java/io/undertow/examples/http2/Http2Server.java" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/undertow-io/undertow/blob/master/examples/src/main/java/io/undertow/examples/http2/Http2Server.java</a><br class="gmail_msg">
> a LoadBalancingProxyClient and a reverse proxy server are being used to<br class="gmail_msg">
> proxy HTTPS, but is all of that necessary?<br class="gmail_msg">
><br class="gmail_msg">
> I'm attempting to proxy from my current code:<br class="gmail_msg">
><br class="gmail_msg">
> SimpleProxyClientProvider proxyClient = new SimpleProxyClientProvider(uri);<br class="gmail_msg">
> ProxyHandler proxyHandler = Handlers.proxyHandler(proxyClient);<br class="gmail_msg">
><br class="gmail_msg">
> To add support to proxy SSL. The proxying is local and both the originating<br class="gmail_msg">
> server and the server being proxied to are using the exact same SSL<br class="gmail_msg">
> certificate. Is there something I can add to this to make it work right, or<br class="gmail_msg">
> do I have to create a LoadBalancingProxyClient?<br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> undertow-dev mailing list<br class="gmail_msg">
> <a href="mailto:undertow-dev@lists.jboss.org" class="gmail_msg" target="_blank">undertow-dev@lists.jboss.org</a><br class="gmail_msg">
> <a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br class="gmail_msg">
</blockquote></div>