]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: clarify that compression works for HTTP/2
authorJulien Pivotto <roidelapluie@inuits.eu>
Mon, 29 Mar 2021 10:41:40 +0000 (12:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 Apr 2021 17:15:25 +0000 (19:15 +0200)
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 <roidelapluie@inuits.eu>
doc/configuration.txt

index edf7c54af27498349318f946200ff161dcc1c91c..68df53a4b55b654674917560af6c1a97f2f41a6b 100644 (file)
@@ -4263,7 +4263,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"