Re: SOAP service healthcheck

2018-12-07 Thread Māra Grīnberga
Thanks for the tip! Mara On Sat, Dec 8, 2018, 00:00 Baptiste Hi, > > You can also forge a http post with the tcp-check. This would be less > hacky. > > Baptiste > > > Le jeu. 6 déc. 2018 à 09:11, Māra Grīnberga a écrit : > >> I mean, thanks! I'll look into it! >> >> Mara >> >> On Thu, Dec 6,

Re: SOAP service healthcheck

2018-12-07 Thread Christopher Cox
tcp-check is what we used for this. On 12/7/18 3:59 PM, Baptiste wrote: Hi, You can also forge a http post with the tcp-check. This would be less hacky. Baptiste Le jeu. 6 déc. 2018 à 09:11, Māra Grīnberga > a écrit : I mean, thanks! I'll look into it! Mara

Re: SOAP service healthcheck

2018-12-07 Thread Baptiste
Hi, You can also forge a http post with the tcp-check. This would be less hacky. Baptiste Le jeu. 6 déc. 2018 à 09:11, Māra Grīnberga a écrit : > I mean, thanks! I'll look into it! > > Mara > > On Thu, Dec 6, 2018, 10:04 Jarno Huuskonen >> Hi, >> >> On Thu, Dec 06, Māra Grīnberga wrote: >>

Re: sample fetch: add bc_http_major

2018-12-07 Thread Aleksandar Lazic
Hi Jerome. Am 07.12.2018 um 15:37 schrieb Jerome Magnin: > Hi Aleks, > > On Fri, Dec 07, 2018 at 01:46:53PM +0100, Aleksandar Lazic wrote: >> Hi Jerome. >> [...] >> I suggest to use a dedicated function for that, jm2c. >> >> { "bc_http_major", smp_fetch_bc_http_major, 0, NULL, SMP_T_SINT, >>

Re: sample fetch: add bc_http_major

2018-12-07 Thread Jerome Magnin
Hi Aleks, On Fri, Dec 07, 2018 at 01:46:53PM +0100, Aleksandar Lazic wrote: > Hi Jerome. > [...] > I suggest to use a dedicated function for that, jm2c. > > { "bc_http_major", smp_fetch_bc_http_major, 0, NULL, SMP_T_SINT, > SMP_USE_L4SRV }, > If you look at src/ssl_sock.c there are several

Re: Simply adding a filter causes read error

2018-12-07 Thread flamesea12
Hi Thanks for the reply. I have a test env with 3 identical servers( 8 core cpu and 32GB memory), one for wrk, one for nginx, and one for haproxy. The network looks like wrk => haproxy => nginx. I have tuned OS settings like open file limits, etc. And the test html file is default nginx

Re: Simply adding a filter causes read error

2018-12-07 Thread Aleksandar Lazic
Hi. Am 07.12.2018 um 08:37 schrieb flamese...@yahoo.co.jp: > Hi > > I tested more, and found that even with option http-pretend-keepalive enabled, > > if I increase the test duration , the read error still appear. Please can you show us some logs when the error appears. Can you also tell us

Re: sample fetch: add bc_http_major

2018-12-07 Thread Aleksandar Lazic
Hi Jerome. Am 07.12.2018 um 10:26 schrieb Jerome Magnin: > Hi, > > the attached patch adds bc_http_major. It returns the HTTP major encoding of > the > backend connection, based on the the on-wire encoding. cool Idea ;-) I suggest to use a dedicated function for that, jm2c. {

Re: [PATCH] BUG/MEDIUM: Expose all converters & fetches

2018-12-07 Thread Willy Tarreau
Hello, On Thu, Dec 06, 2018 at 11:36:33PM -0800, Robin H. Johnson wrote: > One of my coworkers was having some trouble trying to escape data for > JSON in Lua, using the 'json' converter, based on the documentation, and > this lead to a deep bug discovery. > > The Lua documentation [1] states

Re: [PATCH] REGTEST: Move LUA reg level 4 test 4 to level 1

2018-12-07 Thread Willy Tarreau
Hi Fred! On Fri, Dec 07, 2018 at 11:25:51AM +0100, Frederic Lecaille wrote: > I think that Pieter level 4 LUA 4 script should be moved to level 1 (as > a feature test). Good point, now applied, thanks! Willy

[PATCH] REGTEST: Move LUA reg level 4 test 4 to level 1

2018-12-07 Thread Frederic Lecaille
Hi all, I think that Pieter level 4 LUA 4 script should be moved to level 1 (as a feature test). Fred. >From ac0188df083da4e240f87c34557cbf0ab9fd589d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 7 Dec 2018 11:16:35 +0100 Subject: [PATCH] REGTEST:

sample fetch: add bc_http_major

2018-12-07 Thread Jerome Magnin
Hi, the attached patch adds bc_http_major. It returns the HTTP major encoding of the backend connection, based on the the on-wire encoding. Jérôme >From e0a28394ea2da5757c1e72773ab4c9fb97565a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Magnin?= Date: Fri, 7 Dec 2018 09:03:11