Re: IPv6 & IPv4 backend with proxy_bind

2013-11-22 Thread SplitIce
Attached is the patch, This is the first time I have created a variable or really done anything inside the http request processing flow so feel free to let me know if there is a better way to do something or if I have any edge cases. This patch provides a $upstream_connecting variable which conta

Re: IPv6 & IPv4 backend with proxy_bind

2013-11-22 Thread SplitIce
Ruslan, its funny you should mention this, I am testing a patch to do just that at the moment. Once I am certain that its not leaking memory and I have reviewed it in regards to the nginx code standards Ill post it in this email thread in case it is of use for others. On Fri, Nov 22, 2013 at 11:

Re: IPv6 & IPv4 backend with proxy_bind

2013-11-22 Thread Ruslan Ermilov
On Tue, Nov 19, 2013 at 09:09:34PM +1030, SplitIce wrote: > An IPv6 based fallback is not the only solution we want to support, > ultimately we would like to be able to load-balance between them as well. > An error_page based solution would not assist. > > I also get the feeling that such a hack w