Re: stats / "show servers conn" looses counter after reload

2021-02-12 Thread Christian Ruppert
On 2021-02-12 12:06, William Dauchy wrote: Hi Christian, On Fri, Feb 12, 2021 at 11:59 AM Christian Ruppert wrote: Is this a bug? Can you confirm this behavior? Is there any other way I could figure out whether a backend is currently in use? unfortunately reload does not recover stats

Re: [PATCH v3 0/5] cli commands for checks and agent

2021-02-12 Thread Christopher Faulet
Le 11/02/2021 à 22:51, William Dauchy a écrit : Hello Christopher, Here is some work to finish you week. I believe I addressed all the points raised: - warning are no longer emitted when we have "0" or "-" values - I enhanced the warning output as well, and understood my mistake for my

stats / "show servers conn" looses counter after reload

2021-02-12 Thread Christian Ruppert
Hi list, I'm not sure if that is intended, to me it looks like a bug. I was trying to figure out if a backend is in use or not so I was looking for the used_cur: echo "show servers conn somebackend_rtmp" | socat stdio /var/run/haproxy.stat # bkname/svname bkid/svid addr port - purge_delay

Re: [PATCH] fix freebsd ci, update freebsd image

2021-02-12 Thread Tim Düsterhus
Willy, Am 11.02.21 um 19:35 schrieb Илья Шипицин: > attached patch fix freebsd builds. This one looks good to me. Please take it. Best regards Tim Düsterhus

Re: [PATCH] fix freebsd ci, update freebsd image

2021-02-12 Thread Christopher Faulet
Le 11/02/2021 à 19:35, Илья Шипицин a écrit : Hello, attached patch fix freebsd builds. Ilya Thanks, now merged ! -- Christopher Faulet

Re: [PATCH v3 0/5] cli commands for checks and agent

2021-02-12 Thread William Dauchy
On Fri, Feb 12, 2021 at 3:06 PM Christopher Faulet wrote: > I just slightly amended the 3rd patch to handle the v2 in > apply_server_state(). > There is a test on the version when a state-file is local to a proxy. Just a > minor change. ok, thanks for that. > And in the last one, I removed the

[PATCH] DOC: tune: explain the origin of block size for ssl.cachesize

2021-02-12 Thread William Dauchy
A user could eventually ask himself where those 200 bytes block size are coming from. This patch tries to better explain the origin in case people are curious or want to double check the reality. Signed-off-by: William Dauchy --- doc/configuration.txt | 21 +++-- 1 file changed,

Re: stats / "show servers conn" looses counter after reload

2021-02-12 Thread William Dauchy
Hi Christian, On Fri, Feb 12, 2021 at 11:59 AM Christian Ruppert wrote: > Is this a bug? Can you confirm this behavior? Is there any other way I > could figure out whether a backend is currently in use? unfortunately reload does not recover stats values; it is a known problem; see also

[PATCH] introduce guard for SCTL openssl specific functions

2021-02-12 Thread Илья Шипицин
Hello, let as switch to feature macro instead of HA_OPENSSL_VERSION. Ilya From ddae23ca3503f29416cb04dc5689282be67df087 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sat, 13 Feb 2021 00:16:58 +0500 Subject: [PATCH] BUILD: ssl: introduce fine guard for OpenSSL specific SCTL functions

Re: [PATCH] introduce guard for SCTL openssl specific functions

2021-02-12 Thread William Lallemand
On Sat, Feb 13, 2021 at 12:21:56AM +0500, Илья Шипицин wrote: > Hello, > > let as switch to feature macro instead of HA_OPENSSL_VERSION. > > Ilya Hello Ilya, For more concistency with the other macros I'd rather use "HAVE_SSL_SCTL" instead of "HAVE_OPENSSL_SCTL". Regards, -- William

Re: Segfault in liblua-5.3.so

2021-02-12 Thread Willy Tarreau
Hi Sachin, On Thu, Feb 11, 2021 at 03:11:09AM +0530, Sachin Shetty wrote: > Hi, > > We have a lua block that connects to memcache when a request arrives > > """ > function get_from_gds(host, port, key)local sock = core.tcp() > sock:settimeout(20)local result = DOMAIN_NOT_FOUNDlocal

Re: TCP mode and ultra short lived connection

2021-02-12 Thread Willy Tarreau
Hi Maksim, On Thu, Feb 11, 2021 at 01:20:04PM +0300, ?? ? wrote: > Thank you very much, Willy! > > Turning off abortonclose (it was enabled globally) for this particular > session really helped :) Fantastic, one less bug to chase :-) Cheers, Willy

Re: [PATCH] introduce guard for SCTL openssl specific functions

2021-02-12 Thread Илья Шипицин
I changed macro name, new patch attached сб, 13 февр. 2021 г. в 03:41, William Lallemand : > On Sat, Feb 13, 2021 at 12:21:56AM +0500, Илья Шипицин wrote: > > Hello, > > > > let as switch to feature macro instead of HA_OPENSSL_VERSION. > > > > Ilya > > Hello Ilya, > > For more concistency with