From 6bb083caa80df8d5aedfb4447e064bcba99c218f Mon Sep 17 00:00:00 2001 From: Jun Ouyang Date: Tue, 8 Oct 2024 15:49:16 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e8d5fde..07482bfe 100644 --- a/README.md +++ b/README.md @@ -375,8 +375,8 @@ resty.kong.tls.disable\_http2\_alpn **subsystems:** *http* -Disables HTTP/2 ALPN negotiation for the current TLS connection. When called, the -connection will not negotiate HTTP/2 using ALPN and will fallback to HTTP/1.1 even though [`http2`](https://nginx.org/en/docs/http/ngx_http_v2_module.html#http2) directive is enabled. +Disables ALPN negotiation for HTTP/2 on the current TLS connection. When invoked, this connection will bypass HTTP/2 negotiation using ALPN and revert to HTTP/1.1, even +if the [`http2`](https://nginx.org/en/docs/http/ngx_http_v2_module.html#http2) directive is enabled. This function returns `true` when the call is successful. Otherwise it returns `false` and a string describing the error.