<div dir="ltr">Thanks for the info Stuart. I&#39;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 &lt;<a href="mailto:sdouglas@redhat.com">sdouglas@redhat.com</a>&gt; 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 &lt;<a href="mailto:matt@matthicks.com" class="gmail_msg" target="_blank">matt@matthicks.com</a>&gt; wrote:<br class="gmail_msg">
&gt; In<br class="gmail_msg">
&gt; <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">
&gt; a LoadBalancingProxyClient and a reverse proxy server are being used to<br class="gmail_msg">
&gt; proxy HTTPS, but is all of that necessary?<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; I&#39;m attempting to proxy from my current code:<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; SimpleProxyClientProvider proxyClient = new SimpleProxyClientProvider(uri);<br class="gmail_msg">
&gt; ProxyHandler proxyHandler = Handlers.proxyHandler(proxyClient);<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; To add support to proxy SSL. The proxying is local and both the originating<br class="gmail_msg">
&gt; server and the server being proxied to are using the exact same SSL<br class="gmail_msg">
&gt; certificate.  Is there something I can add to this to make it work right, or<br class="gmail_msg">
&gt; do I have to create a LoadBalancingProxyClient?<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; _______________________________________________<br class="gmail_msg">
&gt; undertow-dev mailing list<br class="gmail_msg">
&gt; <a href="mailto:undertow-dev@lists.jboss.org" class="gmail_msg" target="_blank">undertow-dev@lists.jboss.org</a><br class="gmail_msg">
&gt; <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>