--- parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/03/28 14:41:29 1.20 +++ parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/04/07 14:23:37 1.22 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: mod_parser3.C,v 1.20 2001/03/28 14:41:29 paf Exp $ + $Id: mod_parser3.C,v 1.22 2001/04/07 14:23:37 paf Exp $ */ #include "httpd.h" @@ -21,6 +21,9 @@ #include "pa_globals.h" #include "pa_request.h" #include "pa_version.h" +#include "pa_socks.h" + +/// @todo init_socks struct Parser_module_config { const char* parser_root_auto_path; /// filespec of admin's auto.p file @@ -133,7 +136,7 @@ void SAPI::send_header(Pool& pool) { ap_kill_timeout(r); } -void SAPI::send_body(Pool& pool, const char *buf, size_t size) { +void SAPI::send_body(Pool& pool, const void *buf, size_t size) { request_rec *r=static_cast(pool.context()); ap_hard_timeout("Send body", r); @@ -156,7 +159,7 @@ void SAPI::log(Pool& pool, const char *f /** main workhorse - @todo parser4: intelligent cache-control + @todo intelligent cache-control */ static int parser_handler(request_rec *r) {