From: Joe Orton Date: Wed, 6 Aug 2025 07:11:19 +0000 (+0000) Subject: * modules/http2/h2_proxy_session.c (open_stream), X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f40ebca143b8ff842bee239f2c40bd1c5680b858;p=thirdparty%2Fapache%2Fhttpd.git * modules/http2/h2_proxy_session.c (open_stream), 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 --- diff --git a/modules/http2/h2_proxy_session.c b/modules/http2/h2_proxy_session.c index 2cfbb5f5d4..e44d5d956e 100644 --- a/modules/http2/h2_proxy_session.c +++ b/modules/http2/h2_proxy_session.c @@ -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); diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 39b613cb50..2613a243f8 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -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);