From 1b7a57d7f88cab0a1968e8c886eac3629dc74617 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 17 Nov 2011 18:41:23 -0800 Subject: HTTP server's first real test, alongside multiple taskmanager threads. I'm not really sure I fully like the way I'm designing this, but I guess it could be solved with an HTTP/HTML helper class around the Action class. However, the HTTP server awfully need reference counting, so it doesn't go away before all of the workers disappear, which means a bit of a redesign of the Listener template. --- includes/BRegex.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'includes/BRegex.h') diff --git a/includes/BRegex.h b/includes/BRegex.h index 128597e..d7957bd 100644 --- a/includes/BRegex.h +++ b/includes/BRegex.h @@ -19,4 +19,10 @@ class Regex { regex_t m_regex; }; +class Regexes { + public: + static Regex any; + static Regex empty; +}; + }; -- cgit v1.2.3