You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2007/11/14 22:47:24 UTC

svn commit: r595079 - /httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c

Author: jerenkrantz
Date: Wed Nov 14 13:47:23 2007
New Revision: 595079

URL: http://svn.apache.org/viewvc?rev=595079&view=rev
Log:
Amsterdam: note to self, read all of rpluem's comments and fix them before
committing...

Modified:
    httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c

Modified: httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c
URL: http://svn.apache.org/viewvc/httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?rev=595079&r1=595078&r2=595079&view=diff
==============================================================================
--- httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c (original)
+++ httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c Wed Nov 14 13:47:23 2007
@@ -461,7 +461,8 @@
         status = orig_status;
     }
 
-    apr_brigade_pflatten(ctx->bb, (char**)data, len, ctx->pool);
+    apr_brigade_pflatten(ctx->tmp_bb, (char**)data, len, ctx->pool);
+    apr_brigade_cleanup(ctx->tmp_bb);
 
     if (orig_status == APR_SUCCESS && found) {
         if (*len > 2 && (*data)[*len-2] == '\r' && (*data)[*len-1] == '\n') {