httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r595079 - /httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c
Date Wed, 14 Nov 2007 21:47:24 GMT
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') {



Mime
View raw message