]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/http2/h2_proxy_session.c (open_stream),
authorJoe Orton <jorton@apache.org>
Wed, 6 Aug 2025 07:11:19 +0000 (07:11 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 6 Aug 2025 07:11:19 +0000 (07:11 +0000)
  modules/proxy/proxy_util.c (ap_proxy_create_hdrbrgd): Tweak wording
  only for preserve-host-but-no-Host-header warning log message, no
  functional change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927629 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_proxy_session.c
modules/proxy/proxy_util.c

index 2cfbb5f5d4b240dc2611b95e983eefed5c454d42..e44d5d956ea74fc174b5b043b43d2e72b898475a 100644 (file)
@@ -856,8 +856,8 @@ static apr_status_t open_stream(h2_proxy_session *session, const char *url,
              * Host: header */
             authority = r->server->server_hostname;
             ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(10511)
-                          "HTTP/0.9 request (with no host line) "
-                          "on incoming request and preserve host set "
+                          "incoming HTTP/0.9 request (with no Host header) "
+                          "and preserve host set, "
                           "forcing hostname to be %s for uri %s",
                           authority, r->uri);
             apr_table_setn(r->headers_in, "Host", authority);
index 39b613cb506398d96c21f160701e005606a3a241..2613a243f8cf5a924bbd0f1056fbfbc974980284 100644 (file)
@@ -4697,8 +4697,8 @@ PROXY_DECLARE(int) ap_proxy_create_hdrbrgd(apr_pool_t *p,
         if (!host) {
             host =  r->server->server_hostname;
             ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(01092)
-                          "no HTTP 0.9 request (with no host line) "
-                          "on incoming request and preserve host set "
+                          "incoming HTTP/0.9 request (with no Host header) "
+                          "and preserve host set, "
                           "forcing hostname to be %s for uri %s",
                           host, r->uri);
             apr_table_setn(r->headers_in, "Host", host);