Re: Patch: DOC: clarify that compression works for HTTP/2

2021-04-02 Thread Willy Tarreau
On Mon, Mar 29, 2021 at 12:47:06PM +0200, Julien Pivotto wrote:
> Dear,
> 
> Please find a patch attached with a small fix for the documentation.

Thank you Julien, now applied!
Willy



Patch: DOC: clarify that compression works for HTTP/2

2021-03-29 Thread Julien Pivotto
Dear,

Please find a patch attached with a small fix for the documentation.

-- 
 (o-Julien Pivotto
 //\Open-Source Consultant
 V_/_   Inuits - https://www.inuits.eu
From 359e386c711276c554eb8b9f07476017b6128519 Mon Sep 17 00:00:00 2001
From: Julien Pivotto 
Date: Mon, 29 Mar 2021 12:41:40 +0200
Subject: [PATCH] DOC: clarify that compression works for HTTP/2

This patch clarifies that compression also works with HTTP/2. I have
picked the wording "HTTP/1.1 or above" because it is already used
elsewhere in the documentation.

I have tested that compression indeed works in HTTP/2.

Signed-off-by: Julien Pivotto 
---
 doc/configuration.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/configuration.txt b/doc/configuration.txt
index 7048fb63e..7862ce34e 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -4215,7 +4215,7 @@ compression offload
   Compression is disabled when:
 * the request does not advertise a supported compression algorithm in the
   "Accept-Encoding" header
-* the response message is not HTTP/1.1
+* the response message is not HTTP/1.1 or above
 * HTTP status code is not one of 200, 201, 202, or 203
 * response contain neither a "Content-Length" header nor a
   "Transfer-Encoding" whose last value is "chunked"
-- 
2.28.0



signature.asc
Description: PGP signature