Re: haproxy startup at boot too quick

2018-05-14 Thread Dave Chiluk
Assuming you are running an Ubuntu archive version of haproxy you should consider opening a bug in launchpad as well. https://launchpad.net/ubuntu/+source/haproxy/+filebug It sounds like there's a missing dependency in the unit file against DNS or network, but I haven't looked into it other than

Modifying TCP payload via LUA action & yield issues

2018-05-14 Thread Grant Byers
Hi all, Is it at all feasible to modify a TCP payload via a custom LUA action in a stable manner? ie, something like this; function enrich_query(txn) --- Duplicate request. :set() will replace the request, if possible local req = txn.req:dup() -- if error or client closes

Re: req.body_param([])

2018-05-14 Thread Jarno Huuskonen
Hi Simon, On Mon, May 14, Simon Schabel wrote: > HA-Proxy version 1.7.5-2~bpo8+1 2017/05/27 > > The setting for the logging was done in the /default /section as: > >    log-format %Ci:%Cp\ [%t]\ %ft\ %b/%s\ %Tq/%Tw/%Tc/%Tr/%Tt\ %st\ > %B\ %cc\ %cs\ %tsc\ %ac/%fc/%bc/%sc/%rc\ %sq/%bq\ %hr\ %hs\

Re: req.body_param([])

2018-05-14 Thread Simon Schabel
Dear Jarno, Thanks for your message. Ok, my /haproxy -vv/ output is as follows: HA-Proxy version 1.7.5-2~bpo8+1 2017/05/27 Copyright 2000-2017 Willy Tarreau Build options :   TARGET  = linux2628   CPU = generic   CC  = gcc   CFLAGS  = -g -O2 -fPIE