Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/input_filter
Modified Files:
test_input.cpp
Log Message:
update to synch up with filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/input_filter/test_input.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- test_input.cpp 7 Mar 2002 20:14:06 -0000 1.9
+++ test_input.cpp 29 Mar 2002 23:12:58 -0000 1.10
@@ -22,7 +22,9 @@
apr_bucket *input_bucket;
apr_bucket *output_bucket;
- apr_bucket_brigade *input_brigade = apr_brigade_create(f->c->pool);
+ apr_bucket_brigade *input_brigade =
+ apr_brigade_create(f->c->pool,
+ f->c->bucket_alloc);
apr_status_t ret = ap_get_brigade(f->next, input_brigade, eMode, eBlock,
readbytes);
if(ret != APR_SUCCESS) {
@@ -52,7 +54,8 @@
}
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, NULL,
"crazy content: %s (%d)", new_buf, len);
- output_bucket = apr_bucket_heap_create(new_buf, len, 1);
+ output_bucket = apr_bucket_heap_create(new_buf, len, NULL,
+ f->c->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(bb, output_bucket);
apr_bucket_delete(input_bucket);
}
|