serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1720656 - /serf/trunk/buckets/chunk_buckets.c
Date Thu, 17 Dec 2015 21:07:28 GMT
Author: rhuijben
Date: Thu Dec 17 21:07:28 2015
New Revision: 1720656

URL: http://svn.apache.org/viewvc?rev=1720656&view=rev
Log:
* buckets/chunk_buckets.c
  (create_chunk): Avoid unneeded work. The aggregate bucket will immediately
    set the same config when the chunk is added.

Modified:
    serf/trunk/buckets/chunk_buckets.c

Modified: serf/trunk/buckets/chunk_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/buckets/chunk_buckets.c?rev=1720656&r1=1720655&r2=1720656&view=diff
==============================================================================
--- serf/trunk/buckets/chunk_buckets.c (original)
+++ serf/trunk/buckets/chunk_buckets.c Thu Dec 17 21:07:28 2015
@@ -108,7 +108,6 @@ static apr_status_t create_chunk(serf_bu
          */
         simple_bkt = serf_bucket_simple_copy_create(ctx->chunk_hdr, chunk_len,
                                                     bucket->allocator);
-        serf_bucket_set_config(simple_bkt, ctx->config);
         serf_bucket_aggregate_append(ctx->chunk, simple_bkt);
 
         /* Insert the chunk footer. */



Mime
View raw message