|
|
| version 1.3, 2001/03/22 17:13:52 | version 1.5, 2001/03/22 18:29:14 |
|---|---|
| Line 6 | Line 6 |
| #include <process.h> | #include <process.h> |
| #include <httpext.h> | #include <httpext.h> |
| #include <httpfilt.h> | |
| #include <httpext.h> | |
| #include "pa_globals.h" | #include "pa_globals.h" |
| #include "pa_request.h" | #include "pa_request.h" |
| Line 121 static void send_header(Pool& pool) { | Line 119 static void send_header(Pool& pool) { |
| header_info.cchStatus=strlen(header_info.pszStatus); | header_info.cchStatus=strlen(header_info.pszStatus); |
| header_info.pszHeader=ctx.header->cstr(); | header_info.pszHeader=ctx.header->cstr(); |
| header_info.cchHeader=ctx.header->size(); | header_info.cchHeader=ctx.header->size(); |
| header_info.fKeepConn=true; | |
| ctx.lpECB->dwHttpStatusCode=ctx.http_response_code; | ctx.lpECB->dwHttpStatusCode=ctx.http_response_code; |
| Line 248 DWORD WINAPI HttpExtensionProc(LPEXTENSI | Line 247 DWORD WINAPI HttpExtensionProc(LPEXTENSI |
| // c:\windows | // c:\windows |
| root_auto_path=(char *)pool.malloc(MAX_STRING); | root_auto_path=(char *)pool.malloc(MAX_STRING); |
| GetWindowsDirectory(root_auto_path, MAX_STRING); | GetWindowsDirectory(root_auto_path, MAX_STRING); |
| /* | |
| char *fuck_it="fff"; | |
| DWORD num_bytes=strlen(fuck_it);; | |
| lpECB->WriteClient(lpECB->ConnID, fuck_it, &num_bytes, HSE_IO_SYNC); | |
| return HSE_STATUS_SUCCESS; | |
| */ | |
| // process the request | // process the request |
| request.core( | request.core( |
| root_auto_path, false/*may be abcent*/, // /path/to/admin/auto.p | root_auto_path, false/*may be abcent*/, // /path/to/admin/auto.p |