Re: Add 401, 403 retries at l7

2020-11-12 Thread Jonathan Matthews
On Thu, 12 Nov 2020 at 12:21, Julien Pivotto wrote: > Dear, > > Please find a patch to add 401 and 403 l7 retries, see > https://github.com/haproxy/haproxy/issues/948 Hey Julien, This really feels like an anti-feature, to be frank! If a specific backend server can’t auth anyone, don’t have it

HTTP fetch req.cook_cnt() always return 0

2020-11-12 Thread Maciej Zdeb
Hi, With such sample config: frontend front mode http http-request set-var(txn.abc) req.cook_cnt() http-response set-header abc %[var(txn.abc)] bind x.x.x.x:80 default_backend back backend back mode http server srv y.y.y.y:80 check When sending 3 cookies with curl: cu

Add 401, 403 retries at l7

2020-11-12 Thread Julien Pivotto
Dear, Please find a patch to add 401 and 403 l7 retries, see https://github.com/haproxy/haproxy/issues/948 -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu From f71e0b2eb69303fa59645fefda3960fb2a9eb7fb Mon Sep 17 00:00:00 2001 From: Julien Pivotto