Re: format string fetch method?

2016-10-08 Thread Willy Tarreau
On Sat, Oct 08, 2016 at 10:24:35AM +0200, Thierry Fournier wrote: > Sure, we already speak about this, and if i'm remember correctly, you > are some difficulties for defining the stack and its consumed memory. > We can speak about this. OK great. > The RPN stack for expression is a great

Re: format string fetch method?

2016-10-08 Thread Thierry Fournier
Hi Willy & Patrick, On Sat, 8 Oct 2016 10:13:53 +0200 Willy Tarreau wrote: > Hi Patrick, > > On Thu, Oct 06, 2016 at 01:37:35PM -0400, Patrick Hemmer wrote: > > While working with the `http-request set-var` (and a few other places, > > but primarily here), it would be very useful

format string fetch method?

2016-10-06 Thread Patrick Hemmer
While working with the `http-request set-var` (and a few other places, but primarily here), it would be very useful to be able to use haproxy format strings to define the variable. For example http-request set-var(txn.foo) fmt(%ci:%cp:%Ts) Or even http-request set-var(txn.foo)