Re: Strange behavior of sample fetches in http-response replace-header option

2017-02-08 Thread Holger Just
Hi Christopher, Christopher Faulet wrote: > You did well to reopen the issue. And you're right, this bug is similar > to the one on redirect rules. I submitted a patch and it will be merged > soon by Willy (see "[PATCH] 2 fixes for replace-header rules"). Thank you for the fix! Best, Holger

Re: Strange behavior of sample fetches in http-response replace-header option

2017-02-08 Thread Christopher Faulet
Le 07/02/2017 à 16:41, Holger Just a écrit : Hi all, I just checked and the issue is still present in current master. Could you maybe have a look at this issue? It smells a bit like this could potentially be connected to the issue discussed in the thread "Lua sample fetch logging ends up in

Re: Strange behavior of sample fetches in http-response replace-header option

2017-02-07 Thread Holger Just
Hi all, I just checked and the issue is still present in current master. Could you maybe have a look at this issue? It smells a bit like this could potentially be connected to the issue discussed in the thread "Lua sample fetch logging ends up in response when doing http-request redirect".

Strange behavior of sample fetches in http-response replace-header option

2016-10-05 Thread Holger Just
Hi there, I observed some strange behavior when trying to use a `http-response replace-header` rule. As soon as I start using fetched samples in the replace-fmt string, the resulting header value is garbled or empty (depending on the HAProxy version). Please consider the config in the attachment