]> granicus.if.org Git - apache/commitdiff
mod_proxy_fcgi: Fix error message when an unexpected protocol version
authorJeff Trawick <trawick@apache.org>
Wed, 5 Feb 2014 12:58:11 +0000 (12:58 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 5 Feb 2014 12:58:11 +0000 (12:58 +0000)
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

CHANGES
modules/proxy/mod_proxy_fcgi.c

diff --git a/CHANGES b/CHANGES
index 9ca834388c5bbe7aa31dce72a13438663c51573b..b74e8b32cf1b9596907ec944a3e2854d643aa865 100644 (file)
--- 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]
 
index a718a203d8c1794a8a981cd9b802b8feeeba03f2..fff02ba59c505e1fb7bd90e1605f3a07c36de0e0 100644 (file)
@@ -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;
             }