httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r230720 - /httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c
Date Mon, 08 Aug 2005 01:03:13 GMT
Author: wrowe
Date: Sun Aug  7 18:03:09 2005
New Revision: 230720

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

  Fix a buglett in backport 230718; get our selection of brigades correct.

  (tis what happens when our code is this far out-of-sync with trunk, sorry.)

Modified:
    httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c

Modified: httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c?rev=230720&r1=230719&r2=230720&view=diff
==============================================================================
--- httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c (original)
+++ httpd/httpd/branches/proxy-reqbody-2.0.x/modules/proxy/proxy_http.c Sun Aug  7 18:03:09
2005
@@ -544,14 +544,14 @@
             AP_DEBUG_ASSERT(APR_BUCKET_IS_EOS(e));
             apr_bucket_delete(e);
         }
+        b = input_brigade;
     }
 
     e = apr_bucket_immortal_create(ASCII_ZERO ASCII_CRLF
                                    /* <trailers> */
                                    ASCII_CRLF,
                                    5, bucket_alloc);
-    APR_BRIGADE_INSERT_TAIL(input_brigade, e);
-    b = input_brigade;
+    APR_BRIGADE_INSERT_TAIL(b, e);
     
     status = pass_brigade(bucket_alloc, r, p_conn, origin, b, 1);
     return status;



Mime
View raw message