Skip to content

Commit f40ebca

Browse files
committed
* 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
1 parent 0c0a5a3 commit f40ebca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/http2/h2_proxy_session.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,8 @@ static apr_status_t open_stream(h2_proxy_session *session, const char *url,
856856
* Host: header */
857857
authority = r->server->server_hostname;
858858
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(10511)
859-
"HTTP/0.9 request (with no host line) "
860-
"on incoming request and preserve host set "
859+
"incoming HTTP/0.9 request (with no Host header) "
860+
"and preserve host set, "
861861
"forcing hostname to be %s for uri %s",
862862
authority, r->uri);
863863
apr_table_setn(r->headers_in, "Host", authority);

modules/proxy/proxy_util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4697,8 +4697,8 @@ PROXY_DECLARE(int) ap_proxy_create_hdrbrgd(apr_pool_t *p,
46974697
if (!host) {
46984698
host = r->server->server_hostname;
46994699
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(01092)
4700-
"no HTTP 0.9 request (with no host line) "
4701-
"on incoming request and preserve host set "
4700+
"incoming HTTP/0.9 request (with no Host header) "
4701+
"and preserve host set, "
47024702
"forcing hostname to be %s for uri %s",
47034703
host, r->uri);
47044704
apr_table_setn(r->headers_in, "Host", host);

0 commit comments

Comments
 (0)