--- parser3/src/include/pa_http.h 2020/10/14 11:24:46 1.26 +++ parser3/src/include/pa_http.h 2020/12/15 10:25:16 1.28 @@ -8,7 +8,7 @@ #ifndef PA_HTTP_H #define PA_HTTP_H -#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.26 2020/10/14 11:24:46 moko Exp $" +#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.28 2020/12/15 10:25:16 moko Exp $" #include "pa_vstring.h" #include "pa_vint.h" @@ -106,6 +106,13 @@ public: class HTTPD_Server : public PA_Allocated { public: + enum HTTPD_MODE { + SEQUENTIAL, + PARALLEL, + MULTITHREADED + } static mode; + + static void set_mode(const String&); static int bind(const char *); };