--- parser3/src/targets/isapi/parser3isapi.C 2001/04/03 07:20:55 1.22 +++ parser3/src/targets/isapi/parser3isapi.C 2001/04/07 14:23:41 1.24 @@ -12,6 +12,9 @@ #include "pa_request.h" #include "pa_version.h" #include "pool_storage.h" +#include "pa_socks.h" + +/// @todo init_socks #define MAX_STATUS_LENGTH sizeof("xxxx LONGEST STATUS DESCRIPTION") @@ -97,7 +100,7 @@ void SAPI::add_header_attribute(Pool& po } } -/// @todo parser4: intelligent cache-control +/// @todo intelligent cache-control void SAPI::send_header(Pool& pool) { SAPI_func_context& ctx=*static_cast(pool.context()); @@ -134,12 +137,12 @@ void SAPI::send_header(Pool& pool) { HSE_REQ_SEND_RESPONSE_HEADER_EX, &header_info, NULL, NULL); } -void SAPI::send_body(Pool& pool, const char *buf, size_t size) { +void SAPI::send_body(Pool& pool, const void *buf, size_t size) { SAPI_func_context& ctx=*static_cast(pool.context()); DWORD num_bytes=size; ctx.lpECB->WriteClient(ctx.lpECB->ConnID, - const_cast(buf), &num_bytes, HSE_IO_SYNC); + const_cast(buf), &num_bytes, HSE_IO_SYNC); } // goes to 'cs-uri-query' log file field. webmaster: switch it ON[default OFF]. @@ -191,7 +194,7 @@ BOOL WINAPI GetExtensionVersion(HSE_VERS /** ISAPI // main workhorse - @todo parser4: + @todo IIS: remove trailing default-document[index.html] from $request.uri. to do that we need to consult metabase, wich is tested&works but seems slow runtime