Re: Invalid ACL with Dev-18 JIT

2013-04-11 Thread Willy Tarreau
Hi Hiroaki, On Thu, Apr 11, 2013 at 09:48:05AM +0900, Hiroaki Nakamura wrote: Hi Lukas! 2013/4/11 Lukas Tribus luky...@hotmail.com: Hi Hiroaki! I made a patch to fix this problem. After applying this patch, it seems work correctly now. Thank you, it does work with your patch

Re: Invalid ACL with Dev-18 JIT

2013-04-10 Thread Hiroaki Nakamura
Hi Lukas, Thanks for your bug report. Sorry for not responding earlier. Actually I did not watch this mailing list for some time. I made a patch to fix this problem. After applying this patch, it seems work correctly now. /etc/haproxy/haproxy.cfg ``` frontend all 0.0.0.0:80 default_backend

RE: Invalid ACL with Dev-18 JIT

2013-04-10 Thread Lukas Tribus
Hi Hiroaki! I made a patch to fix this problem. After applying this patch, it seems work correctly now. Thank you, it does work with your patch applied, great! Now you are declaring error and erroffset outside #ifdef USE_PCRE_JIT, but actually use them only inside. This causes a compiler

Re: Invalid ACL with Dev-18 JIT

2013-04-10 Thread Hiroaki Nakamura
Hi Lukas! 2013/4/11 Lukas Tribus luky...@hotmail.com: Hi Hiroaki! I made a patch to fix this problem. After applying this patch, it seems work correctly now. Thank you, it does work with your patch applied, great! Thank you for your testing! Now you are declaring error and erroffset

Re: Invalid ACL with Dev-18 JIT

2013-04-04 Thread Igor
After patched, -vv shows: HA-Proxy version 1.5-dev18 2013/04/03 Copyright 2000-2013 Willy Tarreau w...@1wt.eu Build options : TARGET = linux2628 CPU = native CC = gcc CFLAGS = -O2 -march=native -g -fno-strict-aliasing OPTIONS = USE_LINUX_SPLICE=1 USE_REGPARM=1

RE: Invalid ACL with Dev-18 JIT

2013-04-04 Thread Lukas Tribus
Hi Igor, error detected while parsing ACL 'side2' : regex '\b(?:\d{1,3}\.){3}\d{1,3}\b' is invalid. The config works fine without JIT enable. Yes, I can reproduce this. In fact, it does not work _at all_ and fails even if the expression just contains a few letters, like literally

Re: Invalid ACL with Dev-18 JIT

2013-04-03 Thread Willy Tarreau
On Wed, Apr 03, 2013 at 05:42:45PM +0800, Igor wrote: Try with PCRE JIT, but failed with: error detected while parsing ACL 'adb' : regex 'ad_keyword=' is invalid. is this my ACL's problem or bug? JIT has received very little testing yet, so all possibilities are open ! Willy