/[Apache-SVN]/httpd/httpd/trunk/modules/filters/mod_deflate.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/filters/mod_deflate.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 743814, Thu Feb 12 17:43:39 2009 UTC revision 821471, Sun Oct 4 07:37:28 2009 UTC
# Line 1011  static apr_status_t deflate_in_filter(ap Line 1011  static apr_status_t deflate_in_filter(ap
1011      }      }
1012    
1013      if (!APR_BRIGADE_EMPTY(ctx->proc_bb)) {      if (!APR_BRIGADE_EMPTY(ctx->proc_bb)) {
         apr_bucket_brigade *newbb;  
   
1014          /* May return APR_INCOMPLETE which is fine by us. */          /* May return APR_INCOMPLETE which is fine by us. */
1015          apr_brigade_partition(ctx->proc_bb, readbytes, &bkt);          apr_brigade_partition(ctx->proc_bb, readbytes, &bkt);
1016    
         newbb = apr_brigade_split(ctx->proc_bb, bkt);  
1017          APR_BRIGADE_CONCAT(bb, ctx->proc_bb);          APR_BRIGADE_CONCAT(bb, ctx->proc_bb);
1018          APR_BRIGADE_CONCAT(ctx->proc_bb, newbb);          apr_brigade_split_ex(bb, bkt, ctx->proc_bb);
1019      }      }
1020    
1021      return APR_SUCCESS;      return APR_SUCCESS;

Legend:
Removed from v.743814  
changed lines
  Added in v.821471

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2