From eb2325b1254bfaf341dd8e6e6a18bec61733bf69 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Sun, 28 Aug 2022 18:46:21 +0000 Subject: [PATCH] Allow for HTTP/1.1 or HTTP/1.0 protocol health checks git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1903744 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_hcheck.xml | 9 +++++--- modules/proxy/mod_proxy.c | 3 +++ modules/proxy/mod_proxy.h | 2 +- modules/proxy/mod_proxy_hcheck.c | 34 ++++++++++++++++++++-------- 4 files changed, 35 insertions(+), 13 deletions(-) diff --git a/docs/manual/mod/mod_proxy_hcheck.xml b/docs/manual/mod/mod_proxy_hcheck.xml index 8701934acd2..a3ff23cc3c7 100644 --- a/docs/manual/mod/mod_proxy_hcheck.xml +++ b/docs/manual/mod/mod_proxy_hcheck.xml @@ -60,9 +60,12 @@ MethodDescriptionNote NoneNo dynamic health checking done TCPCheck that a socket to the backend can be created: e.g. "are you up" - OPTIONSSend an HTTP OPTIONS request to the backend* - HEADSend an HTTP HEAD request to the backend* - GETSend an HTTP GET request to the backend* + OPTIONSSend a HTTP OPTIONS request to the backend via HTTP/1.0* + HEADSend a HTTP HEAD request to the backend via HTTP/1.0* + GETSend a HTTP GET request to the backend via HTTP/1.0* + OPTIONS11Send a HTTP OPTIONS request to the backend via HTTP/1.1* + HEAD11Send a HTTP HEAD request to the backend via HTTP/1.1* + GET11Send a HTTP GET request to the backend via HTTP/1.1*