Re: varnishtest with H2>HTX>H1(keep-alive)

2018-11-19 Thread Frederic Lecaille
On 11/19/18 8:10 PM, PiBa-NL wrote: Hi Willy, Op 19-11-2018 om 4:37 schreef Willy Tarreau: Hi Pieter, On Mon, Nov 19, 2018 at 01:07:44AM +0100, PiBa-NL wrote: Hi List, I'm trying (and failing?) to write a H2>HTX>H1(keepalive) test. Using haproxy 1.9-dev6-05b9b64. Test vtc attached, i added

Re: HTTP/2 header issue: "Accept-Ranges" -> "Accept-Language"

2018-11-19 Thread Willy Tarreau
On Mon, Nov 19, 2018 at 08:19:09PM -0800, James Brown wrote: > I have tested that patch and it seems to work. https://www.easypost.com is > now returning the correct headers over HTTP/2. > > Thanks for the quick turnaround! Great, thanks for confirming the fix ;-) Willy

Re: HTTP/2 header issue: "Accept-Ranges" -> "Accept-Language"

2018-11-19 Thread James Brown
I have tested that patch and it seems to work. https://www.easypost.com is now returning the correct headers over HTTP/2. Thanks for the quick turnaround! On Mon, Nov 19, 2018 at 7:54 PM Willy Tarreau wrote: > On Mon, Nov 19, 2018 at 11:55:04PM +0100, Willy Tarreau wrote: > > > I assume this is

Re: varnishtest with H2>HTX>H1(keep-alive)

2018-11-19 Thread Willy Tarreau
On Mon, Nov 19, 2018 at 08:10:15PM +0100, PiBa-NL wrote: > Ah crap, i 'thought' i took the latest commit from the online branch. And > stopped looking properly.  I must have been a few minutes to soon or > something, after i read the dev7 mail.. (and i should have checked i did > actually compile t

Re: Helping users of haproxy.org with checking if a site is down or not

2018-11-19 Thread Willy Tarreau
Hello, On Mon, Nov 19, 2018 at 04:42:47PM -0400, Alejandra Villalobos wrote: > While tools.pingdom.com does a good job, it's not really user-friendly and > doesn't work quite fast. > I did some exploring and found the other tool below. It's ad-free, quite > straightforward and fast to load and I

Re: HTTP/2 header issue: "Accept-Ranges" -> "Accept-Language"

2018-11-19 Thread Willy Tarreau
On Mon, Nov 19, 2018 at 11:55:04PM +0100, Willy Tarreau wrote: > > I assume this is a bug in the HPACK encoder, given that in the static > > table definition [1], accept-language has index 17, while > > accept-ranges has 18, which is correctly documented in > > src/hpack-tbl.c, but the comment on l

Re: [PATCH 1/3] MINOR: cli: format `show proc` to be more readable

2018-11-19 Thread Willy Tarreau
On Mon, Nov 19, 2018 at 06:46:16PM +0100, William Lallemand wrote: > Add more space on the output to be more readable and separate old > processes from current ones. (...) series applied, thanks William. Willy

Re: HTTP/2 header issue: "Accept-Ranges" -> "Accept-Language"

2018-11-19 Thread Willy Tarreau
Hi guys, On Mon, Nov 19, 2018 at 09:23:15PM +0100, Lukas Tribus wrote: > Hi James, > > > On Mon, 19 Nov 2018 at 19:29, James Brown wrote: > > > > Here's a strange thing I've noticed: > > > > When using HTTP/2, HAproxy is rewriting the "Accept-Ranges" response header > > into "Accept-Language".

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-11-19 Thread PiBa-NL
Hi Frederic, Willy, Hello Pieter, Do you intend to finalize this script? We would like to use it in haproxy sources. Note that varnishtest already uses TMPDIR variable in place of /tmp if it is set in the environment. Thanks again. Fred. Thanks for your advices and comments, to be honest

Helping users of haproxy.org with checking if a site is down or not

2018-11-19 Thread Alejandra Villalobos
Hello there , I have used the website status tool you mentioned on your page here: haproxy.org/news.html While tools.pingdom.com does a good job, it's not really user-friendly and doesn't work quite fast. I did some exploring and found the other tool below. It's ad-free, quite straightforw

Re: HTTP/2 header issue: "Accept-Ranges" -> "Accept-Language"

2018-11-19 Thread Lukas Tribus
Hi James, On Mon, 19 Nov 2018 at 19:29, James Brown wrote: > > Here's a strange thing I've noticed: > > When using HTTP/2, HAproxy is rewriting the "Accept-Ranges" response header > into "Accept-Language". Yup, exactly as you described, thanks for the report. I assume this is a bug in the HPA

Re: varnishtest with H2>HTX>H1(keep-alive)

2018-11-19 Thread PiBa-NL
Hi Willy, Op 19-11-2018 om 4:37 schreef Willy Tarreau: Hi Pieter, On Mon, Nov 19, 2018 at 01:07:44AM +0100, PiBa-NL wrote: Hi List, I'm trying (and failing?) to write a H2>HTX>H1(keepalive) test. Using haproxy 1.9-dev6-05b9b64. Test vtc attached, i added the 'option http-use-htx' to the fe4

HTTP/2 header issue: "Accept-Ranges" -> "Accept-Language"

2018-11-19 Thread James Brown
Here's a strange thing I've noticed: When using HTTP/2, HAproxy is rewriting the "Accept-Ranges" response header into "Accept-Language". You can see this yourself by comparing the output of curl --http2 -vs -o /dev/null https://www.easypost.com curl --http1.1 -vs -o /dev/null https://www.easypos

[PATCH 3/3] MINOR: cli: show master information in 'show proc'

2018-11-19 Thread William Lallemand
Displays the master information in show proc. --- include/types/global.h | 2 ++ src/cli.c | 18 +++--- src/haproxy.c | 42 -- 3 files changed, 49 insertions(+), 13 deletions(-) diff --git a/include/types/global.h b/includ

[PATCH 1/3] MINOR: cli: format `show proc` to be more readable

2018-11-19 Thread William Lallemand
Add more space on the output to be more readable and separate old processes from current ones. --- src/cli.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/cli.c b/src/cli.c index 199d25fcf..3d3abb893 100644 --- a/src/cli.c +++ b/src/cli.c @@ -139

[PATCH 2/3] MINOR: cli: displays uptime in `show proc`

2018-11-19 Thread William Lallemand
Displays the uptime of the workers in `show proc` --- include/types/global.h | 1 + src/cli.c | 10 ++ src/haproxy.c | 8 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/include/types/global.h b/include/types/global.h index 521032304..be4d7c

Re: varnishtest with H2>HTX>H1(keep-alive)

2018-11-19 Thread Frederic Lecaille
On 11/19/18 1:07 AM, PiBa-NL wrote: Hi List, Hi Pieter, Christopher is CC'ed. As your mail is about reg-testing I took a look at it. I'm trying (and failing?) to write a H2>HTX>H1(keepalive) test. Using haproxy 1.9-dev6-05b9b64. Test vtc attached, i added the 'option http-use-htx' to the

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-11-19 Thread Frederic Lecaille
On 11/8/18 6:11 AM, Willy Tarreau wrote: Hi guys, On Wed, Nov 07, 2018 at 09:37:14AM +0100, Frederic Lecaille wrote: New 'version' of the script attached. It now supports a set of parameters to modify its behavior a little. And also checking for a 'version requirement'. So a H2 test doesn't hav

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-11-19 Thread Frederic Lecaille
On 11/8/18 6:11 AM, Willy Tarreau wrote: Hi guys, On Wed, Nov 07, 2018 at 09:37:14AM +0100, Frederic Lecaille wrote: New 'version' of the script attached. It now supports a set of parameters to modify its behavior a little. And also checking for a 'version requirement'. So a H2 test doesn't hav