You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@commons.apache.org by je...@apache.org on 2003/09/17 09:03:59 UTC

svn commit: rev 25 - commons/serf/trunk/include

Author: jerenkrantz
Date: Mon Jul  1 08:47:54 2002
New Revision: 25

Modified:
   commons/serf/trunk/include/serf_buckets.h
Log:
The authentication and header buckets need a pool so that they can allocate
memory on bucket_read


Modified: commons/serf/trunk/include/serf_buckets.h
==============================================================================
--- commons/serf/trunk/include/serf_buckets.h	(original)
+++ commons/serf/trunk/include/serf_buckets.h	Mon Jul  1 08:47:54 2002
@@ -124,6 +124,8 @@
     const char *key;
     /** The MIME-header value */
     const char *value;
+    /** Pool used for allocation for reads */
+    apr_pool_t *pool;
 };
 typedef struct serf_bucket_header serf_bucket_header;
 SERF_DECLARE_DATA extern const apr_bucket_type_t serf_bucket_header_type;
@@ -172,6 +174,8 @@
     const char *user;
     /* The password */
     const char *password;
+    /** Pool used for allocation for reads */
+    apr_pool_t *pool;
 };
 typedef struct serf_bucket_authentication serf_bucket_authentication;
 SERF_DECLARE_DATA extern const apr_bucket_type_t