--- parser3/src/include/pa_request_info.h 2016/12/13 20:24:13 1.13 +++ parser3/src/include/pa_request_info.h 2023/09/26 20:49:07 1.18 @@ -1,14 +1,18 @@ /** @file Parser: request info class decl. - Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #ifndef PA_REQUEST_INFO_H #define PA_REQUEST_INFO_H -#define IDENT_PA_REQUEST_INFO_H "$Id: pa_request_info.h,v 1.13 2016/12/13 20:24:13 moko Exp $" +#define IDENT_PA_REQUEST_INFO_H "$Id: pa_request_info.h,v 1.18 2023/09/26 20:49:07 moko Exp $" + +// include + +#include "pa_config_includes.h" /// some information from web server class Request_info { @@ -24,7 +28,6 @@ public: const char* cookie; char** argv; - int args_skip; bool mail_received; //@} //@{ these are filed by Request class itself: user's post data @@ -55,6 +58,10 @@ public: for(; *auri && *auri != '/'; auri++); return auri; } + + Request_info() { + memset(this, 0, sizeof(*this)); // OK as Request_info is POD + } }; #endif