From b72424fca7a6af6ff7921101c450850fef875152 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 6 Mar 2016 13:52:48 +0300 Subject: Support multiple instances of brep in a single Apache instance --- web/module | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'web/module') diff --git a/web/module b/web/module index 824551f..85896c3 100644 --- a/web/module +++ b/web/module @@ -86,6 +86,9 @@ namespace web public: using path_type = web::path; + virtual + ~request () = default; + // Corresponds to abs_path portion of HTTP URL as described in // "3.2.2 HTTP URL" of http://tools.ietf.org/html/rfc2616. // Returns '/' if no abs_path is present in URL. @@ -120,6 +123,9 @@ namespace web class response { public: + virtual + ~response () = default; + // Set status code, content type, and get the stream to write // the content to. If the buffer argument is true (default), // then buffer the entire content before sending it as a @@ -170,6 +176,9 @@ namespace web class log { public: + virtual + ~log () = default; + virtual void write (const char* msg) = 0; }; @@ -188,6 +197,9 @@ namespace web class module { public: + virtual + ~module () = default; + // Description of configuration options supported by this module. Note: // should be callable during static initialization. // -- cgit v1.1