Re: Invalid ACL with Dev-18 JIT

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

Re: Invalid ACL with Dev-18 JIT

2013-04-10 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 : > > 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,

Re: Invalid ACL with Dev-18 JIT

2013-04-10 Thread Hiroaki Nakamura
Hi Lukas! 2013/4/11 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! Thank you for your testing! > > > Now you are declaring error and erroffset outside "#i

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, 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 ng

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 "justafe

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 Build options : TARGET = linux2628 CPU = native CC = gcc CFLAGS = -O2 -march=native -g -fno-strict-aliasing OPTIONS = USE_LINUX_SPLICE=1 USE_REGPARM=1 USE_STATIC_PCRE=1 USE_PCRE

RE: Invalid ACL with Dev-18 JIT

2013-04-04 Thread Lukas Tribus
Hi Igor, > error detected while parsing ACL 'adb' : regex '&ad_keyword=' is invalid. Can you apply the attached patch and provide the output from haproxy -vv? It does not fix anything, but it shows what PCRE version you are using and and if JIT is actually enabled. Also, can you give us some

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

Invalid ACL with Dev-18 JIT

2013-04-03 Thread Igor
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? Bests, -Igor