Re: Modify response via Lua

2016-08-20 Thread thierry . fournier
On Thu, 4 Aug 2016 18:44:03 + (UTC) G H wrote: > I'm having some confusion modifying the HTTP response in Lua service. I have > the below: > > core.register_action("headers", { "http-res" }, function(txn) > local data = txn.res:get() > while data ~= nil do >

Re: haproxy does not correctly handle MSS on Freebsd

2016-08-20 Thread Lukas Tribus
Hi Simon, Packets's segment should be 16344 as the advertised value. Wrong. The negotiated value is a maximum (the M in MSS means maximum), not a guaranteed value. There is nothing wrong with TCP segments below the MSS. Whether the stack is segmenting at MSS size depends on a lot of

Re: haproxy does not correctly handle MSS on Freebsd

2016-08-20 Thread k simon
Hi Lukas, Hi Simon, Am 19.08.2016 um 12:41 schrieb k simon: Hi,List: Haproxy's throughput is much less than nginx or squid on FreeBSD and it's high cpu usage often. When I investigate it a bit more, I found haproxy does not correctly handle MSS on FreeBSD. Your kernel decides the