Mod Cplusplus CVS committal
Author : johnksterling
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/handler
Modified Files:
test_auth.cpp test_handler.cpp
Log Message:
update to remove rope dependency and update test suite so it runs :)
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/handler/test_auth.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- test_auth.cpp 30 May 2001 04:49:29 -0000 1.4
+++ test_auth.cpp 15 Aug 2003 22:46:02 -0000 1.5
@@ -16,9 +16,14 @@
const char *sent_pw;
result = pRequest->get_basic_auth_pw(&sent_pw);
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, NULL,
+ "got pw: %s", sent_pw);
if( !result ) {
require_user = get_cpp_var(pRequest, "user");
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, NULL,
+ "got pw: %s", require_user);
+
if( require_user ) {
char *sent_user = pRequest->user();
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, NULL,
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/handler/test_handler.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- test_handler.cpp 27 Aug 2002 03:35:51 -0000 1.11
+++ test_handler.cpp 15 Aug 2003 22:46:02 -0000 1.12
@@ -18,6 +18,7 @@
apr_status_t rc;
mHits++;
pRequest->dump();
+ pRequest->rprintf("BOO");
ap_setup_client_block(pRequest->get_request_rec(), REQUEST_CHUNKED_ERROR);
return OK;
}
|