[BUG Report] BUG/MINOR: parse: refer curproxy instead of proxy

2014-12-18 Thread Godbach
Hi Willy, Attached is a patch for fixing a bug which should refer curproxy but refer proxy by mistake. In fact, I found this issue when I was trying to change proxy list to double linked list for more convenient and united operation. By the way, is it necessary for HAProxy to make this

Re: [BUG Report] BUG/MINOR: parse: refer curproxy instead of proxy

2014-12-18 Thread Willy Tarreau
Hi Godbach, On Thu, Dec 18, 2014 at 04:20:01PM +0800, Godbach wrote: Hi Willy, Attached is a patch for fixing a bug which should refer curproxy but refer proxy by mistake. I think you're right. In fact this bug has no effect because during the parsing, curproxy == proxy since it's inserted