]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_proxy_http: fix case sensitivity checking transfer encoding
authorNick Kew <niq@apache.org>
Wed, 17 Jun 2009 15:21:21 +0000 (15:21 +0000)
committerNick Kew <niq@apache.org>
Wed, 17 Jun 2009 15:21:21 +0000 (15:21 +0000)
PR 47383 [Ryuzo Yamamoto]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@785661 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/proxy/mod_proxy_http.c

diff --git a/CHANGES b/CHANGES
index 798096439bf4f393b4da79b09d8d9e4e8bf566aa..0f8befba75a992d0c2ced8e1b60b28d11f3559a7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@ Changes with Apache 2.3.3
      mod_proxy_ajp: Avoid delivering content from a previous request which
      failed to send a request body. PR 46949 [Ruediger Pluem]
 
+  *) mod_proxy_http: fix case sensitivity checking transfer encoding
+     PR 47383 [Ryuzo Yamamoto <ryuzo.yamamoto gmail.com>]
+
   *) mod_alias: ensure Redirect issues a valid URL.
      PR 44020 [HÃ¥kon Stordahl <hakon stordahl.org>]
 
index 1e80985a790e323b9766ad259bd7470589c3fef7..bc59aadc3d8bd65f40034e71891725e93181ddaa 100644 (file)
@@ -939,7 +939,7 @@ int ap_proxy_http_request(apr_pool_t *p, request_rec *r,
      * encoding has been done by the extensions' handler, and
      * do not modify add_te_chunked's logic
      */
-    if (old_te_val && strcmp(old_te_val, "chunked") != 0) {
+    if (old_te_val && strcasecmp(old_te_val, "chunked") != 0) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
                      "proxy: %s Transfer-Encoding is not supported",
                      old_te_val);