From: Jeff Trawick Date: Wed, 5 Feb 2014 12:58:11 +0000 (+0000) Subject: mod_proxy_fcgi: Fix error message when an unexpected protocol version X-Git-Tag: 2.5.0-alpha~4526 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=304da56908bd5a2a291942b5fe67a956ebff6085;p=apache mod_proxy_fcgi: Fix error message when an unexpected protocol version number is received from the application. PR: 56110 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1564756 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 9ca834388c..b74e8b32cf 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) mod_proxy_fcgi: Fix error message when an unexpected protocol version + number is received from the application. PR 56110. [Jeff Trawick] + *) mod_remoteip: Use the correct IP addresses to populate the proxy_ips field. PR 55972. [Mike Rumph] diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index a718a203d8..fff02ba59c 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -516,7 +516,7 @@ static apr_status_t dispatch(proxy_conn_rec *conn, proxy_dir_conf *conf, if (version != AP_FCGI_VERSION_1) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01068) - "Got bogus version %d", (int) header.version); + "Got bogus version %d", (int)version); rv = APR_EINVAL; break; }