Re: unique-id-header and req.hdr

2017-01-30 Thread sendmaildevnull
Thanks everyone for the help! On Fri, Jan 27, 2017 at 12:37 PM Patrick Hemmer wrote: > > > On 2017/1/27 15:31, Ciprian Dorin Craciun wrote: > > On Fri, Jan 27, 2017 at 10:24 PM, Patrick Hemmer > wrote: > > Something

Re: unique-id-header and req.hdr

2017-01-27 Thread Patrick Hemmer
On 2017/1/27 15:31, Ciprian Dorin Craciun wrote: > On Fri, Jan 27, 2017 at 10:24 PM, Patrick Hemmer > wrote: >> Something that might satisfy both requests, why not just append to the >> existing request-id? >> >> unique-id-format %[req.hdr(X-Request-ID)],%{+X}o\ >>

Re: unique-id-header and req.hdr

2017-01-27 Thread Ciprian Dorin Craciun
On Fri, Jan 27, 2017 at 10:24 PM, Patrick Hemmer wrote: > Something that might satisfy both requests, why not just append to the > existing request-id? > > unique-id-format %[req.hdr(X-Request-ID)],%{+X}o\ > %ci:%cp_%fi:%fp_%Ts_%rt:%pid > > This does result in a

Re: unique-id-header and req.hdr

2017-01-27 Thread Patrick Hemmer
On 2017/1/27 14:38, Cyril Bonté wrote: > Le 27/01/2017 à 20:11, Ciprian Dorin Craciun a écrit : >> On Fri, Jan 27, 2017 at 9:01 PM, Cyril Bonté >> wrote: >>> Instead of using "unique-id-header" and temporary headers, you can >>> use the >>> "unique-id" fetch sample [1] :

Re: unique-id-header and req.hdr

2017-01-27 Thread Cyril Bonté
Le 27/01/2017 à 20:11, Ciprian Dorin Craciun a écrit : On Fri, Jan 27, 2017 at 9:01 PM, Cyril Bonté wrote: Instead of using "unique-id-header" and temporary headers, you can use the "unique-id" fetch sample [1] : frontend public bind *:80 unique-id-format %{+X}o\

Re: unique-id-header and req.hdr

2017-01-27 Thread Ciprian Dorin Craciun
On Fri, Jan 27, 2017 at 9:01 PM, Cyril Bonté wrote: > Instead of using "unique-id-header" and temporary headers, you can use the > "unique-id" fetch sample [1] : > > frontend public > bind *:80 > unique-id-format %{+X}o\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid >

Re: unique-id-header and req.hdr

2017-01-27 Thread Cyril Bonté
header. I attempted to use the technique mentioned here (http://discourse.haproxy.org/t/unique-id-adding-only-if-header-not-present/67/2) and listed below but it is not working for me. Basically, I'm unable to check/get value for unique-id-header (e.g. req.hdr(TMP-X-Request-Id)). Any ideas? frontend

Re: unique-id-header and req.hdr

2017-01-27 Thread Ciprian Dorin Craciun
enerated header and another with the > user provided header. I attempted to use the technique mentioned here > (http://discourse.haproxy.org/t/unique-id-adding-only-if-header-not-present/67/2) > and listed below but it is not working for me. Basically, I'm unable to > check/get value for uni

unique-id-header and req.hdr

2017-01-26 Thread sendmaildevnull
( http://discourse.haproxy.org/t/unique-id-adding-only-if-header-not-present/67/2) and listed below but it is not working for me. Basically, I'm unable to check/get value for unique-id-header (e.g. req.hdr(TMP-X-Request-Id)). Any ideas? frontend public bind *:80 unique-id-format %{+X}o\ %ci