Re: using comma in argument to sample fetch & converter

2016-12-07 Thread Michael Ezzell
On Dec 7, 2016 19:17, "Cyril Bonté" wrote: For example, you can provide an "urlencoded" string and use url_dec as a converter : http-response add-header X-test %[str("foo%2Cbar"),url_dec] Nice one. Also, with the regsub() converter, in the first parameter, \\x2c does

Re: using comma in argument to sample fetch & converter

2016-12-07 Thread Cyril Bonté
Hi, On 07/12/2016 21:40, Patrick Hemmer wrote: How do you use a comma inside an argument to a sample fetcher or converter? For example, the sample fetch str, if I try to do `str(foo,bar)` I get the error fetch method 'str' : end of arguments expected at position 2, but got ',bar' All

Re: capture header VS set-var

2016-12-07 Thread Patrick Hemmer
On 2016/12/5 03:35, thierry.fourn...@arpalert.org wrote: > On Sun, 4 Dec 2016 09:17:00 -0500 > Patrick Hemmer wrote: > >> I was mostly just wondering about differences between using things like >> `capture request header`/`http-request capture` and `http-request

using comma in argument to sample fetch & converter

2016-12-07 Thread Patrick Hemmer
How do you use a comma inside an argument to a sample fetcher or converter? For example, the sample fetch str, if I try to do `str(foo,bar)` I get the error fetch method 'str' : end of arguments expected at position 2, but got ',bar' All variations such as `str('foo,bar')`, `str(foo\,bar)`,

Questions regarding HA setup for MySQL

2016-12-07 Thread Michele Mazzucco
Hello, I am considering using HAProxy to build an HA system where HAProxy instances are used to forward SQL queries to a MySQL cluster with a master-master configuration. I went through an old email of Willy, see http://www.formilux.org/archives/haproxy/1003/3259.html, but still could not