|
|
| version 1.78, 2001/05/15 11:36:15 | version 1.84, 2001/05/19 19:10:20 |
|---|---|
| Line 21 | Line 21 |
| #include "pa_socks.h" | #include "pa_socks.h" |
| #include "pa_version.h" | #include "pa_version.h" |
| //#define DEBUG_POOL_MALLOC | |
| /// IIS refuses to read bigger chunks | /// IIS refuses to read bigger chunks |
| const size_t READ_POST_CHUNK_SIZE=0x400*0x400; // 1M | const size_t READ_POST_CHUNK_SIZE=0x400*0x400; // 1M |
| Line 251 int main(int argc, char *argv[]) { | Line 254 int main(int argc, char *argv[]) { |
| // prepare to process request | // prepare to process request |
| Request request(pool, | Request request(pool, |
| request_info, | request_info, |
| cgi ? String::UL_USER_HTML : String::UL_AS_IS | true ||cgi ? String::UL_USER_HTML : String::UL_AS_IS |
| ); | ); |
| // some root-controlled location | // some root-controlled location |
| Line 278 int main(int argc, char *argv[]) { | Line 281 int main(int argc, char *argv[]) { |
| // | // |
| done_socks(); | done_socks(); |
| #ifdef DEBUG_POOL_MALLOC | |
| extern void log_pool_stats(Pool& pool); | extern void log_pool_stats(Pool& pool); |
| log_pool_stats(pool); | log_pool_stats(pool); |
| #endif | |
| // must be last in PTRY{}PCATCH | // must be last in PTRY{}PCATCH |
| #ifdef WIN32 | #ifdef WIN32 |