Re: [BUG] core.msleep yields forever

2016-02-19 Thread Cyril Bonté
Hi Robert, I add Thierry to the discussion (see below for the details). Le 19/02/2016 20:15, Robert Samuel Newson a écrit : Hi, I think I've found a bug in core.msleep (and core.sleep); foo.lua; core.register_service("foo", "http", function(applet) core.msleep(1) local body = "hello"

[BUG] core.msleep yields forever

2016-02-19 Thread Robert Samuel Newson
Hi, I think I've found a bug in core.msleep (and core.sleep); foo.lua; core.register_service("foo", "http", function(applet) core.msleep(1) local body = "hello" applet:set_status(200) applet:add_header("Content-Length", string.len(body)) applet:start_response() applet:send(body)

SSL Client Cert based Auth with Exceptions

2016-02-19 Thread Sebastian Schubert
Hi there, we're in the process of migrating from citrix netscaler to haproxy and facing a configuration problem. in this scenario all requests have to use a ssl client cert, but for some urls and user-agents there's no cert needed. i get a 403 "go away", but am not asked to show my client

Using operators in ACLs

2016-02-19 Thread Dmitry Sivachenko
Hello, I want to define ACL which will evaluate to true if a current number of connections to a particular backend is greater than a number of usable servers in that backend multiplied on some constant: be_conn(BACK) > nbsrv(BACK) * N So far I came up with the following solution: frontend

Re: Truncated captured request headers

2016-02-19 Thread Adam Renberg
Hi Cyril, The documentation does indeed explain it, my bad. Changing to use req.fhdr solves my problem. Thank you very much for the swift and helpful response! // Adam On Thu, Feb 18, 2016 at 7:32 PM Cyril Bonté wrote: > Hi Adam, > > Le 18/02/2016 11:54, Adam Renberg a

HTTP keep-alive reuse count & max-age

2016-02-19 Thread Michał Pasierb
Hi, Is it possible to influence how HAProxy handles HTTP keep-alives to backend servers ? I want it to close TCP connection after x many HTTP requests. Also a max-age time for single TCP connection cloud be useful. These features are available in F5 LTM OneConnect (