Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/protocol
Modified Files:
test_protocol.cpp
Log Message:
update to synch up with filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/protocol/test_protocol.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- test_protocol.cpp 4 Jun 2001 01:03:47 -0000 1.2
+++ test_protocol.cpp 29 Mar 2002 23:12:58 -0000 1.3
@@ -22,10 +22,12 @@
ap_get_server_version(),
ap_get_server_built());
- bb = apr_brigade_create(c->pool);
- b = apr_bucket_pool_create(buf, strlen(buf), c->pool);
+ bb = apr_brigade_create(c->pool,
+ c->bucket_alloc);
+ b = apr_bucket_pool_create(buf, strlen(buf), c->pool,
+ c->bucket_alloc);
APR_BRIGADE_INSERT_HEAD(bb, b);
- b = apr_bucket_flush_create();
+ b = apr_bucket_flush_create(c->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(bb, b);
ap_pass_brigade(c->output_filters, bb);
|