[PATCH] DOC/MINOR: Suggestions for percent encoding in param()

2022-06-03 Thread astrothayne
From: Thayne McCombs Add some documentation on how to handle percent encoded characters in input to the param() converter. --- doc/configuration.txt | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index d9f47c2eb..9505fc71

Re: [PATCH 2/2] MINOR : converter: add param converter

2022-06-03 Thread Thayne McCombs
Just wondering (maybe something to add to the doc or test): Should this handle URL encoded parameter names or parameter values? It probably should not, because that's makes the converter less general. But it would certainly be useful to explain how to properly retrieve those values. Simply

Re: [ANNOUNCE] haproxy-2.6.0

2022-06-03 Thread Willy Tarreau
On Fri, Jun 03, 2022 at 11:43:32PM +0200, Vincent Bernat wrote: > ? 31 May 2022 17:56 +02, Willy Tarreau: > > > HAProxy 2.6.0 was released on 2022/05/31. It added 57 new commits > > after version 2.6-dev12, essentially small bug fixes, QUIC counters > > and doc updates. > > It's available on hap

SV: SV: Traffic from HAproxy get error 401 and 500

2022-06-03 Thread Henning Svane
Hi Baptiste Fantastic it works.:-) All the strange Exchange errors solved😊 with 3 lines deleted:-) Thanks Regards Henning Fra: Baptiste Sendt: 3. juni 2022 08:43 Til: Henning Svane Cc: Christopher Faulet ; haproxy@formilux.org Emne: Re: SV: Traffic from HAproxy get error 401 and 500 Hi Hennin

Re: [ANNOUNCE] haproxy-2.6.0

2022-06-03 Thread Vincent Bernat
❦ 31 May 2022 17:56 +02, Willy Tarreau: > HAProxy 2.6.0 was released on 2022/05/31. It added 57 new commits > after version 2.6-dev12, essentially small bug fixes, QUIC counters > and doc updates. It's available on haproxy.debian.net. No QUIC support as neither Debian nor Ubuntu has the appropri

Re: deviceatlas compiler error

2022-06-03 Thread David CARLIER
My pleasure Amol, So for the remaining "failures", if this is those you mention Performing Test HAS_STD_ATOMICS -- Performing Test HAS_STD_ATOMICS - Failed -- Performing Test HAS_BUILTINS_ATOMICS -- Performing Test HAS_BUILTINS_ATOMICS - Success -- Performing Test HAS_ATTR_COLD -- Performing Test

Re: deviceatlas compiler error

2022-06-03 Thread Amol Arote
Thank you sir , For Prompt Reply I install Some dependancies on CentOS 7.6 as per your last update libcurl-devel , libzip-devel But Seen Some failed Test Below , So let us know what Further Changes to be done OR can Ignore these Failed Test

Re: Rate Limiting with token/leaky bucket algorithm

2022-06-03 Thread Seena Fallah
Do you see any diff between my conf and the one in the link? :/ On Fri, 3 Jun 2022 at 17:37, Aleksandar Lazic wrote: > Hi. > > On Fri, 3 Jun 2022 17:12:25 +0200 > Seena Fallah wrote: > > > When using the below config to have 100req/s rate-limiting after passing > > the 100req/s all of the reqs

Re: Rate Limiting with token/leaky bucket algorithm

2022-06-03 Thread Aleksandar Lazic
Hi. On Fri, 3 Jun 2022 17:12:25 +0200 Seena Fallah wrote: > When using the below config to have 100req/s rate-limiting after passing > the 100req/s all of the reqs will deny not reqs more than 100req/s! > ``` > listen test > bind :8000 > stick-table type ip size 100k expire 30s store h

Rate Limiting with token/leaky bucket algorithm

2022-06-03 Thread Seena Fallah
When using the below config to have 100req/s rate-limiting after passing the 100req/s all of the reqs will deny not reqs more than 100req/s! ``` listen test bind :8000 stick-table type ip size 100k expire 30s store http_req_rate(1s) http-request track-sc0 src http-request deny den

Re: haproxy 2.6.0 and quic

2022-06-03 Thread Shawn Heisey
On 6/3/22 06:47, Markus Rietzler wrote: my build command was make TARGET=linux-glibc USE_OPENSSL=1 SSL_INC=/opt/quictls/include SSL_LIB=/opt/quictls/lib64 LDFLAGS="-Wl,-rpath,/opt/quictls/lib64" ADDLIB="-lz -ldl" USE_ZLIB=1 USE_PCRE=1 USE_PCRE=yes USE_LUA=1 LUA_LIB_NAME=lua5.3  LUA_INC=/usr/i

Re: haproxy 2.6.0 and quic

2022-06-03 Thread Jarno Huuskonen
Hi, On Fri, 2022-06-03 at 14:47 +0200, Markus Rietzler wrote: > > Hi, > > we are using haproxy 2.4.17 at the moment. i have compiled haproxy 2.6 > with quic support and quctls > > when i no check my config i get > > /opt/haproxy-260# /opt/haproxy-260/sbin/haproxy -c -f haproxy.cfg > [NOTICE]  

haproxy 2.6.0 and quic

2022-06-03 Thread Markus Rietzler
Hi, we are using haproxy 2.4.17 at the moment. i have compiled haproxy 2.6 with quic support and quctls when i no check my config i get /opt/haproxy-260# /opt/haproxy-260/sbin/haproxy -c -f haproxy.cfg [NOTICE] (35905) : haproxy version is 2.6.0-a1efc04 [NOTICE] (35905) : path to executa

Re: [PATCH 2/2] MINOR : converter: add param converter

2022-06-03 Thread Tim Düsterhus
Thayne, On 6/3/22 09:51, astrotha...@gmail.com wrote: Add a converter that extracts a parameter from string of delimited key/value pairs. Just wondering (maybe something to add to the doc or test): Should this handle URL encoded parameter names or parameter values? It probably should not, be

Re: [PATCH 2/2] MINOR : converter: add param converter

2022-06-03 Thread Thayne McCombs
There were a couple of things I wasn't entirely sure about: 1. Should this allow specifying the separator between key and value, rather than always using "="? 2. How should it handle the case where there isn't a value given, the current implementation treats "a&b" as equivalent to "a=&b"

[PATCH 2/2] MINOR : converter: add param converter

2022-06-03 Thread astrothayne
From: Thayne McCombs Add a converter that extracts a parameter from string of delimited key/value pairs. Fixes: #1697 --- doc/configuration.txt | 19 + reg-tests/converter/param.vtc | 80 +++ src/sample.c | 64

[PATCH 1/2] CLEANUP/MINOR: sample: factor out common code for setting buffer

2022-06-03 Thread astrothayne
From: Thayne McCombs A couple of functions in sample.c have almost identical code for updating the samples string buffer. This adds a new helper function to do this and uses it in both places. --- include/haproxy/buf.h | 22 ++ src/sample.c | 29 ++---