|
|
| version 1.20, 2001/03/28 14:41:32 | version 1.23, 2001/04/03 07:32:49 |
|---|---|
| Line 97 void SAPI::add_header_attribute(Pool& po | Line 97 void SAPI::add_header_attribute(Pool& po |
| } | } |
| } | } |
| /// @todo parser4: intelligent cache-control | /// @todo intelligent cache-control |
| void SAPI::send_header(Pool& pool) { | void SAPI::send_header(Pool& pool) { |
| SAPI_func_context& ctx=*static_cast<SAPI_func_context *>(pool.context()); | SAPI_func_context& ctx=*static_cast<SAPI_func_context *>(pool.context()); |
| Line 134 void SAPI::send_header(Pool& pool) { | Line 134 void SAPI::send_header(Pool& pool) { |
| HSE_REQ_SEND_RESPONSE_HEADER_EX, &header_info, NULL, NULL); | 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<SAPI_func_context *>(pool.context()); | SAPI_func_context& ctx=*static_cast<SAPI_func_context *>(pool.context()); |
| DWORD num_bytes=size; | DWORD num_bytes=size; |
| ctx.lpECB->WriteClient(ctx.lpECB->ConnID, | ctx.lpECB->WriteClient(ctx.lpECB->ConnID, |
| const_cast<char *>(buf), &num_bytes, HSE_IO_SYNC); | const_cast<void *>(buf), &num_bytes, HSE_IO_SYNC); |
| } | } |
| // goes to 'cs-uri-query' log file field. webmaster: switch it ON[default OFF]. | // goes to 'cs-uri-query' log file field. webmaster: switch it ON[default OFF]. |
| Line 191 BOOL WINAPI GetExtensionVersion(HSE_VERS | Line 191 BOOL WINAPI GetExtensionVersion(HSE_VERS |
| /** | /** |
| ISAPI // main workhorse | ISAPI // main workhorse |
| @todo parser4: | @todo |
| IIS: remove trailing default-document[index.html] from $request.uri. | IIS: remove trailing default-document[index.html] from $request.uri. |
| to do that we need to consult metabase, | to do that we need to consult metabase, |
| wich is tested&works but seems slow runtime | wich is tested&works but seems slow runtime |