modcplusplus-devel Mailing List for mod_cplusplus (Page 20)
Brought to you by:
gr84b8,
johnksterling
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(14) |
Dec
(4) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
|
Feb
(44) |
Mar
(8) |
Apr
(33) |
May
(5) |
Jun
(5) |
Jul
(2) |
Aug
(4) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(26) |
Sep
(9) |
Oct
|
Nov
(5) |
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(7) |
Jul
(2) |
Aug
(11) |
Sep
|
Oct
|
Nov
(7) |
Dec
(4) |
| 2005 |
Jan
(13) |
Feb
(7) |
Mar
(10) |
Apr
(11) |
May
(2) |
Jun
|
Jul
(8) |
Aug
(9) |
Sep
|
Oct
(4) |
Nov
|
Dec
|
| 2006 |
Jan
(12) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(6) |
| 2007 |
Jan
(4) |
Feb
(13) |
Mar
(10) |
Apr
(56) |
May
(69) |
Jun
(93) |
Jul
(116) |
Aug
(62) |
Sep
(15) |
Oct
(14) |
Nov
(18) |
Dec
(11) |
| 2008 |
Jan
(8) |
Feb
(13) |
Mar
(32) |
Apr
(22) |
May
(15) |
Jun
(10) |
Jul
(18) |
Aug
(10) |
Sep
(16) |
Oct
(12) |
Nov
(41) |
Dec
(40) |
| 2009 |
Jan
(33) |
Feb
(14) |
Mar
(32) |
Apr
(47) |
May
(103) |
Jun
(100) |
Jul
(72) |
Aug
(21) |
Sep
(22) |
Oct
(30) |
Nov
(7) |
Dec
(19) |
| 2010 |
Jan
(8) |
Feb
(7) |
Mar
(40) |
Apr
(53) |
May
(67) |
Jun
(62) |
Jul
(26) |
Aug
(37) |
Sep
(13) |
Oct
(3) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-21 18:58:41
|
Mod Cplusplus CVS committal Author : gr84b8 Project : mod_cplusplus Module : example Dir : mod_cplusplus/example/protocol Modified Files: Makefile.am Log Message: now we distribute tarballs using the auto tools dist maker =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/protocol/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Makefile.am 4 Jun 2001 00:40:35 -0000 1.1 +++ Makefile.am 21 Apr 2002 18:58:09 -0000 1.2 @@ -1,3 +1,4 @@ CLEANFILES = libtest_protocol.so *~ +DISTFILES = test_protocol.h test_protocol.cpp Makefile.am libtest_protocol_la_SOURCES = test_protocol.cpp lib_LTLIBRARIES = libtest_protocol.la |
|
From: Mod C. C. L. <mod...@so...> - 2002-04-21 18:58:40
|
Mod Cplusplus CVS committal Author : gr84b8 Project : mod_cplusplus Module : example Dir : mod_cplusplus/example/output_filter Modified Files: Makefile.am Log Message: now we distribute tarballs using the auto tools dist maker =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/output_filter/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Makefile.am 21 May 2001 18:08:14 -0000 1.1 +++ Makefile.am 21 Apr 2002 18:58:09 -0000 1.2 @@ -1,3 +1,4 @@ CLEANFILES = libtest_output.so *~ +DISTFILES = test_output.h test_output.cpp Makefile.am libtest_output_la_SOURCES = test_output.cpp lib_LTLIBRARIES = libtest_output.la |
|
From: Mod C. C. L. <mod...@so...> - 2002-04-21 18:58:40
|
Mod Cplusplus CVS committal Author : gr84b8 Project : mod_cplusplus Module : example Dir : mod_cplusplus/example/input_filter Modified Files: Makefile.am Log Message: now we distribute tarballs using the auto tools dist maker =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/input_filter/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Makefile.am 21 May 2001 18:08:14 -0000 1.1 +++ Makefile.am 21 Apr 2002 18:58:09 -0000 1.2 @@ -1,3 +1,4 @@ CLEANFILES = libtest_input.so *~ +DISTFILES = test_input.h test_input.cpp Makefile.am libtest_input_la_SOURCES = test_input.cpp lib_LTLIBRARIES = libtest_input.la |
|
From: Mod C. C. L. <mod...@so...> - 2002-04-21 18:58:40
|
Mod Cplusplus CVS committal Author : gr84b8 Project : mod_cplusplus Module : example Dir : mod_cplusplus/example/handler Modified Files: Makefile.am Log Message: now we distribute tarballs using the auto tools dist maker =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/handler/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- Makefile.am 23 May 2001 16:29:25 -0000 1.2 +++ Makefile.am 21 Apr 2002 18:58:09 -0000 1.3 @@ -1,4 +1,5 @@ CLEANFILES = libtest_handler.so *~ +DISTFILES = test_auth.h test_handler.h test_auth.cpp test_handler.cpp Makefile.am libtest_handler_la_SOURCES = test_handler.cpp test_auth.cpp lib_LTLIBRARIES = libtest_handler.la |
|
From: Mod C. C. L. <mod...@so...> - 2002-04-21 18:58:40
|
Mod Cplusplus CVS committal Author : gr84b8 Module : mod_cplusplus Dir : mod_cplusplus Modified Files: INSTALL Makefile.am configure.in Log Message: now we distribute tarballs using the auto tools dist maker =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- Makefile.am 22 May 2001 19:51:56 -0000 1.2 +++ Makefile.am 21 Apr 2002 18:58:07 -0000 1.3 @@ -1,3 +1,4 @@ SUBDIRS = src example test - - +DISTFILES = AUTHORS README COPYING aclocal.m4 config.guess configure \ + install-sh missing mkinstalldirs config.sub Makefile.am \ + configure.in INSTALL ChangeLog NEWS libtool include =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/configure.in,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- configure.in 29 Mar 2002 23:12:58 -0000 1.7 +++ configure.in 21 Apr 2002 18:58:07 -0000 1.8 @@ -1,5 +1,5 @@ AC_INIT(src/mod_cplusplus.c) -AM_INIT_AUTOMAKE(mod_cplusplus, 1.0) +AM_INIT_AUTOMAKE(mod_cplusplus, 1.0.1) AC_PROG_CC AC_PROG_CXX |
|
From: Mod C. C. L. <mod...@so...> - 2002-04-17 01:32:56
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/handler
Modified Files:
test_handler.cpp
Log Message:
make get_client_block a method of the request
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/handler/test_handler.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- test_handler.cpp 15 Apr 2002 22:06:24 -0000 1.7
+++ test_handler.cpp 17 Apr 2002 01:32:24 -0000 1.8
@@ -25,11 +25,11 @@
if( (pRequest->method_number() == M_POST) ||
(pRequest->method_number() == M_PUT) ) {
pRequest->rprintf("Content:");
- while((len_read = ap_get_client_block(pRequest->get_request_rec(),
- buf, sizeof(buf))) > 0) {
- pRequest->rprintf("%s", apr_pstrndup(pRequest->pool(),
- buf, len_read));
- }
+ while((len_read = pRequest->get_client_block(buf,
+ sizeof(buf))) > 0) {
+ pRequest->rprintf("%s", apr_pstrndup(pRequest->pool(),
+ buf, len_read));
+ }
}
return OK;
}
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-17 01:32:26
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : include
Dir : mod_cplusplus/include
Modified Files:
cpp_request.h
Log Message:
make get_client_block a method of the request
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/include/cpp_request.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- cpp_request.h 15 Apr 2002 18:42:25 -0000 1.6
+++ cpp_request.h 17 Apr 2002 01:32:25 -0000 1.7
@@ -69,6 +69,11 @@
int discard_request_body() {
return ap_discard_request_body(mRequest);
}
+
+ int get_client_block(char *buf, apr_size_t bufsiz) {
+ return ap_get_client_block(mRequest, buf, bufsiz);
+ }
+
apr_array_header_t *content_languages()
{ return mRequest->content_languages; }
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-17 01:21:09
|
Mod Cplusplus CVS committal
Author : gr84b8
Module : mod_cplusplus
Dir : mod_cplusplus
Modified Files:
ChangeLog
Log Message:
add in request_body stuff
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ChangeLog 12 Nov 2001 16:22:01 -0000 1.4
+++ ChangeLog 17 Apr 2002 01:21:07 -0000 1.5
@@ -1,3 +1,7 @@
+2002-04-16 John K. Sterling <jo...@st...>
+ * Add proper support for post and put to the examples. also added
+ in the discard_request_body method
+ (Submitted by: Nathan Stitt <na...@al...>)
2001-11-12 John K. Sterling <jo...@st...>
* Add support for stl strings (Submitted by: kurtb149 Kurt M. Brown)
2001-07-21 John K. Sterling <jo...@st...>
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-15 22:06:25
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/handler
Modified Files:
test_handler.cpp
Log Message:
also handle puts
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/handler/test_handler.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- test_handler.cpp 15 Apr 2002 22:02:50 -0000 1.6
+++ test_handler.cpp 15 Apr 2002 22:06:24 -0000 1.7
@@ -22,7 +22,8 @@
pRequest->rputs("\nLets Dump The Request!\n");
pRequest->dump();
ap_setup_client_block(pRequest->get_request_rec(), REQUEST_CHUNKED_ERROR);
- if( pRequest->method_number() == M_POST ) {
+ if( (pRequest->method_number() == M_POST) ||
+ (pRequest->method_number() == M_PUT) ) {
pRequest->rprintf("Content:");
while((len_read = ap_get_client_block(pRequest->get_request_rec(),
buf, sizeof(buf))) > 0) {
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-15 22:02:51
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/handler
Modified Files:
test_handler.cpp
Log Message:
add an example that handles posts to the handler examples
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/handler/test_handler.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- test_handler.cpp 15 Apr 2002 18:42:25 -0000 1.5
+++ test_handler.cpp 15 Apr 2002 22:02:50 -0000 1.6
@@ -11,13 +11,25 @@
int TestHandler::handler(ApacheRequestRec *pRequest)
{
+ char buf[1024 * 8];
+ apr_size_t len_read;
+ apr_status_t rc;
+
ap_setup_client_block(pRequest->get_request_rec(), REQUEST_CHUNKED_DECHUNK);
mHits++;
pRequest->rprintf("\nThis handler has dealt with %d hits", mHits);
pRequest->rputs("\nLets Dump The Request!\n");
pRequest->dump();
- pRequest->discard_request_body();
+ ap_setup_client_block(pRequest->get_request_rec(), REQUEST_CHUNKED_ERROR);
+ if( pRequest->method_number() == M_POST ) {
+ pRequest->rprintf("Content:");
+ while((len_read = ap_get_client_block(pRequest->get_request_rec(),
+ buf, sizeof(buf))) > 0) {
+ pRequest->rprintf("%s", apr_pstrndup(pRequest->pool(),
+ buf, len_read));
+ }
+ }
return OK;
}
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-15 18:42:33
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/handler
Modified Files:
test_handler.cpp
Log Message:
discard the body, cuz the data may get porked with keep alive on
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/handler/test_handler.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- test_handler.cpp 30 May 2001 04:49:29 -0000 1.4
+++ test_handler.cpp 15 Apr 2002 18:42:25 -0000 1.5
@@ -17,6 +17,7 @@
pRequest->rprintf("\nThis handler has dealt with %d hits", mHits);
pRequest->rputs("\nLets Dump The Request!\n");
pRequest->dump();
+ pRequest->discard_request_body();
return OK;
}
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-15 18:42:33
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : include
Dir : mod_cplusplus/include
Modified Files:
cpp_request.h
Log Message:
discard the body, cuz the data may get porked with keep alive on
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/include/cpp_request.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- cpp_request.h 19 Nov 2001 05:37:49 -0000 1.5
+++ cpp_request.h 15 Apr 2002 18:42:25 -0000 1.6
@@ -66,7 +66,9 @@
mRequest->content_type; }
const char *handler() { return mRequest->handler; }
const char *content_encoding() { return mRequest->content_encoding; }
-
+ int discard_request_body() {
+ return ap_discard_request_body(mRequest);
+ }
apr_array_header_t *content_languages()
{ return mRequest->content_languages; }
|
|
From: Mod C. C. L. <mod...@so...> - 2002-04-12 18:08:06
|
Mod Cplusplus CVS committal Author : gr84b8 Module : mod_cplusplus Dir : mod_cplusplus Modified Files: AUTHORS Log Message: add my email address to the authors file =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/AUTHORS,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- AUTHORS 14 May 2001 03:33:43 -0000 1.3 +++ AUTHORS 12 Apr 2002 17:47:49 -0000 1.4 @@ -1 +1 @@ -John K. Sterling +John K. Sterling <jo...@st...> |
|
From: Mod C. C. L. <mod...@so...> - 2002-03-29 23:13:29
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/output_filter
Modified Files:
test_output.cpp
Log Message:
update to synch up with filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/output_filter/test_output.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- test_output.cpp 30 May 2001 04:49:29 -0000 1.3
+++ test_output.cpp 29 Mar 2002 23:12:58 -0000 1.4
@@ -18,7 +18,8 @@
apr_bucket *input_bucket;
apr_bucket_brigade *new_brigade;
- new_brigade = apr_brigade_create(f->r->pool);
+ new_brigade = apr_brigade_create(f->r->pool,
+ f->c->bucket_alloc);
APR_BRIGADE_FOREACH(input_bucket,bb) {
const char *data;
apr_size_t len;
@@ -27,7 +28,7 @@
apr_bucket *new_bucket;
if(APR_BUCKET_IS_EOS(input_bucket)) {
- apr_bucket *eos_bucket = apr_bucket_eos_create();
+ apr_bucket *eos_bucket = apr_bucket_eos_create(f->c->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(new_brigade, eos_bucket);
break;
}
@@ -39,7 +40,8 @@
buf[n] = data[len - n -1];
}
- new_bucket = apr_bucket_pool_create(buf,len,f->r->pool);
+ new_bucket = apr_bucket_pool_create(buf,len,f->r->pool,
+ f->c->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(new_brigade, new_bucket);
}
return ap_pass_brigade(f->next, new_brigade);
|
|
From: Mod C. C. L. <mod...@so...> - 2002-03-29 23:13:29
|
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);
|
|
From: Mod C. C. L. <mod...@so...> - 2002-03-29 23:13:29
|
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);
}
|
|
From: Mod C. C. L. <mod...@so...> - 2002-03-29 23:13:29
|
Mod Cplusplus CVS committal Author : gr84b8 Module : mod_cplusplus Dir : mod_cplusplus Modified Files: configure.in Log Message: update to synch up with filter changes =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/configure.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- configure.in 4 Jun 2001 00:40:35 -0000 1.6 +++ configure.in 29 Mar 2002 23:12:58 -0000 1.7 @@ -8,6 +8,18 @@ AC_MSG_CHECKING(for httpd) AC_ARG_WITH(httpd, [ --with-httpd Specify path to httpd source directory ], [ + if test ! -f $withval/build/config_vars.mk; then + AC_MSG_ERROR($withval not a valid source or shadow dir) + fi + + if grep AP_DEBUG "$withval/build/config_vars.mk" > /dev/null; then + CPPFLAGS="$CPPFLAGS -DAP_DEBUG" + fi + if grep AP_HAVE_DESIGNATED_INITIALIZER "$withval/build/config_vars.mk" > /dev/null; then + CPPFLAGS="$CPPFLAGS -DAP_HAVE_DESIGNATED_INITIALIZER" + fi + + searchfile="$withval/include/httpd.h" if test -f $searchfile ; then HTTPD_DIR=`cd $withval; pwd` @@ -21,7 +33,7 @@ ]) CPLUSPLUS_BUILDDIR=`pwd` -CPPFLAGS="$CPPFLAGS -Wall -Werror -g -I$CPLUSPLUS_BUILDDIR/include" +CPPFLAGS="$CPPFLAGS -g -I$CPLUSPLUS_BUILDDIR/include" AC_SUBST(CPLUSPLUS_BUILDDIR) AC_SUBST(HTTPD_DIR) |
|
From: Mod C. C. L. <mod...@so...> - 2002-03-29 23:12:59
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : src
Dir : mod_cplusplus/src
Modified Files:
mod_cplusplus.c
Log Message:
update to synch up with filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/src/mod_cplusplus.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- mod_cplusplus.c 4 Jun 2001 00:40:35 -0000 1.14
+++ mod_cplusplus.c 29 Mar 2002 23:12:58 -0000 1.15
@@ -145,7 +145,7 @@
}
}
*cur_ptr = name;
- ap_register_input_filter(name, cpp_call_input_filter, AP_FTYPE_CONTENT);
+ ap_register_input_filter(name, cpp_call_input_filter, AP_FTYPE_CONNECTION);
return NULL;
}
@@ -165,7 +165,7 @@
}
}
*cur_ptr = name;
- ap_register_output_filter(name, cpp_call_output_filter, AP_FTYPE_CONTENT);
+ ap_register_output_filter(name, cpp_call_output_filter, AP_FTYPE_CONNECTION);
return NULL;
}
@@ -184,7 +184,7 @@
}
}
*cur_ptr = name;
- ap_register_input_filter(name, cpp_call_input_filter, AP_FTYPE_CONTENT);
+ ap_register_input_filter(name, cpp_call_input_filter, AP_FTYPE_RESOURCE);
return NULL;
}
@@ -202,7 +202,7 @@
}
}
*cur_ptr = name;
- ap_register_output_filter(name, cpp_call_output_filter, AP_FTYPE_CONTENT);
+ ap_register_output_filter(name, cpp_call_output_filter, AP_FTYPE_RESOURCE);
return NULL;
}
|
|
From: Mod C. C. L. <mod...@so...> - 2002-03-07 20:14:40
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : src
Dir : mod_cplusplus/src
Modified Files:
apache_filters.cpp
Log Message:
fix to match apache filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/src/apache_filters.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- apache_filters.cpp 22 Oct 2001 00:13:42 -0000 1.6
+++ apache_filters.cpp 7 Mar 2002 20:14:06 -0000 1.7
@@ -4,11 +4,13 @@
apr_status_t cpp_call_input_filter(ap_filter_t *f,
apr_bucket_brigade *b,
ap_input_mode_t eMode,
- apr_off_t *readbytes)
+ apr_read_type_e eBlock,
+ apr_off_t readbytes)
{
ApacheInputFilter *target = (ApacheInputFilter *)f->ctx;
- return f->r ? target->request_input_filter(f, b, eMode, readbytes)
- : target->connection_input_filter(f, b, eMode, readbytes);
+ return f->r ? target->request_input_filter(f, b, eMode, eBlock,
+ readbytes)
+ : target->connection_input_filter(f, b, eMode, eBlock, readbytes);
}
int cpp_call_output_filter(ap_filter_t *f,
@@ -20,7 +22,7 @@
}
- int cpp_insert_connection_filters(conn_rec *c)
+ int cpp_insert_connection_filters(conn_rec *c, void *csd)
{
cpp_server_rec *server_rec = (cpp_server_rec *)
ap_get_module_config(c->base_server->module_config,
|
|
From: Mod C. C. L. <mod...@so...> - 2002-03-07 20:14:40
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : include
Dir : mod_cplusplus/include
Modified Files:
apache_filters.h mod_cplusplus.h
Log Message:
fix to match apache filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/include/apache_filters.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- apache_filters.h 22 Oct 2001 00:13:42 -0000 1.4
+++ apache_filters.h 7 Mar 2002 20:14:06 -0000 1.5
@@ -8,12 +8,14 @@
virtual apr_status_t connection_input_filter(ap_filter_t *f,
apr_bucket_brigade *b,
ap_input_mode_t eMode,
- apr_off_t *readbytes)
+ apr_read_type_e eBlock,
+ apr_off_t readbytes)
{ return DECLINED; }
virtual apr_status_t request_input_filter(ap_filter_t *f,
apr_bucket_brigade *b,
ap_input_mode_t eMode,
- apr_off_t *readbytes)
+ apr_read_type_e eBlock,
+ apr_off_t readbytes)
{ return DECLINED; }
};
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/include/mod_cplusplus.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- mod_cplusplus.h 22 Oct 2001 00:13:42 -0000 1.10
+++ mod_cplusplus.h 7 Mar 2002 20:14:06 -0000 1.11
@@ -51,14 +51,15 @@
extern apr_status_t cpp_call_input_filter(ap_filter_t *f,
apr_bucket_brigade *b,
ap_input_mode_t eMode,
- apr_off_t *readbytes);
+ apr_read_type_e eBlock,
+ apr_off_t readbytes);
extern int cpp_call_output_filter(ap_filter_t *f,
apr_bucket_brigade *b);
extern void cpp_insert_request_filters(request_rec *r);
- extern int cpp_insert_connection_filters(conn_rec *c);
+ extern int cpp_insert_connection_filters(conn_rec *c, void *csd);
extern char *load_cpp_module(cpp_server_rec *server_rec,
const char *name, const char *path);
extern int cpp_call_process_connection(conn_rec *c);
|
|
From: Mod C. C. L. <mod...@so...> - 2002-03-07 20:14:40
|
Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/input_filter
Modified Files:
test_input.cpp test_input.h
Log Message:
fix to match apache filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/input_filter/test_input.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- test_input.cpp 11 Dec 2001 23:52:08 -0000 1.8
+++ test_input.cpp 7 Mar 2002 20:14:06 -0000 1.9
@@ -13,7 +13,8 @@
apr_status_t TestInputFilter::connection_input_filter(ap_filter_t *f,
apr_bucket_brigade *bb,
ap_input_mode_t eMode,
- apr_off_t *readbytes)
+ apr_read_type_e eBlock,
+ apr_off_t readbytes)
{
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, NULL,
"EXAMPLE modcplusplus input filter!!!!");
@@ -22,7 +23,8 @@
apr_bucket *output_bucket;
apr_bucket_brigade *input_brigade = apr_brigade_create(f->c->pool);
- apr_status_t ret = ap_get_brigade(f->next, input_brigade, eMode, readbytes);
+ apr_status_t ret = ap_get_brigade(f->next, input_brigade, eMode, eBlock,
+ readbytes);
if(ret != APR_SUCCESS) {
return ret;
}
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/input_filter/test_input.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- test_input.h 22 Oct 2001 00:13:42 -0000 1.3
+++ test_input.h 7 Mar 2002 20:14:06 -0000 1.4
@@ -11,6 +11,7 @@
~TestInputFilter(void);
apr_status_t connection_input_filter(ap_filter_t *f, apr_bucket_brigade *b,
ap_input_mode_t eMode,
- apr_off_t *readbytes);
+ apr_read_type_e eBlock,
+ apr_off_t readbytes);
};
|
|
From: <jo...@st...> - 2002-02-24 02:51:20
|
On Sat, 23 Feb 2002, Mod Cplusplus CVS List wrote: > Mod Cplusplus CVS committal > > Author : barbee- > Module : apr_cplusplus > Dir : apr_cplusplus > > > > Modified Files: > AUTHORS > > > Log Message: > i think i've done enough work to deserve to be put on this list. yup :) i'm pretty excited to have a partner in crime on all this stuff - i have been too busy lately to code much, but i'll be back into it soon. sterls > > =================================================================== > RCS file: /cvsroot/modcplusplus/apr_cplusplus/AUTHORS,v > retrieving revision 1.1.1.1 > retrieving revision 1.2 > diff -u -3 -r1.1.1.1 -r1.2 > --- AUTHORS 1 Nov 2001 08:27:38 -0000 1.1.1.1 > +++ AUTHORS 23 Feb 2002 21:16:28 -0000 1.2 > @@ -1 +1,2 @@ > John K. Sterling > +John Barbee > > > > _______________________________________________ > Modcplusplus-devel mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcplusplus-devel > |
|
From: Mod C. C. L. <mod...@so...> - 2002-02-23 21:21:43
|
Mod Cplusplus CVS committal Author : barbee- Module : apr_cplusplus Dir : apr_cplusplus Modified Files: ChangeLog Log Message: record my recent changes in the ChangeLog. =================================================================== RCS file: /cvsroot/modcplusplus/apr_cplusplus/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -3 -r1.1.1.1 -r1.2 --- ChangeLog 1 Nov 2001 08:27:38 -0000 1.1.1.1 +++ ChangeLog 23 Feb 2002 21:21:43 -0000 1.2 @@ -1 +1,12 @@ -new +19 Feb 2002 John Barbee <ba...@ve...> + + * Added APRTime. + +22 Feb 2002 John Barbee <ba...@ve...> + + * Added APRPath. + +23 Feb 2002 John Barbee <ba...@ve...> + + * Added APRAnyFile. + * Added APRDir. |
|
From: Mod C. C. L. <mod...@so...> - 2002-02-23 21:16:29
|
Mod Cplusplus CVS committal Author : barbee- Module : apr_cplusplus Dir : apr_cplusplus Modified Files: AUTHORS Log Message: i think i've done enough work to deserve to be put on this list. =================================================================== RCS file: /cvsroot/modcplusplus/apr_cplusplus/AUTHORS,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -3 -r1.1.1.1 -r1.2 --- AUTHORS 1 Nov 2001 08:27:38 -0000 1.1.1.1 +++ AUTHORS 23 Feb 2002 21:16:28 -0000 1.2 @@ -1 +1,2 @@ John K. Sterling +John Barbee |
|
From: Mod C. C. L. <mod...@so...> - 2002-02-23 21:15:52
|
Mod Cplusplus CVS committal
Author : barbee-
Project : apr_cplusplus
Module : test
Dir : apr_cplusplus/test
Modified Files:
test_anyfile.cpp
Log Message:
that sleep was just in there for debugging.
===================================================================
RCS file: /cvsroot/modcplusplus/apr_cplusplus/test/test_anyfile.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- test_anyfile.cpp 23 Feb 2002 04:09:36 -0000 1.1
+++ test_anyfile.cpp 23 Feb 2002 21:15:51 -0000 1.2
@@ -4,7 +4,6 @@
#include "apr.h"
#include "cpp_exception.h"
#include "cpp_anyfile.h"
-#include <unistd.h>
/* this test only works on unix */
static int test_info(apr_pool_t *pool) {
@@ -54,7 +53,6 @@
if (file->Perms() != newPerms) {
printf("Unable to update permissions. Is %d, should be %d.\n",
(int)(file->Perms()), (int)newPerms);
- sleep(10);
res = 1;
}
|