On Tue, Jun 28, 2022 at 10:11:32AM +0200, Christian Ruppert wrote: > On 2022-06-22 04:54, Willy Tarreau wrote: > > Hi Christian, > > > > On Tue, Jun 21, 2022 at 11:05:09PM +0200, Christian Ruppert wrote: > >> Hey guys, > >> > >> is there any news on this or got this one just lost? I couldn't find a > >> response to it so I assume it just got lost. > >> Or is there anything against it? > >> To bad forwarding doesn't work and since this mail is quite old > >> already: > >> https://www.mail-archive.com/[email protected]/msg39689.html > > > > Oh it definitely got lost in the noise. Could someone please repost it > > with a slightly clearer description and fixing wrapping issues so that > > we can apply it ? > > > > Thanks! > > Willy > > Not sure if he's still around so I think it's ok if we do that. > Attached the patch, based on his one. > Should be backported to at least 2.6, 2.5 and 2.4 IMHO. > Perhaps even 2.2? IIRC it got 5.4 support as well. > > Tested against the current 2.7 master: > ./haproxy -vv | grep -i lua > OPTIONS = USE_PCRE2=1 USE_PCRE2_JIT= USE_THREAD=1 USE_LIBCRYPT=1 > USE_OPENSSL=1 USE_LUA=1 USE_ZLIB= USE_SLZ=1 USE_NS=1 USE_51DEGREES= > USE_WURFL= USE_SYSTEMD= USE_PROMEX= > Feature list : +EPOLL -KQUEUE +NETFILTER -PCRE -PCRE_JIT +PCRE2 > -PCRE2_JIT +POLL +THREAD +BACKTRACE -STATIC_PCRE -STATIC_PCRE2 +TPROXY > +LINUX_TPROXY +LINUX_SPLICE +LIBCRYPT +CRYPT_H -ENGINE +GETADDRINFO > +OPENSSL +LUA +ACCEPT4 -CLOSEFROM -ZLIB +SLZ +CPU_AFFINITY +TFO +NS +DL > +RT -DEVICEATLAS -51DEGREES -WURFL -SYSTEMD -OBSOLETE_LINKER +PRCTL > -PROCCTL +THREAD_DUMP -EVPORTS -OT -QUIC -PROMEX -MEMORY_PROFILING > Built with Lua version : Lua 5.4.2 >
Thanks, applied! -- William Lallemand

