You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/10/25 22:28:07 UTC
[trafficserver] branch master updated: Update documentation about
draining with header_rewrite
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 06353cf Update documentation about draining with header_rewrite
06353cf is described below
commit 06353cf17d2eca4c05e70e901b19848e6c248aea
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Thu Oct 25 10:22:36 2018 +0900
Update documentation about draining with header_rewrite
---
doc/admin-guide/plugins/header_rewrite.en.rst | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst b/doc/admin-guide/plugins/header_rewrite.en.rst
index 28ca6c3..0ee9d04 100644
--- a/doc/admin-guide/plugins/header_rewrite.en.rst
+++ b/doc/admin-guide/plugins/header_rewrite.en.rst
@@ -1248,8 +1248,11 @@ Close Connections for draining
------------------------------
When a healthcheck file is missing (in this example, ``/path/to/the/healthcheck/file.txt``),
-add a ``Connection: close`` header to have HTTP/1.1 clients drop their connection,
-allowing the server to drain. This should be a global configuration.::
+add a ``Connection: close`` header to have clients drop their connection,
+allowing the server to drain. Although Connection header is only available on
+HTTP/1.1 in terms of protocols, but this also works for HTTP/2 connections
+because the header triggers HTTP/2 graceful shutdown. This should be a global
+configuration.::
cond %{SEND_RESPONSE_HDR_HOOK}
cond %{ACCESS:/path/to/the/healthcheck/file.txt} [NOT,OR]