Configure ZLib to use bucket allocator in deflate buckets.

* buckets/deflate_buckets.c
  (zalloc_func, zalloc_free): New.
  (serf_bucket_deflate_create,
   serf_bucket_deflate_compress_create): Configure zlib's alloc/free callbacks
   to allocate memory from bucket allocator.


git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1761053 13f79535-47bb-0310-9956-ffa450edef68
1 file changed