<div dir="ltr">I think ELB constitutes pretty wide usage. ;-)<div><br></div><div>People do tend to use the layer-7 load balancing, but given undertow's extensive support for http/2 & spdy, the advantages of using layer-4 load balancing are significant. I agree it is a very straightforward implementation. You mostly just parse one line before handing off the logic to some other handler. I'm not familiar with undertow's code base, but I'd be happy to work with someone on it.</div><div><br></div><div>--Chris</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 3:59 AM, Jason T. Greene <span dir="ltr"><<a href="mailto:jason.greene@redhat.com" target="_blank">jason.greene@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><br>Sent from my iPhone</div><span class=""><div><br>On Nov 2, 2015, at 10:24 PM, Christopher Smith <<a href="mailto:cbsmith@gmail.com" target="_blank">cbsmith@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>ELB supports layer-4 load balancing, which would just multiplex inbound TCP connections (with an added bonus of offloading TLS), but I'm concerned about losing client IP addresses. ELB actually has a way to address this with HAProxy's PROXY protocol: <a href="http://www.haproxy.org/download/1.6/doc/proxy-protocol.txt" target="_blank">http://www.haproxy.org/download/1.6/doc/proxy-protocol.txt</a></div><div><br></div><div>However, I haven't found a place for setting up the PROXY protocol support in undertow. Has anyone done this? Is there a way I should be going about it?</div></blockquote><br></span><div>We should probably add support for haproxy's protocol if it has wide usage like this. It looks fairly straightforward.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Jason</div></font></span></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Chris</div>
</div>