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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=913d22494d0d4704c4e838137886e67311700900;p=thirdparty%2Fapache%2Fhttpd.git 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 9ca834388c5..b74e8b32cf1 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 a718a203d8c..fff02ba59c5 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; }