--- parser3/src/include/pa_sapi.h 2015/04/02 22:04:41 1.30 +++ parser3/src/include/pa_sapi.h 2020/08/13 11:44:20 1.34 @@ -1,14 +1,14 @@ /** @file Parser: web server api interface object decl. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_SAPI_H #define PA_SAPI_H -#define IDENT_PA_SAPI_H "$Id: pa_sapi.h,v 1.30 2015/04/02 22:04:41 moko Exp $" +#define IDENT_PA_SAPI_H "$Id: pa_sapi.h,v 1.34 2020/08/13 11:44:20 moko Exp $" // includes @@ -25,8 +25,6 @@ struct SAPI { static void log(SAPI_Info& info, const char* fmt, ...); /// log error message & exit static void die(const char* fmt, ...); - /// log error message & abort[write core] - static void abort(const char* fmt, ...); /// read POST request bytes static size_t read_post(SAPI_Info& info, char *buf, size_t max_bytes); /// add response header attribute [but do not send it to client] @@ -49,7 +47,7 @@ struct SAPI { const char* pair; const char* eq_at; public: - Iterator(SAPI_Info& asapi_info) { + Iterator(SAPI_Info& asapi_info) : pair(NULL), eq_at(NULL){ if(pairs=SAPI::Env::get(asapi_info)) next(); }