--- parser3/src/include/pa_request.h 2023/11/17 19:12:34 1.263 +++ parser3/src/include/pa_request.h 2024/09/22 13:56:09 1.266 @@ -8,7 +8,7 @@ #ifndef PA_REQUEST_H #define PA_REQUEST_H -#define IDENT_PA_REQUEST_H "$Id: pa_request.h,v 1.263 2023/11/17 19:12:34 moko Exp $" +#define IDENT_PA_REQUEST_H "$Id: pa_request.h,v 1.266 2024/09/22 13:56:09 moko Exp $" #include "pa_pool.h" #include "pa_hash.h" @@ -56,6 +56,7 @@ class VStateless_class; class VConsole; extern int pa_loop_limit; +extern int pa_array_limit; extern int pa_execute_recoursion_limit; extern int pa_httpd_timeout; extern size_t pa_file_size_limit; @@ -125,11 +126,11 @@ private: element_type bottom_value() { return get(bottom_index()); } void clear() { - fused=fbottom=0; + fsize=fbottom=0; } bool is_empty() { - return fused==fbottom; + return fsize==fbottom; } Table &table(Request &r); @@ -210,6 +211,7 @@ public: VStateless_class* get_class(const String& name); VStateless_class& get_class_ref(const String& name); void put_class(VStateless_class *aclass){ classes().put(aclass->type(), aclass); } + bool add_class(const char* atype, VStateless_class *aclass); /** core request processing