--- parser3/src/include/pa_request.h 2002/12/19 10:17:41 1.159 +++ parser3/src/include/pa_request.h 2003/01/28 15:16:49 1.160.2.2 @@ -1,14 +1,14 @@ /** @file Parser: request class decl. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_REQUEST_H #define PA_REQUEST_H -static const char* IDENT_REQUEST_H="$Date: 2002/12/19 10:17:41 $"; +static const char* IDENT_REQUEST_H="$Date: 2003/01/28 15:16:49 $"; #include "pa_pool.h" #include "pa_hash.h" @@ -63,6 +63,8 @@ class Request : public Pooled { friend class Temp_request_self; public: + Pool& pool() { return fpool; } + #ifdef RESOURCES_DEBUG /// measures double sql_connect_time; @@ -83,7 +85,7 @@ public: bool mail_received; }; - Request(Pool& apool, + Request( Info& ainfo, uchar adefault_lang, ///< all tainted data default untainting lang bool status_allowed ///< status class allowed @@ -226,6 +228,9 @@ public: /// user's post data const char *post_data; size_t post_size; + /// source, client, mail charsets + Request_charsets charsets; + /// name of 'main' method const String main_method_name; @@ -253,6 +258,8 @@ public: private: + Pool fpool; + //@{ request processing status /// exception stack trace Stack exception_trace;