httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r216159 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Date Wed, 13 Jul 2005 14:06:25 GMT
Author: wrowe
Date: Wed Jul 13 07:06:24 2005
New Revision: 216159

URL: http://svn.apache.org/viewcvs?rev=216159&view=rev
Log:

  Fix two fat-fingered typos from commit 216156.  Code matches previous
  behavior now; time to start fixing.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=216159&r1=216158&r2=216159&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Wed Jul 13 07:06:24 2005
@@ -541,7 +541,7 @@
     apr_status_t status;
     apr_bucket_brigade *header_brigade;
     enum rb_methods {RB_INIT, RB_STREAM_CL, RB_STREAM_CHUNKED, RB_SPOOL_CL};
-    rb_method = RB_INIT;
+    enum rb_methods rb_method = RB_INIT;
     const char *old_cl_val = NULL;
     const char *old_te_val = NULL;
     int cl_zero; /* client sent "Content-Length: 0", which we forward */
@@ -813,7 +813,7 @@
         else if (force10) {
             rb_method = RB_SPOOL_CL;
         }
-        else if (old_te_val && !strcasecmp(te_val, "chunked")) {
+        else if (old_te_val && !strcasecmp(old_te_val, "chunked")) {
             rb_method = RB_STREAM_CHUNKED;
         }
         else {



Mime
View raw message